mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
!boards: Remove NSH_ARCHINIT and board_app_initialize
BREAKING: In an effort to simplify NuttX initialization, NSH_ARCHINIT is removed. board_app_initialize is also removed. BOARD_LATE_INITIALIZE now performs all board initialization logic, and is by default enabled. All references to these symbols are removed. BOARDIOC_INIT remains, but will result in -ENOTTY when called. It is to be removed in a later commit. Quick fix: Boards relying on NSH_ARCHINIT should now enable CONFIG_BOARD_LATE_INITIALIZE instead. If the application needs fine-grained control over board initialization from userspace, the logic performed by BOARDIOC_INIT may be copied to the board_finalinitialize function and used instead via BOARDIOC_FINALINIT. All board_app_initialize logic provided by NuttX is now moved to board_late_initialize, and the same should be done for out-of-tree boards. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
8e91dd60a0
commit
48db502daf
1631 changed files with 579 additions and 2753 deletions
|
|
@ -178,3 +178,4 @@ libs/libc/tre-mem.c
|
|||
#define RTPROT_RA 9 /* RDISC/ND router advertisements */
|
||||
/* Followed by one or more ND options */
|
||||
* message using the Neighbor Discovery (ND) protocol. It then listens
|
||||
PIO DUE SCHEM. PIN MAPPING SAM3X DUE SCHEM. BOARD LABEL
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ LVGL application that executes NuttShell (NSH) commands entered with a
|
|||
Touchscreen Keyboard and displays the NSH output. Prerequisite configuration
|
||||
settings:
|
||||
|
||||
- ``CONFIG_NSH_ARCHINIT=n`` – NSH architecture initialization must be disabled.
|
||||
- ``CONFIG_NSH_CONSOLE=y`` – NSH must be configured to use a console.
|
||||
- ``CONFIG_LIBC_EXECFUNCS=y`` – posix_spawn() must be enabled.
|
||||
- ``CONFIG_PIPES=y`` – Pipes must be enabled.
|
||||
|
|
|
|||
|
|
@ -374,12 +374,6 @@ Configuration Description
|
|||
``CONFIG_NSH_TELNET`` If ``CONFIG_NSH_TELNET`` is set to *y*, then a TELNET server
|
||||
front-end is selected. When this option is provided, you may log
|
||||
into NuttX remotely using telnet in order to access NSH.
|
||||
|
||||
``CONFIG_NSH_ARCHINIT`` Set ``CONFIG_NSH_ARCHINIT`` if your board provides architecture
|
||||
specific initialization via the board-specific function
|
||||
``board_app_initialize()``. This function will be called early in
|
||||
NSH initialization to allow board logic to do such things as
|
||||
configure MMC/SD slots.
|
||||
=================================== ==================================
|
||||
|
||||
.. _nsh_vars_table:
|
||||
|
|
|
|||
|
|
@ -108,13 +108,6 @@ The NSH initialization function, ``nsh_initialize()``, be found in
|
|||
``apps/nshlib/rc.sysinit.template``. The resulting ROMFS file system can be
|
||||
found in ``apps/nshlib/nsh_romfsimg.h``.
|
||||
|
||||
#. ``board_app_initialize()``: Next any architecture-specific NSH
|
||||
initialization will be performed (if any). For the STM3240G-EVAL,
|
||||
this architecture specific initialization can be found at
|
||||
``boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c``. This it does
|
||||
things like: (1) Initialize SPI devices, (2) Initialize SDIO, and (3)
|
||||
mount any SD cards that may be inserted.
|
||||
|
||||
#. ``nsh_netinit()``: The ``nsh_netinit()`` function can be found in
|
||||
``apps/nshlib/nsh_netinit.c``.
|
||||
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@ Customizing NSH Initialization
|
|||
customize the NSH start-up behavior. Here they are presented in order of
|
||||
increasing difficulty:
|
||||
|
||||
#. You can extend the initialization logic in
|
||||
``boards/arm/stm32/stm3240g-eval/src/stm32_appinit.c``. The logic
|
||||
there is called each time that NSH is started and is good place in
|
||||
particular for any device-related initialization.
|
||||
|
||||
#. You replace the sample code at ``apps/examples/nsh/nsh_main.c`` with
|
||||
whatever start-up logic that you want. NSH is a library at
|
||||
``apps/nshlib``. ``apps.examples/nsh`` is just a tiny, example
|
||||
|
|
|
|||
|
|
@ -498,8 +498,7 @@ To enable this feature, set the following configuration options:
|
|||
CONFIG_TIMER=y
|
||||
CONFIG_TIMER_WDOG=y
|
||||
|
||||
Then call ``timer_wdog_initialize()`` from your board initialization code
|
||||
(typically in ``board_late_initialize()`` or ``board_app_initialize()``):
|
||||
Then call ``timer_wdog_initialize()`` from your board initialization code.
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
|
|
|
|||
|
|
@ -91,9 +91,6 @@ USB Host-Side Drivers
|
|||
registered USB host class driver to the USB host controller
|
||||
driver.
|
||||
|
||||
**Examples**: The function ``nsh_waiter()`` in the file
|
||||
``boards/arm/lpc17xx_40xx/olimex-lpc1766stk/src/lpc17_40_appinit.c``.
|
||||
|
||||
#. As part of its operation during the binding operation, the
|
||||
USB host class driver will register an instances of a
|
||||
standard NuttX driver under the ``/dev`` directory. To
|
||||
|
|
|
|||
|
|
@ -149,12 +149,10 @@ Why after putting my application on ENTRYPOINT it stops to work?
|
|||
----------------------------------------------------------------
|
||||
|
||||
When you replace the ENTRYPOINT from "nsh_main" to your application some
|
||||
initialization flow are changed, for instance the NSH_ARCHINIT is not
|
||||
executed anymore and so some drivers initialization that are called from
|
||||
it also stops to work.
|
||||
initialization flow are changed.
|
||||
|
||||
You can fix it enabling the Board Late Initialization that will replace the
|
||||
NSH_ARCHINIT to call those drivers initialization. Just enable it::
|
||||
You can fix it enabling the Board Late Initialization that will
|
||||
perform driver initialization. Just enable it::
|
||||
|
||||
RTOS Features --->
|
||||
RTOS hooks --->
|
||||
|
|
|
|||
|
|
@ -384,10 +384,6 @@ configuration from a "flat" to a protected build:
|
|||
mode for the protected build and ``CONFIG_BOARD_LATE_INITIALIZE``.
|
||||
See ``boards/arm/stm32/stm32f4discovery/src/up_boot.c`` for an
|
||||
example of such board initialization code.
|
||||
* ``CONFIG_NSH_ARCHINITIALIZE`` is not defined. The setting
|
||||
``CONFIG_NSH_ARCHINITIALIZE`` does not apply to the OS test
|
||||
configuration, however, this is noted here as an example
|
||||
of initialization that cannot be performed in the protected build.
|
||||
|
||||
Architecture-Specific Options:
|
||||
|
||||
|
|
|
|||
|
|
@ -182,10 +182,6 @@ Device Drivers -> USB Device Driver Support .
|
|||
=========================================== ===================================================
|
||||
Application Configuration -> NSH LIbrary .
|
||||
``CONFIG_NSH_USBDEV_TRACE=n`` Make sure that any built-in tracing from NSH is disabled.
|
||||
``CONFIG_NSH_ARCHINIT=y`` Enable this option only if your board-specific logic
|
||||
. has logic to automatically start the USB monitor.
|
||||
. Otherwise the USB monitor can be started or stopped
|
||||
. with the usbmon_start and usbmon_stop commands from the NSH console.
|
||||
=========================================== ===================================================
|
||||
|
||||
=============================================== ============================================
|
||||
|
|
|
|||
|
|
@ -459,7 +459,6 @@ SD Card Support
|
|||
CONFIG_SCHED_HPWORK=y
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, and
|
||||
CONFIG_BOARDCTL=y : Or
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
|
|
|
|||
|
|
@ -462,7 +462,6 @@ SD Card Support
|
|||
CONFIG_SCHED_HPWORK=y
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, and
|
||||
CONFIG_BOARDCTL=y : Or
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
|
|
|
|||
|
|
@ -490,5 +490,3 @@ Where <subdir> is one of the following:
|
|||
CONFIG_KINETIS_PORTEINTS=y : Enable PortE GPIO interrupts
|
||||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : Provide NSH initialization logic
|
||||
|
|
|
|||
|
|
@ -591,8 +591,6 @@ Where <subdir> is one of the following:
|
|||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Enable the NuttX workqueue
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : Provide NSH initialization logic
|
||||
|
||||
netnsh:
|
||||
------
|
||||
This is the same config then nsh, but it adds Ethernet support with the
|
||||
|
|
|
|||
|
|
@ -497,7 +497,6 @@ Where <subdir> is one of the following:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -1047,14 +1047,9 @@ This configuration directory will build the NuttShell.
|
|||
|
||||
Board Selection -> Common Board Options
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: Initialize the MMC/SD slot when NSH starts
|
||||
* ``CONFIG_NSH_MMCSDSLOTNO=0``: Only one MMC/SD slot, slot 0
|
||||
* ``CONFIG_NSH_MMCSDSPIPORTNO=0``: (does not really matter in this case)
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: Board has architecture-specific initialization
|
||||
|
||||
.. warning::
|
||||
|
||||
2013-7-2: SD card is not responding. All 0's received on SPI.
|
||||
|
|
|
|||
|
|
@ -458,10 +458,6 @@ Configuration enables both the serial and telnetd NSH interfaces.
|
|||
|
||||
* ``CONFIG_SCHED_WORKQUEUE=y``: Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: NSH board-initialization
|
||||
|
||||
.. warning::
|
||||
|
||||
* 2013-6-28: The touchscreen is functional.
|
||||
|
|
|
|||
|
|
@ -473,10 +473,6 @@ FLASH:
|
|||
Use care if you plan to use FAT long file name feature in a product; There
|
||||
are issues with certain Microsoft patents on the long file name technology.
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: NSH board-initialization
|
||||
|
||||
Board Selection
|
||||
|
||||
* ``CONFIG_SAM4EEK_AT25_BLOCKMOUNT=y``: Mounts AT25 for NSH
|
||||
|
|
@ -520,10 +516,6 @@ System Type -> ATSAM3/4 Peripheral Support
|
|||
|
||||
* ``CONFIG_SAM34_UDP=y``: Enable UDP Full Speed USB device
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: NSH board-initialization
|
||||
|
||||
Mass Storage Class
|
||||
------------------
|
||||
|
||||
|
|
@ -693,7 +685,6 @@ serial console in this configuration):
|
|||
Application Configuration -> NSH LIbrary:
|
||||
|
||||
* ``CONFIG_NSH_USBDEV_TRACE=n``: No builtin tracing from NSH
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
|
||||
|
|
@ -747,7 +738,6 @@ for the SD slot can be enabled with the following settings:
|
|||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: NSH board-initialization
|
||||
* ``CONFIG_NSH_MMCSDSLOTNO=0``: Only one slot, slot 0
|
||||
|
||||
After an SD card is successfully initialized, the block device ``/dev/mmcsd0``
|
||||
|
|
|
|||
|
|
@ -558,10 +558,6 @@ Board Selection -> SAM4L Xplained Pro Modules
|
|||
* ``CONFIG_SAM4L_XPLAINED_IOMODULE_EXT1=y``: In EXT1, or EXT2
|
||||
* ``CONFIG_SAM4L_XPLAINED_IOMODULE_EXT2=y``
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``: Board has architecture-specific initialization
|
||||
|
||||
.. note::
|
||||
|
||||
If you enable the I/O1 this configuration with USART0 as the console and with
|
||||
|
|
@ -687,10 +683,6 @@ Application Configuration -> Examples
|
|||
* ``CONFIG_EXAMPLES_SLCD_DEVNAME="/dev/slcd0"``
|
||||
* ``CONFIG_EXAMPLES_SLCD_BUFSIZE=64``
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
|
||||
* ``CONFIG_NSH_ARCHINIT=y``
|
||||
|
||||
.. note::
|
||||
|
||||
In order to use the segment LCD you *must* open the ``VLCD_A`` and
|
||||
|
|
|
|||
|
|
@ -1134,9 +1134,6 @@ AT25 Serial FLASH
|
|||
a lot, but at 20MHz, the behavior is not the same with all CM modules. This
|
||||
lower rate gives more predictable performance.
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Board Selection
|
||||
CONFIG_SAMA5D3XPLAINED_AT25_AUTOMOUNT=y : Mounts AT25 for NSH
|
||||
CONFIG_SAMA5D3XPLAINED_AT25_FTL=y : Create block driver for FAT
|
||||
|
|
@ -1231,9 +1228,6 @@ HSMCI Card Slots
|
|||
Library Routines
|
||||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Using the SD card
|
||||
-----------------
|
||||
|
||||
|
|
@ -1374,9 +1368,6 @@ USB High-Speed Device
|
|||
System Type -> ATSAMA5 Peripheral Support
|
||||
CONFIG_SAMA5_UDPHS=y : Enable UDPHS High Speed USB device
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Mass Storage Class
|
||||
------------------
|
||||
|
||||
|
|
@ -1471,7 +1462,6 @@ USB High-Speed Device
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -1515,8 +1505,6 @@ USB High-Speed Host
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
file1: CONFIG_USBHOST_ISOC_DISABLE=y
|
||||
|
||||
NOTE: When OHCI is selected, the SAMA5 will operate at 384MHz instead of
|
||||
|
|
@ -1553,9 +1541,6 @@ file1: CONFIG_USBHOST_ISOC_DISABLE=y
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
USB Hub Support
|
||||
----------------
|
||||
|
||||
|
|
@ -1665,7 +1650,6 @@ file1: CONFIG_USBHOST_ISOC_DISABLE=y
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -1821,9 +1805,6 @@ NAND Support
|
|||
|
||||
Defaults for ROM page table addresses should be okay
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Use architecture-specific initialization
|
||||
|
||||
NOTES:
|
||||
|
||||
1. WARNING: This will wipe out everything that you may have on the NAND
|
||||
|
|
@ -2868,7 +2849,6 @@ Shields
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick:
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -1176,9 +1176,6 @@ AT25 Serial FLASH
|
|||
a lot, but at 20MHz, the behavior is not the same with all CM modules. This
|
||||
lower rate gives more predictable performance.
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Board Selection
|
||||
CONFIG_SAMA5D3XEK_AT25_BLOCKMOUNT=y : Mounts AT25 for NSH
|
||||
CONFIG_SAMA5D3XEK_AT25_FTL=y : Create block driver for FAT
|
||||
|
|
@ -1276,9 +1273,6 @@ HSMCI Card Slots
|
|||
Library Routines
|
||||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Using the SD card
|
||||
-----------------
|
||||
|
||||
|
|
@ -1418,9 +1412,6 @@ USB High-Speed Device
|
|||
System Type -> ATSAMA5 Peripheral Support
|
||||
CONFIG_SAMA5_UDPHS=y : Enable UDPHS High Speed USB device
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Mass Storage Class
|
||||
------------------
|
||||
|
||||
|
|
@ -1508,7 +1499,6 @@ USB High-Speed Device
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -1552,9 +1542,6 @@ USB High-Speed Host
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
EHCI
|
||||
----
|
||||
|
||||
|
|
@ -1584,9 +1571,6 @@ USB High-Speed Host
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
USB Hub Support
|
||||
----------------
|
||||
|
||||
|
|
@ -1692,7 +1676,6 @@ USB High-Speed Host
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -1883,9 +1866,6 @@ NAND Support
|
|||
|
||||
Defaults for ROM page table addresses should be okay
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Use architecture-specific initialization
|
||||
|
||||
NOTES:
|
||||
|
||||
1. WARNING: This will wipe out everything that you may have on the NAND
|
||||
|
|
@ -2224,9 +2204,6 @@ AT24 Serial EEPROM
|
|||
CONFIG_AT24XX_SIZE=512 : Specifies the AT 24C512 part
|
||||
CONFIG_AT24XX_ADDR=0x53 : AT24 I2C address
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
File systems
|
||||
CONFIG_NXFFS=y : Enables the NXFFS file system
|
||||
CONFIG_NXFFS_PREALLOCATED=y : Required
|
||||
|
|
|
|||
|
|
@ -1533,9 +1533,6 @@ AT25 Serial FLASH
|
|||
a lot, but at 20MHz, the behavior is not the same with all CM modules. This
|
||||
lower rate gives more predictable performance.
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Board Selection
|
||||
CONFIG_SAMA5D4EK_AT25_BLOCKMOUNT=y : Mounts AT25 for NSH
|
||||
CONFIG_SAMA5D4EK_AT25_FTL=y : Create block driver for FAT
|
||||
|
|
@ -1643,7 +1640,6 @@ HSMCI Card Slots
|
|||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, OR
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
Using the SD card
|
||||
|
|
@ -1788,9 +1784,6 @@ USB High-Speed Device
|
|||
System Type -> ATSAMA5 Peripheral Support
|
||||
CONFIG_SAMA5_UDPHS=y : Enable UDPHS High Speed USB device
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Mass Storage Class
|
||||
------------------
|
||||
|
||||
|
|
@ -1878,7 +1871,6 @@ USB High-Speed Device
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -1922,9 +1914,6 @@ USB High-Speed Host
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
EHCI
|
||||
----
|
||||
|
||||
|
|
@ -1957,9 +1946,6 @@ USB High-Speed Host
|
|||
CONFIG_SCHED_WORKQUEUE=y : High priority worker thread support is required
|
||||
CONFIG_SCHED_HPWORK=y :
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
USB Hub Support
|
||||
----------------
|
||||
|
||||
|
|
@ -2070,7 +2056,6 @@ USB High-Speed Host
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
@ -2226,9 +2211,6 @@ NAND Support
|
|||
|
||||
Defaults for ROM page table addresses should be okay
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Use architecture-specific initialization
|
||||
|
||||
NOTES:
|
||||
|
||||
1. WARNING: This will wipe out everything that you may have on the NAND
|
||||
|
|
|
|||
|
|
@ -763,9 +763,6 @@ Configuration sub-directories
|
|||
CONFIG_SAMD20_XPLAINED_IOMODULE=y : I/O1 module is connected
|
||||
CONFIG_SAMD20_XPLAINED_IOMODULE_EXT1=y : I/O1 modules is in EXT1
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Board has architecture-specific initialization
|
||||
|
||||
NOTE: If you enable the I/O1 this configuration with SERCOM4 as the
|
||||
console and with the I/O1 module in EXT1, you *must* remove USART
|
||||
jumper. Otherwise, you have lookpack on SERCOM4 and NSH will *not*
|
||||
|
|
|
|||
|
|
@ -636,9 +636,6 @@ Configuration sub-directories
|
|||
CONFIG_SAMD21_XPLAINED_IOMODULE=y : I/O1 module is connected
|
||||
CONFIG_SAMD21_XPLAINED_IOMODULE_EXT1=y : I/O1 modules is in EXT1
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Board has architecture-specific initialization
|
||||
|
||||
NOTE: If you enable the I/O1 this configuration with SERCOM4 as the
|
||||
console and with the I/O1 module in EXT1, you *must* remove USART
|
||||
jumper. Otherwise, you have lookpack on SERCOM4 and NSH will *not*
|
||||
|
|
|
|||
|
|
@ -797,9 +797,6 @@ Configuration sub-directories
|
|||
CONFIG_SAML21_XPLAINED_IOMODULE=y : I/O1 module is connected
|
||||
CONFIG_SAML21_XPLAINED_IOMODULE_EXT2=y : I/O1 modules is in EXT2
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Board has architecture-specific initialization
|
||||
|
||||
NOTE: If you enable the I/O1 this configuration with SERCOM4 as the
|
||||
console and with the I/O1 module in EXT1, you *must* remove USART
|
||||
jumper. Otherwise, you have lookback on SERCOM4 and NSH will *not*
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ the SD slots can be enabled with the following settings:
|
|||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, OR
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
Using the SD card
|
||||
|
|
|
|||
|
|
@ -174,7 +174,6 @@ the SD slots can be enabled with the following settings:
|
|||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, OR
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
Using the SD card
|
||||
|
|
|
|||
|
|
@ -263,7 +263,6 @@ enabled with the following settings:
|
|||
|
||||
``Application Configuration -> NSH Library``::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization, OR
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
|
||||
Using the SD card
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@ the SD slots can be enabled with the following settings:
|
|||
- ``CONFIG_SCHED_WORKQUEUE=y`` : Driver needs work queue support
|
||||
|
||||
- Application Configuration -> NSH Library
|
||||
- ``CONFIG_NSH_ARCHINIT=y`` : NSH board-initialization, OR
|
||||
- ``CONFIG_BOARD_LATE_INITIALIZE=y``
|
||||
|
||||
The lower-half of this driver is initialized by calling :c:func:`sdio_initialize`.
|
||||
|
|
|
|||
|
|
@ -417,8 +417,6 @@ Differences between the two NSH configurations::
|
|||
nsh> mount -t vfat /dev/mmcsd0 /mnt/sdcard # Restore the mount
|
||||
|
||||
Failure to do this could result in corruption of the SD card format.
|
||||
(5) Option CONFIG_NSH_ARCHINIT must be enabled in order to call the SDIO slot
|
||||
initialization code.
|
||||
|
||||
usbmsc
|
||||
------
|
||||
|
|
@ -454,7 +452,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -186,9 +186,6 @@ configuration options::
|
|||
CONFIG_LIBM=y
|
||||
CONFIG_LIBC_FLOATINGPOINT=y
|
||||
|
||||
Applications -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Applications -> System Add-Ons
|
||||
CONFIG_SYSTEM_LM75=y
|
||||
CONFIG_SYSTEM_LM75_DEVNAME="/dev/temp"
|
||||
|
|
|
|||
|
|
@ -323,7 +323,6 @@ NOTES:
|
|||
CONFIG_USBDEV=y : USB device support must be enabled
|
||||
CONFIG_CDCACM=y : The CDC/ACM driver must be built
|
||||
CONFIG_NSH_BUILTIN_APPS=y : NSH built-in application support must be enabled
|
||||
CONFIG_NSH_ARCHINIT=y : To perform USB initialization
|
||||
|
||||
8. Using the USB console.
|
||||
|
||||
|
|
@ -426,7 +425,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -891,7 +891,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -283,9 +283,6 @@ Configuration (STM32F103 only)
|
|||
Library Routines
|
||||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Using the SD card
|
||||
-----------------
|
||||
|
||||
|
|
@ -418,7 +415,6 @@ enabled support for the barometer::
|
|||
Drivers -> Sensors
|
||||
CONFIG_SENSORS=y
|
||||
CONFIG_SENSORS_MPL115A=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Note: this driver uses SPI3 then since PB3 pin is also use to JTAG TDO you
|
||||
need to disable JTAG support to get this driver working::
|
||||
|
|
@ -769,7 +765,6 @@ todo::
|
|||
support the MAX3421E:
|
||||
|
||||
CONFIG_EXPERIMENTAL=y # EXPERIMENTAL required for now (might change)
|
||||
CONFIG_NSH_ARCHINIT=y # Board level initialization required
|
||||
CONFIG_STM32_SPI1=y # SPI for the MAX3421E (could use SPI2)
|
||||
CONFIG_USBHOST=y # General USB host support
|
||||
CONFIG_USBHOST_ISOC_DISABLE=y # Does not support Isochronous endpoints
|
||||
|
|
|
|||
|
|
@ -399,8 +399,6 @@ Enable the application configurations that you want to use. As examples::
|
|||
|
||||
CONFIG_SCHED_WORKQUEUE : Worker thread support is required for the mass
|
||||
storage class (both host and device).
|
||||
CONFIG_NSH_ARCHINIT : Architecture specific USB initialization
|
||||
is needed
|
||||
|
||||
11. This configuration requires that jumper JP22 be set to enable RS-232 operation.
|
||||
|
||||
|
|
|
|||
|
|
@ -194,7 +194,6 @@ NOTES:
|
|||
CONFIG_USBDEV=y : USB device support must be enabled
|
||||
CONFIG_CDCACM=y : The CDC/ACM driver must be built
|
||||
CONFIG_NSH_BUILTIN_APPS=y : NSH built-in application support must be enabled
|
||||
CONFIG_NSH_ARCHINIT=y : To perform USB initialization
|
||||
|
||||
The CDC/ACM example is included as two NSH "built-in" commands.::
|
||||
|
||||
|
|
@ -299,7 +298,6 @@ NOTES:
|
|||
|
||||
Application Configuration -> NSH LIbrary::
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons::
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
|
|||
|
|
@ -362,8 +362,6 @@ summarized below:
|
|||
7. Initialization hooks are provided to enable the MRF24J40 and to
|
||||
register the radio character driver.
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
8. Configuration instructions: WPAN configuration must be performed
|
||||
using the i8sak program. Detailed instructions are provided in a
|
||||
README.txt file at apps/wireless/ieee802154/i8sak. You should make
|
||||
|
|
@ -776,7 +774,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -348,7 +348,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -320,7 +320,6 @@ There is nothing in the configuration that currently uses the joystick.
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -320,7 +320,6 @@ There is nothing in the configuration that currently uses the joystick.
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -319,7 +319,6 @@ There is nothing in the configuration that currently uses the joystick.
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -107,10 +107,6 @@ Library Routines::
|
|||
|
||||
CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support
|
||||
|
||||
Application Configuration -> NSH Library::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
Using the SD card
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
|
|
@ -601,8 +601,6 @@ NOTES:
|
|||
CONFIG_STM32_SYSCFG=y : Needed for all USB OTF FS support
|
||||
CONFIG_SCHED_WORKQUEUE=y : Worker thread support is required for the mass
|
||||
storage class driver.
|
||||
CONFIG_NSH_ARCHINIT=y : Architecture specific USB initialization
|
||||
is needed for NSH
|
||||
CONFIG_FS_FAT=y : Needed by the USB host mass storage class.
|
||||
|
||||
With those changes, you can use NSH with a FLASH pen driver as shown
|
||||
|
|
|
|||
|
|
@ -459,7 +459,6 @@ NOTES:
|
|||
CONFIG_USBDEV=y : USB device support must be enabled
|
||||
CONFIG_CDCACM=y : The CDC/ACM driver must be built
|
||||
CONFIG_NSH_BUILTIN_APPS=y : NSH built-in application support must be enabled
|
||||
CONFIG_NSH_ARCHINIT=y : To perform USB initialization
|
||||
|
||||
8. Using the USB console.
|
||||
|
||||
|
|
@ -541,11 +540,7 @@ NOTES:
|
|||
CONFIG_FS_FAT=y : Needed by the USB host mass storage class.
|
||||
|
||||
Board Selection ->
|
||||
CONFIG_BOARDCTL=y : Needed for CONFIG_NSH_ARCHINIT
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Architecture specific USB initialization
|
||||
: is needed for NSH
|
||||
CONFIG_BOARDCTL=y
|
||||
|
||||
With those changes, you can use NSH with a FLASH pen driver as shown
|
||||
belong. Here NSH is started with nothing in the USB host slot:
|
||||
|
|
|
|||
|
|
@ -1646,7 +1646,6 @@ NOTES:
|
|||
CONFIG_USBDEV=y : USB device support must be enabled
|
||||
CONFIG_CDCACM=y : The CDC/ACM driver must be built
|
||||
CONFIG_NSH_BUILTIN_APPS=y : NSH built-in application support must be enabled
|
||||
CONFIG_NSH_ARCHINIT=y : To perform USB initialization
|
||||
|
||||
7. Using the USB console.
|
||||
|
||||
|
|
@ -1728,11 +1727,7 @@ NOTES:
|
|||
CONFIG_FS_FAT=y : Needed by the USB host mass storage class.
|
||||
|
||||
Board Selection ->
|
||||
CONFIG_BOARDCTL=y : Needed for CONFIG_NSH_ARCHINIT
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : Architecture specific USB initialization
|
||||
: is needed for NSH
|
||||
CONFIG_BOARDCTL=y
|
||||
|
||||
With those changes, you can use NSH with a FLASH pen driver as shown
|
||||
belong. Here NSH is started with nothing in the USB host slot::
|
||||
|
|
@ -2273,7 +2268,6 @@ NOTES:
|
|||
CONFIG_USBDEV_TRACE=y : Enable USB trace feature
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=128 : Buffer 128 records in memory
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
CONFIG_USBMONITOR_STACKSIZE=2048 : USB monitor daemon stack size
|
||||
CONFIG_USBMONITOR_PRIORITY=50 : USB monitor daemon priority
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ Since this board is so generic, having a quick way to set the SPI
|
|||
configuration seams in order. So the board provides a quick test
|
||||
that can be selected vi CONFIG_NUCLEO_SPI_TEST that will initialize
|
||||
the selected buses (SPI1-SPI3) and send some text on the bus at
|
||||
application initialization time board_app_initialize.
|
||||
application initialization time.
|
||||
|
||||
SDIO
|
||||
----
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ Since this board is so generic, having a quick way to set the SPI
|
|||
configuration seams in order. So the board provides a quick test
|
||||
that can be selected vi CONFIG_NUCLEO_SPI_TEST that will initialize
|
||||
the selected buses (SPI1-SPI3) and send some text on the bus at
|
||||
application initialization time board_app_initialize.
|
||||
application initialization time.
|
||||
|
||||
SDIO
|
||||
----
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ Since this board is so generic, having a quick way to set the SPI
|
|||
configuration seams in order. So the board provides a quick test
|
||||
that can be selected vi CONFIG_NUCLEO_SPI_TEST that will initialize
|
||||
the selected buses (SPI1-SPI3) and send some text on the bus at
|
||||
application initialization time board_app_initialize.
|
||||
application initialization time.
|
||||
|
||||
SDIO
|
||||
----
|
||||
|
|
|
|||
|
|
@ -382,7 +382,6 @@ The builtin SPI test facility can be enabled with the following settings::
|
|||
+CONFIG_NUCLEO_SPI3_TEST_MODE3=y
|
||||
|
||||
+CONFIG_BOARDCTL=y
|
||||
+CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Development Environment
|
||||
=======================
|
||||
|
|
|
|||
|
|
@ -318,7 +318,6 @@ NOTES:
|
|||
Application Configuration -> NSH Library::
|
||||
|
||||
CONFIG_NSH_BUILTIN_APPS=y : Enable builtin apps in NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Needed to initialize the SLCD
|
||||
|
||||
Application Configuration -> Examples::
|
||||
|
||||
|
|
|
|||
|
|
@ -470,7 +470,6 @@ There is nothing in the configuration that currently uses the joystick.
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ Since this board is so generic, having a quick way to vet the SPI
|
|||
configuration seams in order. So the board provides a quick test
|
||||
that can be selected vi CONFIG_NUCLEO_SPI_TEST that will initialize
|
||||
the selected buses (SPI1-SPI3) and send some text on the bus at
|
||||
application initialization time board_app_initialize.
|
||||
application initialization time.
|
||||
|
||||
SDIO
|
||||
----
|
||||
|
|
|
|||
|
|
@ -336,7 +336,6 @@ There is nothing in the configuration that currently uses the joystick.
|
|||
For testing, you can add the following configuration options to enable the
|
||||
analog joystick example at apps/examples/ajoystick::
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK=y
|
||||
CONFIG_EXAMPLES_AJOYSTICK_DEVNAME="/dev/ajoy0"
|
||||
|
||||
|
|
|
|||
|
|
@ -494,9 +494,6 @@ Temperature Sensor
|
|||
CONFIG_SENSORS_LM75=y
|
||||
CONFIG_LM75_I2C=y
|
||||
|
||||
Applications -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Then you can implement logic like the following to use the temperature sensor:
|
||||
|
||||
#include <nuttx/sensors/lm75.h>
|
||||
|
|
@ -524,9 +521,6 @@ Temperature Sensor
|
|||
CONFIG_LIBM=y
|
||||
CONFIG_LIBC_FLOATINGPOINT=y
|
||||
|
||||
Applications -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
Applications -> System Add-Ons
|
||||
CONFIG_SYSTEM_LM75=y
|
||||
CONFIG_SYSTEM_LM75_DEVNAME="/dev/temp"
|
||||
|
|
|
|||
|
|
@ -116,9 +116,6 @@ AT24 Serial EEPROM
|
|||
CONFIG_AT24XX_SIZE=512 : Specifies the AT 24C512 part
|
||||
CONFIG_AT24XX_ADDR=0x53 : AT24 I2C address
|
||||
|
||||
Application Configuration -> NSH Library
|
||||
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
|
||||
|
||||
File systems
|
||||
CONFIG_NXFFS=y : Enables the NXFFS file system
|
||||
CONFIG_NXFFS_PREALLOCATED=y : Required
|
||||
|
|
|
|||
|
|
@ -913,7 +913,6 @@ Where <subdir> is one of the following:
|
|||
CONFIG_SST25_SECTOR512=y
|
||||
CONFIG_DISABLE_MOUNTPOINT=n
|
||||
CONFIG_FS_NXFFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
4. Many operating system features are suppressed to produce a smaller
|
||||
footprint.
|
||||
|
|
|
|||
|
|
@ -617,7 +617,6 @@ Where <subdir> is one of the following:
|
|||
SD card support is built into this example by default:
|
||||
|
||||
CONFIG_PIC32MX_SPI1=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
The SD card can be mounted from the NSH command line as follows:
|
||||
|
||||
|
|
|
|||
|
|
@ -738,9 +738,6 @@ Where <subdir> is one of the following:
|
|||
|
||||
To enable apps/examples/slcd to test the LCD:
|
||||
|
||||
Application Configuration -> NSH Library:
|
||||
CONFIG_NSH_ARCHINIT=y : Needed to initialize the SLCD
|
||||
|
||||
Application Configuration -> Examples:
|
||||
CONFIG_EXAMPLES_SLCD=y : Enable apps/examples/slcd use /dev/lcd1602
|
||||
CONFIG_EXAMPLES_SLCD_DEVNAME="/dev/lcd1602"
|
||||
|
|
@ -855,7 +852,6 @@ Where <subdir> is one of the following:
|
|||
|
||||
Application Configuration -> NSH LIbrary:
|
||||
CONFIG_NSH_USBDEV_TRACE=n : No builtin tracing from NSH
|
||||
CONFIG_NSH_ARCHINIT=y : Automatically start the USB monitor
|
||||
|
||||
Application Configuration -> System NSH Add-Ons:
|
||||
CONFIG_USBMONITOR=y : Enable the USB monitor daemon
|
||||
|
|
|
|||
|
|
@ -42,24 +42,6 @@ implementing the :c:func:`board_ioctl` interface.
|
|||
System state control
|
||||
--------------------
|
||||
|
||||
.. c:macro:: BOARDIOC_INIT
|
||||
|
||||
Perform one-time application initialization.
|
||||
|
||||
:Argument: The argument is passed to the
|
||||
:c:func:`board_app_initialize` implementation without modification.
|
||||
The argument has no meaning to NuttX; the meaning of the
|
||||
argument is a contract between the board-specific
|
||||
initialization logic and the matching application logic.
|
||||
The value could be such things as a mode enumeration value,
|
||||
a set of DIP switch switch settings, a pointer to
|
||||
configuration data read from a file or serial FLASH, or
|
||||
whatever you would like to do with it. Every
|
||||
implementation should accept zero/NULL as a default
|
||||
configuration.
|
||||
|
||||
:Dependencies: Board logic must provide :c:func:`board_app_initialize`.
|
||||
|
||||
.. c:macro:: BOARDIOC_POWEROFF
|
||||
|
||||
Power off the board
|
||||
|
|
|
|||
1
LICENSE
1
LICENSE
|
|
@ -3216,7 +3216,6 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
boards/arm/lpc2378/olimex-lpc2378/include/board.h
|
||||
boards/arm/lpc2378/olimex-lpc2378/src/lpc2378_appinit.c
|
||||
boards/arm/lpc2378/olimex-lpc2378/src/lpc2378_leds.c
|
||||
boards/arm/lpc2378/olimex-lpc2378/scripts/ld.script
|
||||
=======================================================
|
||||
|
|
|
|||
|
|
@ -503,16 +503,14 @@ int scu_i2ctransfer(int port, int slave, uint16_t *inst, uint32_t nr_insts,
|
|||
|
||||
/* Initialize SCU
|
||||
*
|
||||
* warning: This API called from board_app_initialize().
|
||||
* Do not call this API from each sensor drivers.
|
||||
* WARNING: Do not call this API from each sensor drivers.
|
||||
*/
|
||||
|
||||
void scu_initialize(void);
|
||||
|
||||
/* Uninitialize SCU
|
||||
*
|
||||
* warning: This API called from board_app_initialize().
|
||||
* Do not call this API from each sensor drivers.
|
||||
* WARNING: Do not call this API from each sensor drivers.
|
||||
*/
|
||||
|
||||
void scu_uninitialize(void);
|
||||
|
|
|
|||
|
|
@ -36,12 +36,8 @@
|
|||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_BOARD_LATE_INITIALIZE) && !defined(CONFIG_NSH_ARCHINIT)
|
||||
# error CONFIG_BOARD_LATE_INITIALIZE or CONFIG_NSH_ARCHINIT is required for late initialization
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_BOARD_LATE_INITIALIZE) && defined(CONFIG_NSH_ARCHINIT)
|
||||
# error CONFIG_BOARD_LATE_INITIALIZE and CONFIG_NSH_ARCHINIT can not be defined at the same time
|
||||
#if !defined(CONFIG_BOARD_LATE_INITIALIZE)
|
||||
# error CONFIG_BOARD_LATE_INITIALIZE is required for late initialization
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
@ -102,7 +98,6 @@ void board_late_initialize(void)
|
|||
#ifdef CONFIG_LIB_BOARDCTL
|
||||
int board_app_initialize(uintptr_t arg)
|
||||
{
|
||||
# ifdef CONFIG_NSH_ARCHINIT
|
||||
/* Perform the arch late initialization */
|
||||
|
||||
ceva_lateinitialize();
|
||||
|
|
@ -110,7 +105,6 @@ int board_app_initialize(uintptr_t arg)
|
|||
/* Perform the board late initialization */
|
||||
|
||||
board_lateinitialize();
|
||||
# endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5270,8 +5270,7 @@ config BOARDCTL
|
|||
bool "Enable boardctl() interface"
|
||||
default n
|
||||
---help---
|
||||
Enables support for the boardctl() interface. Architecture
|
||||
specific logic must provide board_app_initialize() interface.
|
||||
Enables support for the boardctl() interface.
|
||||
|
||||
if BOARDCTL
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ CONFIG_AT32_ADC1=y
|
|||
CONFIG_AT32_JTAG_SW_ENABLE=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_ADC=y
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ CONFIG_AT32_CAN1=y
|
|||
CONFIG_AT32_JTAG_SW_ENABLE=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_CAN=y
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ CONFIG_AT32_CAN_SOCKET=y
|
|||
CONFIG_AT32_JTAG_SW_ENABLE=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_CAN=y
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ CONFIG_AT32_PHYSR_ALTMODE=0x001c
|
|||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_RMII_EXTCLK=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_ETH0_PHY_LAN8720=y
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ CONFIG_AT32_OTGFS=y
|
|||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_AT32_USBHOST=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ CONFIG_ARCH_STACKDUMP=y
|
|||
CONFIG_AT32_JTAG_SW_ENABLE=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ CONFIG_AT32_TIM20=y
|
|||
CONFIG_AT32_TIM20_CH1OUT=y
|
||||
CONFIG_AT32_TIM20_PWM=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ CONFIG_AT32_PWR=y
|
|||
CONFIG_AT32_RTC=y
|
||||
CONFIG_AT32_RTC_LSICLOCK=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ CONFIG_AT32_JTAG_SW_ENABLE=y
|
|||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_SDIO=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ CONFIG_ARCH_STACKDUMP=y
|
|||
CONFIG_AT32_JTAG_SW_ENABLE=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DRIVERS_NOTE=y
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ CONFIG_AT32_OTGFS=y
|
|||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARDCTL_USBDEVCTRL=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_CDCACM=y
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ CONFIG_AT32_JTAG_SW_ENABLE=y
|
|||
CONFIG_AT32_OTGFS=y
|
||||
CONFIG_AT32_PWR=y
|
||||
CONFIG_AT32_USART1=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=26145
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_CDCACM=y
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ CONFIG_ARCH_CHIP="csk6"
|
|||
CONFIG_ARCH_CHIP_CSK6=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
CONFIG_ARMV8M_SYSTICK=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=16717
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEBUG_FEATURES=y
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ CONFIG_FS_PROCFS_REGISTER=y
|
|||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INIT_ENTRYPOINT="spresense_main"
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_NX=y
|
||||
|
|
|
|||
|
|
@ -66,7 +66,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_NX=y
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ CONFIG_NETUTILS_WEBCLIENT=y
|
|||
CONFIG_NET_IPv6=y
|
||||
CONFIG_NET_USRSOCK=y
|
||||
CONFIG_NET_USRSOCK_UDP=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ CONFIG_FS_PROCFS_REGISTER=y
|
|||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INIT_ENTRYPOINT="spresense_main"
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ CONFIG_FS_PROCFS_REGISTER=y
|
|||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INIT_ENTRYPOINT="spresense_main"
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ CONFIG_FS_PROCFS_REGISTER=y
|
|||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INIT_ENTRYPOINT="spresense_main"
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ CONFIG_NET_TCP=y
|
|||
CONFIG_NET_TCP_WRITE_BUFFERS=y
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_NFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILE_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ CONFIG_NET_TCP=y
|
|||
CONFIG_NET_TCP_WRITE_BUFFERS=y
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_NFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILE_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ CONFIG_AUDIO=y
|
|||
CONFIG_AUDIO_CXD56=y
|
||||
CONFIG_BOARDCTL_RESET=y
|
||||
CONFIG_BOARDCTL_USBDEVCTRL=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=5434
|
||||
CONFIG_BOOT_RUNFROMISRAM=y
|
||||
CONFIG_BUILTIN=y
|
||||
|
|
@ -98,7 +97,6 @@ CONFIG_NET_STATISTICS=y
|
|||
CONFIG_NET_TCP=y
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_NFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILE_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ CONFIG_ARCH_INTERRUPTSTACK=2048
|
|||
CONFIG_ARCH_LEDS_CPU_ACTIVITY=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
CONFIG_BOARDCTL_RESET=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=5434
|
||||
CONFIG_BOOT_RUNFROMISRAM=y
|
||||
CONFIG_BUILTIN=y
|
||||
|
|
@ -35,7 +34,6 @@ CONFIG_FS_PROCFS_REGISTER=y
|
|||
CONFIG_HAVE_CXX=y
|
||||
CONFIG_HAVE_CXXINITIALIZE=y
|
||||
CONFIG_INIT_ENTRYPOINT="spresense_main"
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ CONFIG_MTD_SMART=y
|
|||
CONFIG_MTD_SMART_ENABLE_CRC=y
|
||||
CONFIG_MTD_SMART_SECTOR_SIZE=4096
|
||||
CONFIG_NAME_MAX=128
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
|
|
|
|||
|
|
@ -104,7 +104,6 @@ CONFIG_NET_USRSOCK=y
|
|||
CONFIG_NET_USRSOCK_PREALLOC_CONNS=16
|
||||
CONFIG_NET_USRSOCK_UDP=y
|
||||
CONFIG_NFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_DISABLE_IFUPDOWN=y
|
||||
CONFIG_NSH_DISABLE_NSLOOKUP=y
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ CONFIG_ARCH_STACKDUMP=y
|
|||
CONFIG_AUDIO=y
|
||||
CONFIG_AUDIO_CXD56=y
|
||||
CONFIG_BOARDCTL_RESET=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BOARD_LOOPSPERMSEC=5434
|
||||
CONFIG_BOOT_RUNFROMISRAM=y
|
||||
CONFIG_BUILTIN=y
|
||||
|
|
@ -107,7 +106,6 @@ CONFIG_NET_USRSOCK=y
|
|||
CONFIG_NET_USRSOCK_PREALLOC_CONNS=16
|
||||
CONFIG_NET_USRSOCK_UDP=y
|
||||
CONFIG_NFS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_DISABLE_IFUPDOWN=y
|
||||
CONFIG_NSH_DISABLE_NSLOOKUP=y
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ CONFIG_FS_ROMFS=y
|
|||
CONFIG_IDLETHREAD_STACKSIZE=8192
|
||||
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_READLINE=y
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ CONFIG_INIT_ENTRYPOINT="nsh_main"
|
|||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_LINE_MAX=64
|
||||
CONFIG_MM_REGIONS=2
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_FILEIOSIZE=512
|
||||
CONFIG_NSH_READLINE=y
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ endchoice # GD25 serial FLASH configuration
|
|||
config GD32F450ZK_EVAL_AT24_TEST
|
||||
bool "I2C0 EEPROM AT2402 write and read test"
|
||||
default n
|
||||
depends on NSH_ARCHINIT && GD32F4_I2C0 && MTD_AT24XX
|
||||
depends on BOARD_LATE_INITIALIZE && GD32F4_I2C0 && MTD_AT24XX
|
||||
---help---
|
||||
Automatically initialize and test the AT24 I2C EEPROM driver when
|
||||
NSH starts. After test the I2C0 will be released.
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue