Pieter du Preez
79b9f526d3
Squashed commit of the following:
...
Author: Gregory Nutt <gnutt@nuttx.org>
boards/arm/stm32l4/nucleo-l432kc/Kconfig: Correct use of spaces instead of TABs in Kconfig file.
Author: Pieter du Preez <wingunder@users.noreply.github.com>
Added Kconfig pin config chooser for nucleo-l432kc USARTs. (#11 )
The USART pins were hard-coded for the nucleo-l432kc. This patch makes
these pins configurable via menuconfig.
2019-12-31 08:02:32 -06:00
Daniel Pereira Volpato
54d6a0768c
boards/arm/stm32f0l0g0/: Fix issues noted by nxstyle.
2019-12-20 13:07:31 -06:00
Guillherme Amaral
b9638de388
boards/arm/stm32f0l0g0/nucleo-g070rb: Enable I2C.
2019-12-20 13:04:34 -06:00
Guillherme Amaral
eeed40aa0c
arch/arm/src/stm32f0l0g0/ and boards/arm/stm32f0l0g0/nucleo-g070rb/include/board.h: Add I2C pinmap. In Kconfig select I2C2 for this part. Update I2C pin definitions in board.h.
2019-12-20 13:02:13 -06:00
raiden00pl
d80d6b8774
Merged in raiden00/nuttx_nrf52 (pull request #1098 )
...
nrf52 updates
arch/arm/nrf52: add more options to Kconfig
arch/arm/nrf52: cosmetics changes to some files
arch/arm/nrf52: nfct, radio, twi, spi registers definitions
arch/arm/nrf52: fix warnings in nrf52_gpio.c
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-19 15:40:56 +00:00
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