so all boards support uClibc++/libc++ automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5
otherwise the user is shocked that using cin/cout/cerr will crash the system
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I453427261f3e2a6e60f7dd2398f7d3bd1043a0d5
since cxx initialization is controlled by CONFIG_HAVE_CXXINITIALIZE now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I39438dc3006d0a0b810052ecef50cd3c92f09d83
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Icf6638a6865bac42150b5957376e55909f041d40
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2ff5c30049a5c5e8ee90baea56e9f4cb1a8a4f87
stm32_i2sdev_initialize to stm32_i2sbus_initiliaze, to be consistent
with the way other buses are initialized.
The stm32_i2sdev_initiliaze (similar to stm32_spidev_initialize for
example) is a board specific function that does any necessary
initialization that's board depedent.
This is a change suggested by Xiao Xiang in an email thread. Some make variables with depend on forking and shell and running a script to get the value of the variable. Using := we can force the calculation to occur only once. This leads to a small but consistent improvement in build performance.
This change really applies to ALL Make.defs files but is applied only to one here so that it can be thoroughly verified and possbily leveraged to other Make.defs files in the future.
boards/arm/stm32/b-g474e-dpow1/scripts/Make.defs:
* Apply the recent build script changes introduced in the
following git commits:
- 7e5b0f81e9 and
- e83c1400b6
to this board. Namely, factor the definitions of ARCHINCLUDES
and ARCHXXINCLUDES out of CONFIG_CYGWIN_WINTOOL conditional,
and use new build variable BOARD_DIR to simplify ARCHSCRIPT.
Add support for the STM32G474 family of microcontrollers and the
B-G474E-DPOW1 Discovery Board, which features a STM32G474RET6.
This is a major pull request as it adds support for an entirely
new family of STM32. This support is implemented in
arch/arm/src/stm32 and shares implementation with other STM32
families supported by that code, such as the 'L15xx, 'F10xx,
'F20xx, 'F3xxx, and 'F4xxx.
boards/Kconfig:
* Make NuttX recognize the existence of b-g474e-dpow1,
the B-G474E-DPOW1 Discovery Board.
boards/arm/stm32/b-g474e-dpow1/Kconfig:
boards/arm/stm32/b-g474e-dpow1/README.txt:
boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig:
boards/arm/stm32/b-g474e-dpow1/include/board.h:
boards/arm/stm32/b-g474e-dpow1/scripts/Make.defs:
boards/arm/stm32/b-g474e-dpow1/scripts/ld.script:
boards/arm/stm32/b-g474e-dpow1/src/.gitignore:
boards/arm/stm32/b-g474e-dpow1/src/Make.defs:
boards/arm/stm32/b-g474e-dpow1/src/b-g474e-dpow1.h:
boards/arm/stm32/b-g474e-dpow1/src/stm32_appinit.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_autoleds.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_boot.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_userleds.c:
* Add minimal support for the B-G474E-DPOW1 Discovery
Board. The board boots successfully through to the
NSH prompt. NSH runs and is responsive.
With big thanks for detailed code review and suggestions:
David Sidrane (davids5)
Mateusz Szafoni (raiden00)
Abdelatif Guettouche (Ouss4)
Remove support for the Codesourcery, Atollic, DevKitArm, Raisonance, and CodeRed toolchains. Not only are these tools old and no longer used but they are all equivalent to standard ARM EABI toolchains. Retaining specific support has no effect (they are still supported, but now just as generic EABI toolchains).
1. Add missing conditional logic in include/sys/syscall_lookup.h
2. CONFIG_NPTHREAD_KEYS removed from code but was still in sched/Kconfig
3. Refresh all configurations affected by PR 1007
4. syscall/syscall_funclookup.c needs to include nuttx/tls.h
1. Move pthread-specific data files from sched/pthread/ to libs/libc/pthread.
2. Remove pthread-specific data functions from syscalls.
3. Implement tls_alloc() and tls_free() with system calls.
4. Reimplement pthread_key_create() and pthread_key_free() using tls_alloc() and tls_free().
5. Reimplement pthread_set_specific() and pthread_get_specicif() using tls_set_value() and tls_get_value()
The "info" structure was used non initialized and causing bad sounds at
boot. The start() function is anyway called later on when actually playing
sounds.
The are remaining nxstyle complaints due to the use of mixed case identifiers in arch/arm/src/lc823450/lc823450_irq.c This, cannot be easily fixed since it depends on register definitions in header files that have implications to section other lc823450 files.
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private functions begin with the name of the architecture, not up_.
This PR addresses only these name changes for the ARM-private functions up_ramvec_initialize() and up_ramvec_attch().
Impact
There should be no impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private functions begin with the name of the architecture, not up_.
This PR addresses only these name changes for the ARM-private functions prototyped in arm_internal.h
This change to the files only modifies the name of called functions. nxstyle fixes were made for all core architecture files. However, there are well over 5000 additional complaints from MCU drivers and board logic that are unrelated to to this change but were affected by the name change. It is not humanly possible to fix all of these. I ask that this change be treated like other cosmetic changes that we have done which do not require full nxstyle compliance.
Impact
There should be not impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
Summary
The naming standard at https://cwiki.apache.org/confluence/display/NUTTX/Naming+FAQ requires that all MCU-private files begin with the name of the architecture, not up_.
This PR addresses only these name changes for the up_*.h files. There are only three, but almost 1680 files that include them:
up_arch.h
up_internal.h
up_vfork.h
The only change to the files is from including up_arch.h to arm_arch.h (for example).
The entire job required to be compatible with that Naming Convention will also require changing the naming of the up_() functions that are used only within arch/arm and board/arm.
Impact
There should be not impact of this change (other that one step toward more consistent naming).
Testing
stm32f4discovery:netnsh
Mac OS X was renamed to macOS at some point. Update references to
OSX, OS X, Mac OS X, Mac OSX, and other permutations, to macOS,
in README files and in comments of other files.
So call 'make EXTRAFLAGS=-Wno-cpp' could suppress the warnings with pre-processor
directive #warning in GCC.
Change-Id: Iaa618238924c9969bf91db22117b39e6d2fc9bb6
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
* boards/arm/stm32/nucleo-f429zi: Initial port to nucleo-f429zi board.
* boards/arm/stm32/nucleo-f429zi: Add two demo configs.
* Add the nucleo-f429zi to boards/Kconfig
boards/Kcondig: Fixed line alignment issue.
* boards/arm/stm32/nucleo-f429zi: Change the license header of all new files to an Apache 2.0 license.
* boards/arm/stm32/nucleo-f429zi: nxstyle fixed
Because we can get the same function by CONSOLE_SYSLOG/syslog_console_init.
BTW, it isn't a good choice to use g_ramlogfops as /dev/console since nsh
will read back what it send out which will surprise most people.
To ensure size_t same as toolchain definition in the first place and rename CXX_NEWLONG to ARCH_SIZET_LONG. The change also check whether __SIZE_TYPE__ exist before CONFIG_ARCH_SIZET_LONG so our definition can align with toolchain(gcc/clang) definition automatically.
Author: liuhaitao <liuhaitao@xiaomi.com>
clicker2-stm32/mrf24j40-mac: enable SCHED_LPWORK config to fix build break
ieee802154/mac802154_internal.h:75:4: error: #error Both Low and High priority work queues are required for this driver
75 | # error Both Low and High priority work queues are required for this driver
| ^~~~~
ERROR: arm-none-eabi-gcc failed: 1
nucleo-f303re/nxlines: enable NXSTART_EXTERNINIT config to fix build break
arm-none-eabi-ld: /var/lib/jenkins/workspace/NuttX-Nightly-Build/nuttx/staging/libgraphics.a(nxmu_start.o): in function `nx_server':
nxmu_start.c:(.text+0x2): undefined reference to `board_lcd_initialize'
arm-none-eabi-ld: nxmu_start.c:(.text+0xc): undefined reference to `board_lcd_getdev'
make[1]: *** [nuttx] Error 1
Disable cxx new long to fix build break for some sam34 boards configs
Build fail log as below:
CXX: libxx_new.cxx
libxx_new.cxx:66:7: error: 'operator new' takes type 'size_t' ('unsigned int') as first parameter [-fpermissive]
66 | void *operator new(unsigned long nbytes)
| ^~~~~~~~
Makefile:102: recipe for target 'libxx_new.o' failed
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
Kconfig: the CONFIG_WINDOWS_NATIVE options now depends on CONFIG_EXPERIMENTAL. The Windows native build is complete and available, but not often used or verified. As a consequence, it cannot be assured to be fully functional at any given time. Hence, it is marked here as EXPERIMENTAL so that the end user will be aware of this state.
boards/arm/stm32/stm32f4discovery/configs/winbuild/defconfig: Add CONFIG_EXPERIMENTAL to the windbuild configuration. It is now necessary for this configuratino to be a viable test configuration.
Co-authored-by: Gregory Nutt <gnutt@nuttx.org>
1. No .c file should include a "Public Types" section. Only a header file can define a public type. A .c file can only define a private type. Several files contained private type definitions. The section that they were defined in, however, was incorrectly named "Public Types." Those were easilty changed to "Private Types" which is what they are.
2. No .c file should include a "Public Function Prototypes" section. All global function prototypes should be provided via a header file and never declared with a .c file.
For No. 2, I corrected as many cases as was reasonable for the time that I had available. But there are still a dozen or so .c files that declare "Public Function Prototypes" within a .c file. This is bad programming style. These declarations should all be moved to the proper header files.
Here is the email loop talk about why it is better to remove the option:
https://groups.google.com/forum/#!topic/nuttx/AaNkS7oU6R0
Change-Id: Ib66c037752149ad4b2787ef447f966c77aa12aad
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
This change was motivated by the presence of the mkimage.sh file under tools. That is the tool that created the RRLOAD binary format. That bash script has a GPL license and, hence, may not be included in an Apache-licensed project.
boards: stm32f4discovery: Add support for MMCSD_SPI
This PR works with STM32F4 Discovery Shield plus microSD click
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
Remove hardcoded -DCLOCK_MONOTONIC from CFLAGS in Make.defs of several configurations. That defintiion is now automatically adding this define when CONFIG_LIBCXX=y.
Squashed commit of the following:
Some scripts use TABs, others spaced. Make usage consistent.
Move __exidx_end assignment inside of brackets.
Remove old __exidx_end assignment.
Move __exidx_start assignment inside of brackets.
Remove old __exidx_start assignment
boards: add stub drivers folder for later use
* boards: add stub drivers folder for later use
The board/drivers folder is added for future use.
In this folder we should place drives that are platform specific and
depend on HW that is present only on a specific platform.
NOTE: All shared drivers should go to the regular driver folder
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tools: shift BOARD_DIR one level up
In preparation for drivers and common folders we are moving the
BOARD_DIR path up one level.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tools: add drivers/platform symlink
Link the boards/<arch>/<chip>/drivers dir to drivers/platform
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* drivers: add platform specifc drivers extension
There are platforms that use specific drivers and we should be able to
include those drivers in the build
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* board: cxd56xx: drivers: add AK09912 driver for SCU
This is a platform specific driver connected on the SCU unit.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
arm: stm32: codestyle fixes
* arm: stm32f0l0g0: codestyle fixes
After the board restructuration is time for codestyle cleanup
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arm: stm32f7: codestyle fixes
After the board restructuration is time for codestyle cleanup
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arm: stm32h7: codestyle fixes
After the board restructuration is time for codestyle cleanup
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arm: stm32l4: codestyle fixes
After the board restructuration is time for codestyle cleanup
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arm: stm32: codestyle fixes
After the board restructuration is time for codestyle cleanup
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
Master
* Revert "Merged in yanqil-br/feature-multi_chan_pwm (pull request #973)"
This reverts commit aef0e0b538.
* arch/arm/src/{stm32/stm32f7/stm32h7/stm32l4}/stm32_pwm.c: configure multi-channel duty only if channel specified. This allows you to update duty cycle for a single channel
* nucleo-f303re/configs: add basic NSH configuration
* nucleo-f303re/configs/pwm: enable console on UART2 and set entry point to nsh_main
Approved-by: Gregory Nutt <gnutt@nuttx.org>
group boards based on chip
* a1x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* am335x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* c5471: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* scx56xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* dm320: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imx6: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kinetis: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kl: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lc823450: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc17xx_40xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc214x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc2378: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc31xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc43xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc54xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* max326xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* moxart: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nrf52: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nuc1xx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam34: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd2l2: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd5e5: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samv7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f0l0g0: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32h7: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l4: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* str71x: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tiva: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tms570: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xmc4: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* p112: typo fix
this boars is a z80 board and was moved to the wrong arch
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: at32uc3: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: at90usb: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* avr: atmega: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* hc: mcs92s12ne64: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mips: pic32mx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mips: pic32mz: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* misoc: lm32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* or1k: mor1kx: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* renesas: m32262f8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* renesas: sh7032: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* risk-v: gap8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* risk-v: nr5m100: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sim: sim: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* x86: qemu: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xtensa: esp32: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z16: z16f2811: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: ez80: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z180: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z80: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* z80: z8: group boards based on chip
All boards based on the same chip are moved to the same folder
following the arch layout <arch>/<chip>/<board>.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tools: update tools for boards based on chip
This patch updates only the linux tools
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* pcduino-a10: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* beaglebone-black: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* c5471evm: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* spresense: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ntosd-dm320: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32-g8xx-stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* efm32gg-stk3700: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-efm32g880f128-stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sabre-6quad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt1050-evk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* imxrt1060-evk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k28f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k64f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-k66f: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* kwikstik-k40: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* teensy-3.x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* twr-k60n512: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* twr-k64f120m: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-kl25z: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* freedom-kl26z: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* teensy-lc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lc823450: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lincoln60: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4088-devkit: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4088-quickstart: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpcxpresso-lpc1768: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mbed: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mcb1700: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc1766stk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* open1788: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* pnev5180b: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* u-blox-c027: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zkit-arm-1769: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mcu123-lpc214x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zp214xpa: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc2378: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ea3131: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ea3152: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-lpc-h3131: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* bambino-200e: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4330-xplorer: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4337-ws: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4337-evb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpc4370-link2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lpcxpresso-lpc54628: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* max32660-evsys: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* moxa: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nrf52-generic: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nutiny-nuc120: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arduino-due: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* flipnclick-sam3x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam3u-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4cmp-db: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4e-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4l-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4s-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sam4s-xplained-pro: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d2-xult: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d3-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d3x-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* sama5d4-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd20-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* samd21-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* saml21-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* metro-m4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* same70-xplained: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* same71-xult: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* axoloti: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* clicker2-stm32: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* cloudctrl: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* fire-stm32v2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* hymini-stm32v: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* maple: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* mikroe-stm32f4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f103rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f207zg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f302r8: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f303re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f303ze: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f334r8: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f410rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f446re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f4x1re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-1152re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-e407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-h405: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-h407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p107: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p207: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32-p407: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-stm32: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* omnibusf4: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* photon: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* shenzou: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3210e-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3220g-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm3240g-eval: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32_tiny: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32butterfly2: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f103-minimum: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f334-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f3discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f411e-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f429i-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f4discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32ldiscovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32vldiscovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* viewtool-stm32f107: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* b-l072z-lrwan1: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f072rb: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f091rc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-f071rg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l073rz: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f051-discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f072-discovery: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-144: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746-ws: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746g-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32f746g-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-h743zi: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* b-l475e-iot01a: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l432kc: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l432re: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l476rg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* nucleo-l496zg: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l476-mdk: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l476vg-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* stm32l4r9ai-disco: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* olimex-strp711: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* dk-tm4c129x: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* eagle100: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* ekk-lm3s9b96: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-cc1310: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-cc1312r1: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s6432-s2e: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s6965-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm3s8962-ek: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4f120-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4c123g-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* lm4c1294-launchpad: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* launchxl-tms57004: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* tms570ls31x-usb-kit: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* xmc4500-relax: defconfig update
add ARCH_CHIP to defconfig
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* zp214xpa: typo fix
add missing tools/oocd.sh
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>