raiden00pl
a0429bcb20
Merged in raiden00/nuttx_nrf52 (pull request #1096 )
...
nrf52 updates
board/arm/nrf52/nrf52832-dk: use the on-board virtual COM pins as default UART0 configuration
board/arm/nrf52: initial support for the nrf52840-dk board
board/arm/nrf52: initial support for the nrf52840-dk dongle board
arch/arm/src/nrf52: add support for port 1 GPIO
arch/arm/src/nrf52: initial support for UART1
arch/arm/src/nrf52: add UICR definitions
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-16 18:35:45 +00:00
Gregory Nutt
541bfe9a5e
Revert "boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis."
...
Logic was correct as originally submitted.
This reverts commit 77eea3dd66
.
2019-12-16 07:55:08 -06:00
Gregory Nutt
77eea3dd66
boards/arm/am335x/beaglebone-black/src/am335x_bringup.c: CAN0 and CAN1 reversed in one place. Spotted by Alan Carvahlo de Assis.
2019-12-15 17:51:46 -06:00
Alan Carvalho de Assis
787128930f
arch/arm/src/samd2l2 and boards/arm/samd2l2/arduino-m0: Add support to SAMD2L ADC driver and board support to Arduino M0.
2019-12-15 17:36:59 -06:00
Petro Karashchenko
871197b4ec
arch/arm/src/am335x/ and boards/arm/am335x/beaglebone-black/: Initial CAN support for the BBB.
2019-12-15 17:12:54 -06:00
Minamiya Natsuki
0357115bf9
Merged in MinamiyaNatsuki/nuttx (pull request #1095 )
...
Remove duplicate code from stm32_bringup.c
This code repeated two times by mistake.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-15 12:21:28 +00:00
Alan Carvalho de Assis
3840889b11
boards/arm/stm32/stm32f103-minimum/: Add support to LCD1602 using PCF8574 Backpack board.
2019-12-13 12:10:17 -06:00
David Sidrane
eb2bcfc44f
boards/arm/imxrt/imxrt1020-evk/include/board.h: Enable the GPIO based CD.
2019-12-12 08:34:58 -06:00
David Sidrane
2cbcb8fd00
arch/arm/src/imxrt/imxrt_clockconfig.c and board.h: Allow clock setting for SPI and I2C from board.h.
2019-12-12 08:33:05 -06:00
Nathan Hartman
9655730ef8
Fix various typos and spelling errors.
2019-12-12 07:41:51 -06:00
Petro Karashchenko
813902cf87
arch/arm/src/am335x and boards/arm/am335x/beaglebone-black: Add I2C support for AM335X.
2019-12-10 20:22:25 -06:00
Gregory Nutt
897378bc29
Remove support for generation of RRLOAD binary files. The RRLOAD binary format was used with Linux BSPs from www.ridgerun.com circa 2000-2001. It is still need by the the c5471 board if that bootloader is used. Removes the CONFIG_RRLOAD_BINARY option and tools/mkimage.sh
...
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.
2019-12-09 11:29:12 -06:00
Gregory Nutt
b2035ebb1c
boards/arm/imxrt/imxrt1020-evk/src/imxrt_autoleds.c: Must include imxrt1020-evk.h
2019-12-08 08:24:02 -06:00
Gregory Nutt
3e85a7e53d
boards/arm/imxrt/imxrt10x0-evk/include/board.h and src/imxrt10x0-evk.h: Board internal GPIO definitions were erroneously moved to board.h in a previous comment. This restores them to where they belong in the private imxrt10x0-evk.h header file.
2019-12-08 08:02:31 -06:00
Gregory Nutt
dd55d4d8d6
board.h edited online with Bitbucket
...
Fixes a stray chacter introduced in a previous commit.
2019-12-08 12:26:55 +00:00
Brennan Ashton
56c68c4db6
boards/arm/imxrt/imxrt1020-evk: Fix several errors relation to USBOTG: pin definitions in include/board.h and include path for imxrt_usbotg.h in src/imxrt_usbhost.c.
2019-12-07 21:45:39 -06:00
Gregory Nutt
2437e68d88
boards/arm/stm32/nucleo-f4x1re/src: board.h must always be the last header file included.
2019-12-07 10:17:22 -06:00
Gregory Nutt
703b8303fc
boards/arm/stm32/nucleo-f4x1re/include/board.h: board.h header files must never include architecture-specific header files.
2019-12-07 09:43:59 -06:00
Gregory Nutt
9e4602a2f4
drivers/mtd: Apply tools/nxstyle to a few files. Lots more to check.
2019-12-07 08:25:16 -06:00
Guillherme Amaral
15f358d6a9
arch/arm/src/stm32f0l0g0: Fix PWM on TIM16 not working: Adjust TIM registers, Add pins available for mapping TIM14-17, CCMR2 registers was being handled for TIMs who do not have it, and Fix PWM frequency being doubled when in center-aligned mode.
2019-12-02 09:14:56 -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
108ffe7044
Within the OS, nxisg_sleep() should be used instead of sleep(). sleep() is a cancellation point and sets the errno value. Neither of which should be done inside the OS.
2019-11-29 19:03:24 -06: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
Dave Marples
f410d9711a
boards/arm/imxrt/imxrt10x0-evk/include/board.h: Set up TRACE clocking correctly. This also reverts 7dcd57aa4a
.
2019-11-29 14:54:08 -06:00
Gregory Nutt
7dcd57aa4a
boars/arm/imxrt/imxrt10x0-evk/include/board.h: Define IMXRT_TRACE_CLK_SELECT with arbitrary value just to get through build testing.
2019-11-28 11:18:42 -06:00
Gregory Nutt
f691d774cc
STM32 F7 SDMMC: Cosmetic changes from application of tools/nxstyle to all files modified in last PR.
2019-11-25 08:00:45 -06:00
OSer
56f8af5db3
Merged in OSer916/nuttx/stm32f746g_disco_sd_card (pull request #1075 )
...
Stm32f746g disco sd card
* arch/arm/src/stm32f7/stm32_sdmmc.c: fix compile error
* boards/arm/stm32f7/stm32f746g-disco: add SD/TF Card Support
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-25 13:54:45 +00:00
Gregory Nutt
27b6132601
Run files changed in last PR through tools/nxstyle, fix several coding standard violations.
2019-11-21 07:50:37 -06:00
OSer
e1f904c943
Merged in OSer916/nuttx/stm32f746g-disco-n25q (pull request #1074 )
...
stm32f746g-disco board add n25q128 support
* arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h: fix QSPI pin
config.
* arch/arm/src/stm32f7/stm32_qspi.c: fix gpio_dumpgpioconfig() function,
fix qspi_command() function
* boards/arm/stm32f7/stm32f746g-disco/README.txt: fix board path
* boards/arm/stm32f7/stm32f746g-disco: add n25q128 function
* boards/arm/stm32f7/stm32f746g-disco/scripts/Make.defs: use st-flash tool to write fireware on Linux
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-21 13:39:45 +00:00
Gregory Nutt
bb6a3341aa
boards/arm/stm32h7/nucleo-h743zi/src: Ran all .c and .h files through tools/nxstyle
2019-11-18 16:36:34 -06:00
Lwazi Dube
25aa695a35
Reviewed by David Sidrane.
...
boards/arm/stm32h7/stm32h747i-disco: Remove references to nucleo in the stm32h747i-disco board.
arch/arm/include/stm32h7, arch/arm/src/stm32h7, and boards/arm/stm32h7/stm32h747i-disco: Add support for the STM32H747I-DISCO board.
2019-11-18 14:03:38 -06:00
Gregory Nutt
3c707f6e71
boards/arm/imxrt/imxrt1060-evk/src/imxrt_lcd.c: Because board-private GPIO definitions have been moved to the public board.h (VERY BAD IDEA), breakage happened in all files that need GPIO definitions, but did not include board.h (which they should not have to).
2019-11-14 08:52:05 -06:00
Alin Jerpelea
64aff3bf6d
boards/arm/lpc17xx_40xx/lincoln60/src/lincoln60.h: Fix ifdef string. The old configs folder was migrated to Boards/<arch> and we should fix the ifdef.
2019-11-12 08:13:39 -06:00
Alin Jerpelea
5e8eb7776d
boards/arm/imxrt/imxrt1020-evk/src/imxrt1020-evk.h: Fix ifdef string. The old configs folder was migrated to Boards/<arch> and we should fix the ifdef.
2019-11-12 08:12:26 -06:00
Gregory Nutt
a9b220f169
boards/arm/imxrt/imxrt1020-evk: Make naming of the LED consistent. In most places it is referred to as LED1. In board.h it is referred to as USERLED1. The i.MXRT1020-EVK hardware user guide (HUG) uses the name USERLED. This command makes all names internally consistent and consistent with the HUG. Noted by Alin Jerpelea.
2019-11-11 16:27:53 -06:00
Alin Jerpelea
eb126f58c9
boards/arm/imxrt/imxrt1020-evk: Fix ifdef string. The old configs folder was migrated to Boards/<arch> and we should fix the ifdef.
2019-11-11 16:06:43 -06:00
Dave Marples
27a6039501
boards/arm/imxrt/imxrt1060-evk: An update to the configuration on imx1060-evk to remove compilation warnings about duplicated definitions. No functional changes.
2019-11-10 20:34:04 -06:00
Gregory Nutt
5b47b535a0
boards/arm/imxrt/imxrt10*0-evk/include/board.h: Put all LCD definitions together.
2019-11-09 12:18:13 -06:00
Gregory Nutt
a450b85dc8
boards/arm/imxrt/imxrt1020-evk/include/board.h: Revert part of 2b4db647ec
. The 1020, has no LCD.
2019-11-09 10:28:28 -06:00
Gregory Nutt
2b4db647ec
board/arm/imxrt: Because of that last dumb pin naming change, we now have to define EVERY pin in the board.h head file. How idiotic!
2019-11-09 10:22:45 -06:00
Gregory Nutt
731fddd8e3
boards/arm/imxrt/imxrt1020-evk/include/board.h: Fix an error that I introduced with code review.
2019-11-09 09:55:16 -06:00
Dave Marples
4835c4c017
i.MXRT 106x: pinmux change sof the 1060's.
2019-11-08 18:20:14 -06:00
Gregory Nutt
e2905bc69c
boards/arm/imxrt/imxrt1020-evk: Run all .c and .h files through tools/nxstyle and fix numerous coding violations. This sucks. The submitter of the patch is responsibile for doing this and dumping this on me is shit.
2019-11-08 17:49:29 -06:00
Dave Marples
b10737864f
boards/arm/imxrt/imxrt1020-evk: Add support for the MIMXRT1021-EVK board. It features nsh, netnsh and usdhc sample configurations.
2019-11-08 17:18:01 -06:00
Dave Marples
15c2951c0d
This commit, initially for the imxrt1050, separates out the pinmux and iomux functions cleanly. For ease of conversion default IOMUX definitions have been added into imxrt_iomux.h. The change effectively does two things;
...
(1) unifies the iomux definitions - previously some pins had them, and some didn't. This effectively made it impossible to use the pinmuxes without editing the header file in the standard distribution tree.
(2) unifies the pin definitions so that every pin now has a suffix. This makes it *much* easier to see when a pin is in use in your code, because it will always have a definition in your board.h file.
For anyone who is already using this CPU, a couple of small changes are needed to existing code;
In respect of (1) add IOMUX decorators to your pin definitions. You will find defaults in haardware/imxrt_iomux.h. Every pin should have a IOMUX decorator and in general the defaults should be OK. So while previously in your board.h file you might have had;
You will now have;
In respect of (2) you will need to add selectors for any function that previously only had one pinning option. There aren't many of those but LPUART1 is a good example. That just means adding into your board.h something like;
2019-11-08 17:08:48 -06:00
Han Raaijmakers
d86a9c6374
boards/arm/s32k1xx/s32k146evb/scripts/s32k146.cfg and boards/arm/s32k1xx/s32k146evb/README.txt: Added configuration script and instructions for using Thread-Aware OpenOCD for the S32K146 with Eclipse.
2019-11-07 07:38:58 -06:00
David S. Alessio
87329ebf67
boards/arm/stm32/olimex-stm32-e407/scripts/: Individual linker scripts for F407ZE and F407ZG chips.
2019-11-05 18:35:23 -06:00
Heiko Demlang
7b6bd5cc0f
boards/arm/stm32h7/nucleo-h743zi/src: Added gpio-device-driver for userspace apps.
2019-11-05 14:14:55 -06:00
Gregory Nutt
e2976c5b4e
boards/../stm32_appinit.c: Handle cases where 'OK' is not defined.
2019-11-05 07:47:12 -06:00
Gregory Nutt
dc3ae12545
boards/arm/stm32/nucleo-f4x1re/src/stm32_boot.c: Fix some erroneous conditional compilation in board_late_initialize().
2019-11-04 14:20:15 -06:00
Gregory Nutt
7218f6431c
boards/arm/stm32f0l0g0/nucleo-g070rb/src/stm32_boot.c: Fix some erroneous conditional compilation in board_late_initialize().
2019-11-04 14:16:43 -06:00
Daniel Pereira Volpato
4c5cbdfae3
boards/arm/stm32f0l0g0/nucleo-g070rb: boards/arm/stm32f0l0g0/nucleo-g070rb: Add button driver support, Add driver support. Add GPIO example. Includes fixes to the GPIO driver support from Guillherme Amaral <gvr@certi.org.br>.
2019-11-04 14:11:36 -06:00
Alin Jerpelea
516945d97e
boards/arm/cxd56xx/spresense/configs/lte/defconfig: Select CONFIG_MODEM_ALTMDM.
2019-11-04 07:18:18 -06:00
DisruptiveNL
41d9365f06
drivers/can/mcp2515.c and boards/arm/stm32/nucleo-f4x1re: MCP2525 SPI STD-EXT ID fixes. Verified on MCP2525 tested on nucleo-f4x1re.
2019-10-28 08:02:15 -06:00
Gregory Nutt
46bec8e030
arm/stm32/stm32vldiscovery/src/stm32_bringup.c: Fix a copy paste error introduced with commit 637004e70c
.
2019-10-27 18:40:38 -06:00
Gregory Nutt
7dad735fc3
boards/arm/kinetis/twr-k60n512/src/k60_appinit.c: Suppress errors related to card detect GPIO configuration if SDHC support is not enabled.
2019-10-27 18:02:16 -06:00
Matias N
fd625eaa89
arch/arm/src/stm32l4 and boards/arm/stm32l4/nucleo-l476rg: Add support for LPTIM timers on the STM32L4 as PWM outputs.
2019-10-27 17:21:32 -06:00
Gregory Nutt
637004e70c
boards/arm/stm32/stm32vldiscvoery/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 15:58:26 -06:00
Gregory Nutt
53d5174f82
boards/arm/a1x/pcdueno-a10/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 15:19:52 -06:00
Gregory Nutt
ba0afebdcb
arch/arm/src/stm32 and boards/arm/stm32/olimex-stm32-p207/src: Fix an error found in build testing. There is not relationship be CONFIG_STM32_USBHOST and CONFIG_USBHOST, yet they they are used interchangably. This means that can (and did) get out of synch causing link time failures. This commit adds logic to select CONFIG_USBHOST when CONFIG_STM32_USBHOST is selected, keeping the two settings syncrhonized. Furthermore, since CONFIG_STM32_USBHOST is the authoritative setting, all ocurrences of CONFIG_USBHOST were replaced with CONFIG_STM32_USBHOST in the architecture code and in this one board code that was producing the error in build testing.
2019-10-27 15:02:56 -06:00
Gregory Nutt
858768e84b
boards/arm/dm320/ntosd-dm320/src/: Fix error found in build testing. All configurations must provide boar_app_initialize() which is required if CONFIG_LIB_BOARDCTL is enabled.
2019-10-27 14:49:05 -06:00
Gregory Nutt
175131fb31
boards/arm/sama5/sama5d4-ek/src/sam_appinit.c: Fix error found in build testing. Bad conditional compilation for board_app_initialize(). Should depend only on CONFIG_LIB_BOARDCTL, CONFIG_BUILD_KERNEL is irrelevant.
2019-10-27 13:49:25 -06:00
Gregory Nutt
86a5eae270
boards/arm/stm32/axoloti: Every BSP must provide boot board_late_initialize() AND board_app_initialize(). That is because you never now how the configuration will be set. CONFIG_LIB_BOARDCTL may be auto-selected by applications that need boardctl() support... requiring the existence of board_app_initialize().
2019-10-26 17:45:45 -06:00
Gregory Nutt
d7155a0208
boards/arm/am335x/beaglebone-black/src: Fix typos, AM355x->AM335x
2019-10-26 17:06:28 -06:00
Jussi Kivilinna
49ade3ca72
Merged in jussi_kivilinna/nuttx/stm32l4r_add_dmamux (pull request #1062 )
...
Add DMA support for STM32L4+ series
* Add DMA support for STM32L4+
* stm32l4xrxx_rcc: enable "Range 1 boost" mode if any PLL freq above 80 Mhz
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-25 13:05:56 +00: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
Fabio Balzano
19c61dbe4b
boards/arm/imxrt/imxrt1060-evk: Fix FT5X06 CTRSTn pin configuration, increased number of pollwaiters for the FT5X06, tuned resolution during pointer dragging.
2019-10-24 08:19:02 -06:00
Gregory Nutt
34ac62433b
boards/arm/imxrt/imxrt1060-evk/README.txt: Added instructions to run the LVGL demo.
2019-10-23 13:24:57 -06:00
Fabio Balzano
85fb2a81e8
boards/arm/imxrt/imxrt1060-evk/README.txt: Fix typos and whitspace problems in README file.
2019-10-23 13:22:25 -06:00
Fabio Balzano
d7d5a7541d
boards/arm/imxrt/imxrt1060-evk: Added Littlevgl demo configuration into imxrt1060-evk board directory.
2019-10-23 13:19:13 -06:00
Fabio Balzano
5ca0b57a59
i.MXRT1060-EVK (mostly): Add basic LCD support for the board IMXRT1060-EVK.
2019-10-23 13:17:30 -06: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
Masayuki Ishikawa
7389f86561
Merged in masayuki2009/nuttx.nuttx/stm32f4dis_with_gs2200m (pull request #1057 )
...
stm32f4dis with gs2200m
* drivers: wireless: Add SPI_SELECT() to _read/write_data() in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: stm32f4discovery: Add support for gs2200m
NOTE: GS2200M for Spresense works with mikroe STM32F4 Discovery Shield (slot3)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-22 13:38:41 +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
Fabio Balzano
8bfb9a486e
boards/arm/imxrt/imxrt1060-evk/src/imxrt_lcd.c: Add support for LCD. Clean up some LCD-related interfaces.
2019-10-20 10:46:21 -06:00
Gregory Nutt
1386e70d85
boards/arm: Fix/verify to errors found in build testing.
2019-10-19 15:25:38 -06:00
Gregory Nutt
d6b4e90d70
arch/arm/src/s32k1xx: Support configuration and initialization of the flash configuration bytes. boards/arm/s32k1xx/s32k1**evb/scripts/flash.ld: Create a special FLASH section to hold the FLASH configuration bytes.
2019-10-19 13:14:02 -06:00
Gregory Nutt
e77ea539a4
boards/arm/am335x/beaglebone-black/src/: Use the same bring-up structure is is used with other boards.
2019-10-18 07:37:36 -06: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
c3b6a2892d
Merged in masayuki2009/nuttx.nuttx/stm32f4dis-mmcsdspi (pull request #1053 )
...
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>
2019-10-18 02:38:16 +00:00
Daniel Pereira Volpato
1f46e294a3
boards/arm/stm32f0l0g0/nucleo-g070rb: Add PWM support and GPIO_TIM3_* mappings
...
boards/arm/stm32f0l0g0/nucleo-g070rb/configs/nsh: Enable PWM example
2019-10-17 12:06:10 -06: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
Masayuki Ishikawa
679fe23045
Merged in masayuki2009/nuttx.nuttx/fix_posix_spawn (pull request #1049 )
...
Fix posix spawn
* boards: lc823450-xgevk: Fix build error for posix_spawn
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: stm32f4discovery: Fix build error for posix_spawn
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-13 00:25:47 +00:00
Matias N
8ccb5fabf8
libs/libxx/Kconfig: CONFIG_LIBC_LOCALE is needed to build libcxx. A
...
math library is also needed, however, here are various ways to provide a
math library so CONFIG_LIBM is not now set.
boards/arm/stm32l4/nucleo-l476rg/scripts/Make.defs: Add required
definitiions if libcxx is enabled.
2019-10-12 08:51:13 +08: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
Daniel P. Volpato
0142dd96a2
Add files that were supposed to be included as part of 0d1934a740
.
2019-10-11 14:47:53 +08: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
Daniel Pereira Volpato
f800529f67
boards/arm/stm32f0l0g0/nucleo-g070rb/include/board.h: Add TIMx clock frequencies
...
boards/arm/stm32f0l0g0/nucleo-g070rb: Enable basic timers
2019-10-07 22:10:32 -06:00
Xiang Xiao
3bc62f1ccc
Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:39:12 -06:00
Gregory Nutt
6a0545ec6b
Trivial cleanup from re-review of last patch set.
2019-10-05 14:27:01 -06:00
DisruptiveNL
8d435b2e2d
boards/arm/tiva/tm4c123g-launchpad/: SPI CAN functionality on TM4C123GXL - ek-tm4c123gxl_spi_can.
2019-10-05 14:18:08 -06: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
Xiang Xiao
2d794f4102
Configuration: Auto-select CONFIG_BUILD_LOADABLE when either CONFIG_BUILD_KERNEL or CONFIG_BINFMT_LOADABLE is selected.
2019-09-30 06:57:16 -06:00
Nathan Hartman
46aaec7ba0
Fix minor typos in docs and comments.
2019-09-29 12:52:20 -06:00
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
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
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
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
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
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
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
Juha Niskanen
822bb06967
Fix some typos. Also minor update to stm32f7/nucleo-144/README.txt and stm32l4/nucleo-l496zg/README.txt board documentation.
2019-09-05 08:12:50 -06:00
Nathan Hartman
ce8fb54d07
Fix various typos
2019-09-03 17:00:22 -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
Gregory Nutt
c6434e3182
boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig: Correct shit defconfig file. Recent patch dumped a prohibited .config file as the defconfig file when a proper defconfig file created via 'make savdefconfig' is required. Bad.
2019-08-31 14:35:17 -06:00
Gregory Nutt
e5c3874a3b
Tiva directories: Fix TM4C129XNCZAD part number in Kconfig and identifiers. Rationale: Fully specify that this is the 212-pin BGA package (ZAD ending) and for consistency with earlier changes to other Tiva TM4C12x part numbers in Kconfig names and identifiers.
2019-08-30 08:46:57 -06:00
Gregory Nutt
dc09d7018b
Coding style fixes. Run every new file through tools/nxstyle to assure that it is close to the NuttX coding standard.
2019-08-30 08:37:27 -06:00