Commit Graph

127 Commits

Author SHA1 Message Date
Gregory Nutt
c1c36db37e boards/arm/stm32rl4: Remove inclusion of STM32 L4 header files from all board.h header files. 2019-09-29 11:37:46 -06:00
Gregory Nutt
e34ee02929 Add some comments ti i.MXRT board.h header files. 2019-09-29 09:41:16 -06:00
Gregory Nutt
cbf6ffe4e7 boards/arm/stm32f7: Remove inclusion of STM32 F7 header files from all board.h header files. 2019-09-29 09:31:47 -06:00
Xiang Xiao
f96410b58e tools/simbridge.sh: Add simbridge.sh to simplify the simulator bridge creation. 2019-09-28 10:54:54 -06:00
Gregory Nutt
f4b57499c9 Update some comments, spacing. 2019-09-28 09:55:31 -06:00
Daniel Pereira Volpato
0566525764 libs/libxx/Kconfig: Automatically select CONFIG_CLOCK_MONOTONIC when CONFIG_LIBCXX is selected.
Remove hardcoded -DCLOCK_MONOTONIC from CFLAGS in Make.defs of several configurations.  That defintiion is now automatically adding this define when CONFIG_LIBCXX=y.
2019-09-27 12:31:08 -06:00
Gregory Nutt
65e6ff11cc boards/arm/stm32/stm32f429i-disco: Clean up problems after removing forbidden header files from board.h header file. 2019-09-27 11:46:13 -06:00
Gregory Nutt
ccbd6317c5 boards/arm/stm32/stm32f429i-disco/include/board.h: Remove forbidden STM32 header file inclusions. Fix some coding standard issues. 2019-09-27 11:16:04 -06:00
Juha Niskanen
c3d24571fb Fix some typos. Mostly inital->initial. 2019-09-27 06:32:32 -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
Nathan Hartman
a83a609af9 Direct users to our kconfig-frontends snapshot instead of upstream.
It appears Yann Morin's kconfig-frontends project has gone offline and
the website at http://ymorin.is-a-geek.org/projects/kconfig-frontends
is not responding. Until we can identify a "proper" upstream project,
use the snapshot in NuttX tools repository.

Replace (almost) all links to Yann Morin's kconfig-frontends in the
docs to point to the NuttX tools snapshot instead, with the following
exceptions:

    nuttx/Changelog for version 6.17, 2012-04-14: Leave this historical
    information intact.

    nuttx/README.txt: Document the source of our snapshot.
2019-09-24 09:52:09 -06:00
Alan Carvalho de Assis
99cd9340f5 boards/arm/samd2l2/arduino-m0/src/sam_usb.c: Add usbnsh board configuration. 2019-09-22 16:13:06 -06:00
Gregory Nutt
5e27915d24 Update a README; fix typos. 2019-09-22 16:12:05 -06:00
Gregory Nutt
4ac9577fb2 Update a README file. 2019-09-22 13:58:21 -06:00
Alan Carvalho de Assis
35227fb873 boards/arm/samd2l2/arduino-m0: Add initial board support for the Arduino M0. 2019-09-22 10:43:36 -06:00
Alan Carvalho de Assis
8eafe880dc boards/arm/stm32/stm32f4discovery/src: Add support for external DS1307 module. 2019-09-22 07:08:00 -06:00
Gregory Nutt
6d557386f5 boards/xtensa/esp32/esp32-core/src/Makefile: Fix another problem from the big reorganization noted in Issue 168. 2019-09-20 11:57:36 -06:00
Gregory Nutt
f4cc21a5c3 boards/arm/stm32/stm32f429i-disco/README.txt: Trivial update to README. 2019-09-20 06:23:48 -06:00
Juha Niskanen
5c853cd1dc libs/libc/unistd/lib_getcwd.c: remove stray sched_unlock(). Also fixes several typos. 2019-09-20 06:23:48 -06:00
Juha Niskanen
e8b5dd4528 Fix use of undefined pp-token #errror, other typos. 2019-09-19 18:19:18 -06:00
Gregory Nutt
9eba6bf018 arch/arm/src/stm32f0l0g0 and boards/arm/stm32f0l0g0/nucleo-g071rb: The last change did NOT eliminate the build problem. This one does. 2019-09-18 15:13:13 -06: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
Daniel Pereira Volpato
50e34d50b6 boards/arm/stm32f0l0g0/nucleo-g070rb/include/board.hboards/arm/stm32f0l0g0/nucleo-g070rb: Enable PWR peripheral and increase sysclk to max. frequency. SYSCLK can be increased now that VOS and flash wait states are properly configured. 2019-09-17 11:32:51 -06:00
Daniel Pereira Volpato
4737fd7497 boards/arm/stm32f0l0g0/nucleo-g070rb/scripts/ld.script: Fix .ARM.exidx section overlap with .data 2019-09-17 11:23:53 -06:00
Daniel Pereira Volpato
d78e60d18e boards/arm/stm32f0l0g0/nucleo-g070rb: Initial support for board STM32 NUCLEO-G070RB, including NSH config 2019-09-17 11:20:26 -06: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
Juha Niskanen
ebc6f51641 Fix some typos 2019-09-17 10:46:23 -06: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
5995714cfd boards/mips Linker Scripts: The PIC32M* start-up code initializes .bss by writing 16 bytes at a time in a loop. The start (_sbss) alignment is only required to be 4 bytes since the write is done with 4 store instructions. In a previous change, the end address, _ebss, was aligned to 16 byte to prevent initializing past the end off the .bss region. However, that does not work unless the start address, _sbss, is also aligned to 16 bytes. 2019-09-16 08:14:32 -06:00
Gregory Nutt
66a55c91e7 Linker scripts: Fix some alignment problems. 2019-09-15 18:06:36 -06:00
Gregory Nutt
805fa49a4e Back out/change some of the alignments in the previous comments. Non-ARM CPUs my have different alignment requirements. AVR, for example, has none. MIPS requires 16-byte alignment of the end of .bss. 2019-09-15 18:02:00 -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
Gregory Nutt
c5ed221e87 Trivial typo fix 2019-09-15 08:16:37 -06:00
Gregory Nutt
e2949d0dcf boards/arm/stm32/axoloti, omnibusf4, and stm32f4discovery: If CONFIG_SCHED_CRITMONITOR is selected, then make sure that ITM and DWT resources are enabled before accessing ITM and DWT registers. By default, these registers are disabled. Suggested by Juha Niskanen. 2019-09-13 07:22:00 -06:00
Nathan Hartman
3ca55cc439 boards/arm/tiva/tm4c123g-launchpad/scripts/tm4c123g-launchpad.ld: Add alignments for the TMC4123G-LaunchPad as well. 2019-09-12 10:03:39 -06:00
Gregory Nutt
bbbe9d85c5 Move EXIDX assignments inside of braces so that we can be assure that the symbols have the correct alignment. Suggested by Daniel P. Volpato
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
2019-09-12 09:57:50 -06:00
Gregory Nutt
94224639ca Fix a few errors introduced into linker scripts by recent commits. 2019-09-12 08:11:27 -06:00
Gregory Nutt
50f9e26d5d Modify all a few more linker scripts missed in 415e3d3448, probably because they were created after 2eb4fe5ffb. 2019-09-11 21:10:51 -06:00
Alan Carvalho de Assis
415e3d3448 Modify all files from 2eb4fe5ffb to use solution from Daniel P. Volpato. 2019-09-11 21:00:41 -06:00
Daniel Pereira Volpato
490d945f3e boards/arm/stm32f0l0g0/nucleo-g071rb/scripts/ld.script: Fix .ARM.exidx section overlap with .data 2019-09-11 12:49:37 -06:00
Gregory Nutt
d8adf712a2 boards/arm/imx6/sabre-6quad/scripts/Make.defs: Yet another boards/ re-organization fixup. 2019-09-11 11:17:07 -06:00
Gregory Nutt
5a41d7f9b5 boards/: Several more fixes to Make.defs files and README.txt files. More collateral damage from the big boargs/ directory re-organization. 2019-09-11 11:15:56 -06:00
Gregory Nutt
ad0248db44 boards/z80: Correct path to linker script in all boards using the ZDS-II toolchain. Yet more fallout from the big boards/ directory re-organization. 2019-09-11 10:19:16 -06:00
Nathan Hartman
366053e464 Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. 2019-09-11 08:56:56 -06:00
Gregory Nutt
cc694e9862 Fix some new warnings found in build testing. 2019-09-10 08:20:53 -06:00
Pavel Pisa
97dfff2011 boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig: Tested ETHRENET, UARTs, heap in external SDRAM, use of symbol tables for applications loading over TFTP and kernel modules insertion. USB and SD card enabled but there are some issues (probably config or IO ports) still. 2019-09-10 07:21:01 -06:00
Nathan Hartman
91ef2ec394 Fix a few minor typos 2019-09-08 15:59:14 -06:00
Nathan Hartman
f6b80dd0f9 boards/Kconfig: Fix help text for BOARDCTL_IOCTL. 2019-09-06 15:55:57 -06:00