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