Commit Graph

155 Commits

Author SHA1 Message Date
Masayuki Ishikawa
d430be293f boards: spresense: Add elf configuration
NOTE: you need to apply another PR to apps to avoid crash in task test

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-05 08:55:48 +01:00
Masayuki Ishikawa
99c6f96a9c boards: spresense: Add strip option to Make.defs
This option is needed to retain symbol tables in elf files

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-05 08:55:48 +01:00
Xiang Xiao
5c80b94820 Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
Xiang Xiao
80277d1630
Refine the preprocessor conditional guard style (#190) 2020-01-31 19:07:39 +01:00
Xiang Xiao
68951e8d72 Remove exra whitespace from files (#189)
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
Masayuki Ishikawa
5a24d499cf boards: spresense: Add posix_spawn configuration
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-01-30 09:22:21 +01:00
Xiang Xiao
540e947c0c Run ./tools/refresh.sh --silent all 2020-01-22 20:47:18 -06:00
WaterBirdWayOrigin
d360205d07 boards/arm/cxd56xx/spresense/configs/rndis/defconfig: Set CONFIG_NET_ETH_PKTSIZE to 1514 (#110) 2020-01-16 20:59:42 +01:00
Nathan Hartman
d1dd2841c5 Fix typos in comments and README.txt.
No functional changes.
2020-01-15 10:09:34 -06:00
Masayuki Ishikawa
097986143c boards: spresense: Update README.txt regarding SMP
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-01-15 17:08:09 +09:00
patacongo
f00569816f Fix a few errors concerning use of section block comments in .c files: (#95)
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.
2020-01-14 00:37:54 +01:00
Gregory Nutt
9803ce9408 boards/arm/cxd56xx/drivers/audio/cxd56_audio_bca_reg.c: Fails to compile
This function fails to compile due to numerous undeclared register definitions used in cxd56_audio_bca_reg.c.  This commit replaces the undefined definitions with very similar definitions recommended by GCC (differing only in some spelling).

However, I cannot be certain that this is correct.  This must be reviewed, corrected, and verified by Alin Jerpelea.  Please do not merge until Alin approves.

The configuration that demonstrates the failure is spresense:audio.
2020-01-09 07:22:55 -03:00
Gregory Nutt
edfcbc0840 boards/arm/cxd56xx/drivers/audio: Missing commas in in enumeration. Fix compilation error found in build testing due to missing commas in an enumeration type. Correct ordering of definitions and section block comments to follow coding standard. 2020-01-08 14:54:10 -03:00
Alin Jerpelea
3e45517599 Fix buffer overrun and memory leak on smartfs and improvement to cxd56xx
Author: Alan Carvalho de Assis <acassis@gmail.com>

    Check all .c and .h against nxstyle and fix it.

Author: Alin Jerpelea <alin.jerpelea@sony.com>

    fs: smartfs: Fix over capacity write

    When the remaining capacity of flash is one sector, if a new root
    directory is created by file open, then the root directory's chain is
    broken and it causes to SmartFS filesystem crash. Once this fatal
    problem occurs, it's impossible to recover even if the system reboot.
    Fix it by finally update link of root directory.

    fs: smartfs: Fix buffer overrun

    fs: smartfs: Fix uninitialized variable warnings

    fs: smartfs: Memory leak fix

    boards: cxd56xx: Update spresense board.h

    - Fix PMIC assignment
    - Add specific pin configurations for spresense
    - Remove unnecessary definitions

    arch: cxd56xx: Add ITM syslog init at startup

    arch: cxd56xx: Enable DMA settings dynamically
2020-01-08 07:51:11 -03:00
Alin Jerpelea
15eddd29c8 cxd56xx improvements (#48) and various other fixes (#49)
Author: Alan Carvalho de Assis <acassis@gmail.com>

    Verify all .c and .h against nxstyle, fixed the Mixed cases

Author: Alin Jerpelea <alin.jerpelea@sony.com>

    cxd56xx improvements (#48)

    * arch: cxd56xx: Add size limitation for I2C SCU xfer

    This is a fw restriction, unroll loop because it can be transfer
    up to 16 bytes.

    * arch: cxd56xx: Fix lack of leave_critical_section

    add the missing leave_critical_section

    * arch: cxd56xx: Remove unnecessary file

    this header is duplicate and we can remove it

    * arch: cxd56xx: Cosmetic change

    remove space after function

    * arch: cxd56xx: update topreg registers

    the topreg registers are updated to match the cxd5602 HW

    * arch: cxd56xx: Add voltage setting for low battery notification

    Add voltage setting for low battery notification

    * arch: cxd56xx: Improve perfomance of SD card

    Improve a problem that the clock of SD Host Controller is lower than the
    expected value in SDR25 transfer mode.

    * arch: cxd56xx: Cosmetic changes

    cleanup to comply with coding standard

    * boards: cxd56xx: Cosmetic changes

    updates to comply with coding standard

    * boards: cxd56xx: Fix SD card cannot mount issue

    SD card cannot mount when connecting and disconnecting three times
    or more due to wrong state of parameter 'initialized'.

    This change enables to skip swtching initialized state when mount
    failed.
2020-01-07 18:29:52 -03:00
Alin Jerpelea
077ef70b0c cxd56xx improvements (#48)
* arch: cxd56xx: Add size limitation for I2C SCU xfer

This is a fw restriction, unroll loop because it can be transfer
up to 16 bytes.

* arch: cxd56xx: Fix lack of leave_critical_section

add the missing leave_critical_section

* arch: cxd56xx: Remove unnecessary file

this header is duplicate and we can remove it

* arch: cxd56xx: Cosmetic change

remove space after function

* arch: cxd56xx: update topreg registers

the topreg registers are updated to match the cxd5602 HW

* arch: cxd56xx: Add voltage setting for low battery notification

Add voltage setting for low battery notification

* arch: cxd56xx: Improve perfomance of SD card

Improve a problem that the clock of SD Host Controller is lower than the
expected value in SDR25 transfer mode.

* arch: cxd56xx: Cosmetic changes

cleanup to comply with coding standard

* boards: cxd56xx: Cosmetic changes

updates to comply with coding standard

* boards: cxd56xx: Fix SD card cannot mount issue

SD card cannot mount when connecting and disconnecting three times
or more due to wrong state of parameter 'initialized'.

This change enables to skip swtching initialized state when mount
failed.
2020-01-07 11:21:58 -03:00
Xiang Xiao
91d483591d drivers/modem/altair/altmdm_sys.c: Fix modem/altair semaphore related compiler warning 2020-01-02 20:37:48 -06:00
Xiang Xiao
6a3c2aded6 Fix wait loop and void cast (#24)
* 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
2020-01-02 10:54:43 -06:00
Masayuki Ishikawa
200770915e Merged in masayuki2009/nuttx.nuttx/spresense_with_elf (pull request #1082)
boards: spresense: rndis and wifi configurations support elf

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-02 14:22:27 +00:00
Gregory Nutt
03e41c6806 boards/: Within the OS, nxisg_usleep() should be used instead of usleep(). usleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS. 2019-11-29 17:47:03 -06:00
Alin Jerpelea
516945d97e boards/arm/cxd56xx/spresense/configs/lte/defconfig: Select CONFIG_MODEM_ALTMDM. 2019-11-04 07:18:18 -06:00
Alin Jerpelea
2be1153030 Merged in alinjerpelea/nuttx (pull request #1061)
boards: cxd56xx: spresense: cleanup and new defconfig

* arch: cxd56xx: remove NVIC_SYSH redefinition

    The NVIC_SYSH is already defined in nvicpri.h

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: spresense: configs: enable SPRESENSE_EXTENSION

    Enable high current mode for the Spresense Extension board on all examples
    that have SDCARD support

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: spresense: ifdef SDCARD_TXS02612

    The SD Card TXS02612 port expander is hosted on the Extension board and
    should not be enabled if the extension board is not prezent.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: spresense: configs: increase MQ_MAXMSGSIZE

    This change is needed by the display driver on spresense platform

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: spresense: config: add lcd examples defconfig

    This is a configuration for the basic nx examples

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-24 14:26:02 +00:00
Alin Jerpelea
e2d2eba445 Merged in alinjerpelea/nuttx (pull request #1060)
Master

* boards: cxd56xx: spresense: add Spresense Image Processor

     Enable support for accelerated format convertor, rotation and so on.
    using the CXD5602 image processing accelerator.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards:cxd56xx:spresense: initalize GNSS and GEOFENCE at boot

    Add the optional initialization of  GNSS and GEOFENCE at boot
    if the drivers are enabled

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-23 14:43:45 +00:00
Alin Jerpelea
f7af996f1d Merged in alinjerpelea/nuttx (pull request #1059)
boards: cxd56xx: spresense: add board_timerhook function

* boards: cxd56xx: spresense: add board_timerhook function

    in preparation for SDK we muts have a weak board_timerhook function

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: usbhost: add missing endif

    By accident an endif was missing.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: audio: add build barrier

    The audio implementation should not be beuilt if the config
    CONFIG_CXD56_AUDIO is not set.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch:arm:cxd56xx: add ge2d.h header

    The header is used by imageproc.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-23 13:12:21 +00:00
Gregory Nutt
230c80b8e1 Cosmetic changes from review of last PR. 2019-10-21 08:51:47 -06:00
Alin Jerpelea
07f9154e5b Merged in alinjerpelea/nuttx (pull request #1056)
boards: cxd56xx: add board support for LTE modem and modem driver

* drivers: modem: add altair modem driver

    Add modem driver for the altair modem

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add board support for LTE modem

    Add the Altair LTE modem support on the Spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: spresense: add LTE defconfig

    Add the Altair LTE modem defconfig for spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-21 14:14:33 +00:00
Alin Jerpelea
13c25a310b Merged in alinjerpelea/nuttx (pull request #1054)
boards: spresense: audio: add missing header

Add the missing header to silence compiler warnings

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-18 12:51:15 +00:00
Masayuki Ishikawa
2c16d756cc Merged in masayuki2009/nuttx.nuttx/gs2200m_with_reset (pull request #1050)
Gs2200m with reset

* include: wireless: Add reset handler to struct gs2200m_lower_s

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* drivers: wireless: Add reset and unreset sequence in gs2200m.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* boards: cxd56xx: Add reset handler to cxd56_gs2200m.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-15 21:03:33 +00:00
Gregory Nutt
eeff429939 Fix some trivial spacing issues noted in review of PR. 2019-10-11 23:52:15 +08:00
Alin Jerpelea
716c7c9bee Merged in alinjerpelea/nuttx (pull request #1048)
boards: arm: cxd56xx: audio: add power_control and audio_tone_generator

* boards: arm: cxd56xx: audio: add power_control

    Add a simeple way to control the audio power for userspace apps

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: audio: add audio_tone_generator

    Add a simple way to control the audio buzzer with defined frequency
    for userspace apps

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-11 15:46:15 +00:00
Alin Jerpelea
33d0de4d57 Merged in alinjerpelea/nuttx (pull request #1046)
boards: spresense: add audio implementation

* boards: arm: cxd56xx: add audio implementation

    Add the board audio control implemantation

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: update audio defconfig

    Small updates to build the platforms specific audio driver

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: drivers: add audio implementation

    Add the audio implementation for CXD56XX chip

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: fix Load switch GPIO

    During the initial bringup the grong GPIO was set.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-09 23:55:20 +00:00
Alin Jerpelea
60814806a4 Merged in alinjerpelea/nuttx (pull request #1045)
boards: arm: cxd56xx: different updates

* boards: cxd56xx: spresense: initialize SCU at boot

    The SCU has to be initialized at bootup on spresense board because several
    functions depend on it.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: add audio control definitions

    Add audio control definitions for the audio implementation.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: add audio defconfig

    Add defconfig for the audio implementation

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-08 16:23:58 +00:00
Masayuki Ishikawa
193698c89c Merged in masayuki2009/nuttx.nuttx/fix_untracked_files (pull request #1042)
boards: cxd56xx: common: Add .gitignore not to show untracked files.

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-03 13:08:04 +00:00
Masayuki Ishikawa
4c53f0d232 Merged in masayuki2009/nuttx.nuttx/spresense_smp (pull request #1041)
Spresense smp

* arch: arm: Add ARCH_GLOBAL_IRQDISABLE to ARCH_CHIP_CXD56XX in Kconfig

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* arch: arm: cxd56xx: Make fpuconfg() public in cxd56_start.c

    NOTE: fpuconfig() is called in both cxd56_start.c and cxd56_cpustart.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* arch: arm: cxd56xx: Add support for SMP

    NOTE: To run cxd56xx in SMP mode, new boot loader which will be
    released later must be used.

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* arch: arm: cxd56xx: Add irq routing for SMP in cxd56_irq.c

    NOTE: In cxd56xx, each external interrupt controller can be
    accessed from a local APP_DSP (Cortex-M4F) only. This commit
    supports IRQ routing for SMP by calling up_send_irqreq() in
    both up_enable_irq() and up_disable_irq().

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* boards: spresense: Add smp configuration

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-03 13:06:21 +00:00
Masayuki Ishikawa
30021c4dee Merged in masayuki2009/nuttx.nuttx/add_gc_sections (pull request #1040)
boards: spresense: Add --gc-sections to LDFLAGS in scripts/Make.defs

Also, add -ffunction-sections -fdata-sections to ARCHCFLAGS

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-01 12:03:54 +00:00
Masayuki Ishikawa
9673debe2b Merged in masayuki2009/nuttx.nuttx/fix_cxd56_ostest (pull request #1039)
fix_cxd56_ostest

* boards: spresense: Fix config names in cxd56_ostest.c

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* boards: spresense: Enable ostest in rndis/defconfig

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* boards: spresense: Enable ostest in wifi/defconfig

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-01 03:24:55 +00:00
Nathan Hartman
46aaec7ba0 Fix minor typos in docs and comments. 2019-09-29 12:52:20 -06:00
Alin Jerpelea
7420f4dc5e Merged in alinjerpelea/nuttx (pull request #1038)
cxd56xx: various fixes

* arch: arm: cxd56xx: Support to set any i2c frequency

    This commit supports to be able to set the i2c frequency other than just
    100 or 400 Hz.

* arch: arm: cxd56xx: Enable SD clock during access to SD card

    - Improve GNSS low sensitivity with SD card inserted
    - Reduce power consumption by stopping SD clock

* arch: arm: cxd56xx: Do PANIC() when cpu rx fifo is overflow

    If CPU Rx FIFO is overflow, it's fatal error for system. In such a case,
    this commit changes to allow the user to notice by calling PANIC() for
    debuggability enhancement.

* arch: arm: cxd56xx: Fix compile error in sdhci debug code

* arch: arm: cxd56xx: Remove assertion in cpu tx queue

    When CPU Tx queue is overflow, it returns -EAGAIN instead of assertion
    to be able to retry.

* arch: arm: cxd56xx: Add configurations for cpu fifo elements

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: Fix LPADC configuration

    LPADC options defined in the same symbol name, so kconfig tool
    couldn't process them correctly.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: Update loader and gnssfw ver.17660

* arch: arm: cxd56xx: Fix hang-up when error interrupt occurs

    Fix a problem that error interrupts are not cleared.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: Fix sdhci semaphore

    Fix inital value of semaphore in sdhci drive.r

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: Treat the initial value of LNA power as off

    LNA is always turned power on when GNSS is started. So it is desirable
    that the initial value of the LNA power is off by default.

* boards: cxd56xx: Remove initial setting of PIN_AP_CLK

    PIN_AP_CLK is used as a port selector of SDIO expander on the extension
    board, and is set output low in initalizing. Therefore, this pin cannot
    be used for other board. To avoid this restriction, remove this initial
    operation because this pin is pulled down by default on the extension
    board.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-26 11:28:26 +00:00
Alin Jerpelea
54ef3efc35 Merged in alinjerpelea/nuttx (pull request #1033)
boards: spresense: Add board initialization for isx012

Add isx012 initialization to the board and include the needed headers

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-18 11:42:35 +00:00
Alin Jerpelea
b55c518a1a Merged in alinjerpelea/nuttx (pull request #1031)
boards: spresense: add isx012 camera initialization and config

* boards: spresense: add isx012 camera initialization

    Add the initialization for the isx012 camera sensor.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: spresense: add camera defconfig

    For easy configuration add camera defconfig for spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-17 16:58:09 +00:00
Gregory Nutt
8d87e624bf boards/arm/cxd56xx/spresense/Kconfig: Add a configuration to select if an extension board is attached to the SPresence. If there is no extension board attached, the SPresense may run in a low-power mode by default (as determined by the CONFIG_CXD56_CUSTOM_PINCONFIG option). If an extension board is present, then the SPresense will need to run at a higher power mode, selected by the new CONFIG_SPRESENSE_EXTENSION option. 2019-09-17 05:41:10 -06:00
Takayoshi Koizumi
ef28729374 boards/arm/cxd56xx/spresense/include/board_pinconfig.h: Add board specific pin configurations of CXD5602 pins to fit Spresense board. 2019-09-16 15:32:58 -06:00
Gregory Nutt
66a55c91e7 Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
Gregory Nutt
2925c28f8f All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00
Gregory Nutt
0bd60c3722 All linker scripts: Preface all _ebss defininitions with . = ALIGN(4). Otherwise, the last bytes in the .bss section will not be initialized properly. Also convert all linker scripts that use TABs to spaces. 2019-09-15 15:27:58 -06:00
Augusto Fraga Giachero
68bbc8438c drivers/timers/pwm.c: Move the pwm/pwm.c driver to timers/pwm.c, The drivers/pwm contained only one .c file (pwm.c), so to avoid the proliferation of sub-directories inside drivers/ is better to move the pwm.c driver to drivers/timers. The pwm.h header was moved to include/nuttx/timers to keep consistency, so all files referencing it need to be updated. 2019-09-02 07:57:10 -06:00
Gregory Nutt
85770966ff boards/Board.mk: Add support to pass dependency paths. boards/arm/cxd56xx/common/Makefile: Add correct dependency paths for board/ and src/ subdirectories. 2019-09-01 12:19:36 -06:00
Alin Jerpelea
3806a01c5d Merged in alinjerpelea/nuttx (pull request #1024)
noards: arm: cxd56xx: migrate common code

* boards: arm: cxd56xx: common: move boot to common

    This is a common function and can be reused by all boards.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: move flash to common

    This is a common function and can be reused by all boards.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: move I2C driver to common

    This is a common function and can be reused by all boards.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: move uid to common

    This is a common function and can be reused by all boards.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: move usbmsc to common

    This is a common function and can be reused by all boards.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56: add SPH

    The SPH is used by the ASMP implementation from the SDK.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-26 14:29:55 +00:00
Alin Jerpelea
6ecee7e403 Merged in alinjerpelea/nuttx (pull request #1021)
boards: cxd56xx: add SCU sensors (2/2)

* boards: cxd56xx: add cxd56_bh1721fvc initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_bh1745nuc initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_bm1383glv initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_bm1422gmv initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_bmi160 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_bmp280 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_kx022 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_lt1pa01 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_rpr0521rs initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_sensors initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56: add Backup Log driver

    The driver will be used to backup logs on crash.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: add crashlog driver

    Add Crashlog driver with support for reset on crash

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: move gs2200m initialization

    Move the board gs2200m initalization to the common board folder

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: move ili9340 initialization

    Move the board ili9340 initalization to the common board folder

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: move lpm013m091a initialization

    Move the board lpm013m091a initalization to the common board folder

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: arm: cxd56xx: common: typo fixes

    HEADER: Updates on file location
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-23 13:28:35 +00:00
Alin Jerpelea
d6366c1e82 Merged in alinjerpelea/nuttx (pull request #1019)
Add the sensor initialization for cxd56xx boards in the common board folder

* boards: cxd56xx: apds9930: typo fix

    fix apds9930 typos

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_ak09912 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: move cxd56_bmi160 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_apds9930 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* boards: cxd56xx: add cxd56_apds9960 initialization

    We are adding the sensor initialization for cxd56xx boards in the
    common board folder.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-22 13:55:35 +00:00
Alin Jerpelea
a91d86523c Merged in alinjerpelea/nuttx (pull request #1018)
boards: cxd56xx: add SCU sensors

* drivers: platform: add Avago APDS9930 Proximity and Ambient light Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Rohm BH1721FVC Ambient Light Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Rohm BH1745NUC Color Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Rohm BM1383GLV/BM1383AGLV Pressure Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Rohm BM1422GMV/BM1422AGMV Magnetic Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Bosch BMI160 Sensor support

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Bosch BMP280 Barometic Pressure Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Kionix KX022/KX122 Acceleration Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Murata LT1PA01 Proximity and Ambient light Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: spresense: add Rohm RPR0521RS Proximity and Ambient light Sensor

    This sensor is connected to the SCU on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* drivers: sensors: bmi160: add optional I2C address

    Add a menu option for the case when the SDO pin is pulled to VDDIO

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-22 12:49:05 +00:00
Alin Jerpelea
3ed844640d Merged in alinjerpelea/nuttx (pull request #1015)
tools: unix: add support for common board folder

* tools: unix: add support for common board folder

    this patch adds support for a common board folder and simplifies the code
    and maintenance on boards that share the same code

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* cxd56xx: migration to a common folder

    This is the first platform to be migrated to the new common folder
    structure.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-21 17:25:16 +00:00
Alin Jerpelea
c6355f58d6 Merged in alinjerpelea/nuttx (pull request #1014)
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>
2019-08-21 13:39:29 +00:00
Alin Jerpelea
f362d161db Merged in alinjerpelea/nuttx (pull request #990)
arm: codestyle fixes 1

* arm: a1x: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: am335x: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: c5471: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: cxd56xx: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: dm320: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: efm32: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: imx6: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: imxrt: codestyle fixes

    After the board restructuration is time for codestyle cleanup

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arm: kinetis: 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>
2019-08-12 16:06:40 +00:00
Alin Jerpelea
1358e829ad Merged in alinjerpelea/nuttx (pull request #967)
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>
2019-08-07 20:49:39 +00:00