Nathan Hartman
bb10e0fc25
Add support for STM32G474: Add B-G474E-DPOW1 board
...
Add support for the STM32G474 family of microcontrollers and the
B-G474E-DPOW1 Discovery Board, which features a STM32G474RET6.
This is a major pull request as it adds support for an entirely
new family of STM32. This support is implemented in
arch/arm/src/stm32 and shares implementation with other STM32
families supported by that code, such as the 'L15xx, 'F10xx,
'F20xx, 'F3xxx, and 'F4xxx.
boards/Kconfig:
* Make NuttX recognize the existence of b-g474e-dpow1,
the B-G474E-DPOW1 Discovery Board.
boards/arm/stm32/b-g474e-dpow1/Kconfig:
boards/arm/stm32/b-g474e-dpow1/README.txt:
boards/arm/stm32/b-g474e-dpow1/configs/nsh/defconfig:
boards/arm/stm32/b-g474e-dpow1/include/board.h:
boards/arm/stm32/b-g474e-dpow1/scripts/Make.defs:
boards/arm/stm32/b-g474e-dpow1/scripts/ld.script:
boards/arm/stm32/b-g474e-dpow1/src/.gitignore:
boards/arm/stm32/b-g474e-dpow1/src/Make.defs:
boards/arm/stm32/b-g474e-dpow1/src/b-g474e-dpow1.h:
boards/arm/stm32/b-g474e-dpow1/src/stm32_appinit.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_autoleds.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_boot.c:
boards/arm/stm32/b-g474e-dpow1/src/stm32_userleds.c:
* Add minimal support for the B-G474E-DPOW1 Discovery
Board. The board boots successfully through to the
NSH prompt. NSH runs and is responsive.
With big thanks for detailed code review and suggestions:
David Sidrane (davids5)
Mateusz Szafoni (raiden00)
Abdelatif Guettouche (Ouss4)
2020-05-23 09:02:00 -03:00
Masayuki Ishikawa
287b9f9c38
drivers: wireless: Add WPA2-PSK in AP mode for gs2200m
...
NOTE: By default, WPA2-PSK is used instead of WEP
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-05-22 10:20:07 +02:00
Masayuki Ishikawa
76e216981e
boards: spresense: Increase CONFIG_CXD56_AUDIO_NUM_BUFFERS for streaming
...
NOTE: http audio streaming is more stable now
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-21 12:46:10 +02:00
Xiang Xiao
1a95cce1a3
build: Move .config check to the top Makefile
...
remove the workaround to handle the inexistence of .config/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-20 17:57:34 +01:00
Masayuki Ishikawa
3fdbff3638
boards: spresense: Add nxplayer to rndis and wifi configs
...
NOTE: currently audio driver supports fs=48kHz only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-20 10:09:58 +02:00
Masayuki Ishikawa
28a0efb075
boards: imxrt1060-evk: Update netnsh/defconfig
...
- Fix CONFIG_LIB_HOSTNAME entry
- Enable dns client and add renew command
- Enable command line history
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-20 11:20:11 +08:00
liuhaitao
a3b643fdc1
olimex-stm32-p407: update HAVE_MODSYMS judge for protected build
...
Fix build break as below:
arm-none-eabi-ld: stm32_bringup.c:(.text+0x50): undefined reference to `g_mod_exports'
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-19 19:23:54 +01:00
Xiang Xiao
7faf3c0254
build: replace ${TOPDIR} with $(TOPDIR) in Makefile
...
make the usage consistence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
567962bd62
build: Move the extension definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
8b42ee421a
build: Move MKDEP definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Xiang Xiao
9ec9431706
build: Move DIRLINK/DIRUNLINK definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 19:23:18 +01:00
Masayuki Ishikawa
3387da6316
boards: spresense: Add ftpc to wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-19 07:02:33 +02:00
Masayuki Ishikawa
bb39907b9c
boards: spresense: Add ftpc and ftpd to rndis/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-19 07:02:33 +02:00
Masayuki Ishikawa
d5c45fbd49
boards: lm3s6965-ek: Update discover/defconfig
...
- Remove old toolchain and buildroot support
- Enable builtin and add hello and renew commands
- Enable procfs and change name size to 24
- Enable stack coloration
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-05-18 19:59:35 -06:00
Xiang Xiao
5eae32577e
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Xiang Xiao
bd656888f2
build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig
...
so the correct value can be determinated by Kconfig system automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:02:55 -06:00
Gregory Nutt
a569006fd8
sched/: Make more naming consistent
...
Rename various functions per the quidelines of https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+OS+Internal+Functions
nxsem_setprotocol -> nxsem_set_protocol
nxsem_getprotocol -> nxsem_get_protocol
nxsem_getvalue -> nxsem_get_value
2020-05-17 14:01:00 -03:00
Pierre-Olivier Vauboin
671191d7a1
boards/arm/stm32h7/stm32h747i-disco: fix nxstyle warnings
2020-05-15 23:11:33 +01:00
Pierre-Olivier Vauboin
4585af393c
boards/arm/stm32h7/stm32h747i-disco: change the license header of all new files to an Apache 2.0 license.
2020-05-15 23:11:33 +01:00
Pierre-Olivier Vauboin
2d43c57a67
boards/arm/stm32h7/stm32h747i-disco: SDMMC card detect interrupt
2020-05-15 23:11:33 +01:00
Pierre-Olivier Vauboin
583d81e3de
boards/arm/stm32h7/stm32h747i-disco: bring FAT DMA allocator
...
Buffers are allocated in the main ram, which is suitable for use with the
underlying STM32H7 SDMMC1 core in IDMA mode.
Files are copied from stm32f7/nucleo-144.
2020-05-15 23:11:33 +01:00
Pierre-Olivier Vauboin
369293dd84
boards/arm/stm32h7/stm32h747i-disco: bring support for SDMMC
2020-05-15 23:11:33 +01:00
Nathan Hartman
8d985819b3
Fix typos
...
Comments only. No functional changes.
2020-05-14 10:49:44 -06:00
Masayuki Ishikawa
0bd5dda2a3
boards: spresense: Remove CONFIG_EXAMPLES_FTPC=y to avoid compile error on CI
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-05-14 14:17:47 +02:00
Masayuki Ishikawa
d2de9238a4
boards: spresense: Add support ftpc and ftpd to wifi/defconfig
...
NOTE: lpwork's priority has been changed from 30 to 60 to avoid an
error when calling getsockname() just after connect() in ftpc.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 14:17:47 +02:00
Matias Nitsche
c86258c9a0
stm32 nunchuck: small fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
e0d21275df
fix all remaining nxstyle errors
2020-05-14 08:32:48 +02:00
Matias Nitsche
2d8a534ef5
nxstyle
2020-05-14 08:32:48 +02:00
Matias Nitsche
5fd9bd5837
stm32: moved all remaining sensor initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
05e005c58e
stm32: move ina219 initialization to common board logic directory
2020-05-14 08:32:48 +02:00
Matias Nitsche
60d51f2907
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
4fdf2520e6
stm32: move qencoder initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
856c3e4263
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
cf1ff36e0e
stm32: move zerocross sensor initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
562210a9bd
stm32: move APDS9960 initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
beba7a8f0b
stm32: move HCSR04 initialization to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
382ccf7b79
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
126be360fa
stm32: fix NRF24L01 initialization for stm32_tiny
2020-05-14 08:32:48 +02:00
Matias Nitsche
c442725f23
nxstyle fix
2020-05-14 08:32:48 +02:00
Matias Nitsche
6ca46520df
stm32: migrate all boards to common logic system (Makefile -> Make.defs)
2020-05-14 08:32:48 +02:00
Matias Nitsche
64987db9e1
stm32: use macros from board.h to pass configuration to common board logic, not structs
2020-05-14 08:32:48 +02:00
Matias Nitsche
944ed5ae0a
stm32: move NRF24L01 support into common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
7c7836d1d7
stm32: move lm75 handling into common board logic; delete unused lm75 file for stm3210e-eval
2020-05-14 08:32:48 +02:00
Matias Nitsche
35471e33dc
stm32: move ssd1306 and tone driver handling to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
717fa46a53
stm32: move nunchuck driver to common board logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
d444df59af
stm32: move APA102, VEML6070 and MAX6675 initialization to board common logic
2020-05-14 08:32:48 +02:00
Matias Nitsche
cf8206a0cb
nxstyle fixes
2020-05-14 08:32:48 +02:00
Matias Nitsche
edafeccc9f
stm32: make BMP180 initialization part of stm32 board-common logic
2020-05-14 08:32:48 +02:00
Gregory Nutt
801b9d6e5f
arch/arm: Remove support for old redundant toolchains.
...
Remove support for the Codesourcery, Atollic, DevKitArm, Raisonance, and CodeRed toolchains. Not only are these tools old and no longer used but they are all equivalent to standard ARM EABI toolchains. Retaining specific support has no effect (they are still supported, but now just as generic EABI toolchains).
2020-05-13 18:41:10 +01:00
Xiang Xiao
7ffafa3654
Remove executable bit from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-13 06:32:13 -06:00