Masayuki Ishikawa
4cf307584f
boards: spresense: Remove CONFIG_SCHED_LPWORK=y from wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-19 21:11:46 -05:00
Brennan Ashton
fe0b5df223
boardctl: Remove warning pragma on BOARDIOC_USBDEV_CONNECT
...
We already have a debug assert and a return error this warning
will fail builds that are not even using this ioctl.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-07-19 15:49:13 -03:00
Brennan Ashton
470624fa78
Use AVR Linux toolchain instead of buildroot
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-07-19 15:49:13 -03:00
raiden00pl
f6235c52f7
boards/arm/nrf52/nrf52840-dk: add highpri example configuration
2020-07-18 20:00:52 +01:00
Xiang Xiao
ac7e5de5ae
libxx: Integrate uClibc++ latest official release
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I05377a0a7674f1cbe461ce67960bd3dc62729337
2020-07-17 21:40:34 +01:00
Adam Feuer
85811957c9
implement system reset on SAMA5D27
...
- makes nsh reboot command work
Squashed commit of the following:
commit 5193f6ae9623bfb4d3bed4ecf3d0fb9ae1bfb6e8
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 16 16:41:54 2020 -0700
removed conflict tag that was missed
- result of an incorrectly fixed bad merge
commit 731108ea7495655e96e516448887ca8c9ab354d1
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 16 16:12:30 2020 -0700
implement system reset to make nsh reboot work
Squashed commit of the following:
commit 245d155cc58d31af412f2b832877736b2088b896
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 16 16:10:10 2020 -0700
add Kconfig setting for system reset
commit e7d5def8151821bf359c55c05ba1f59421b2371a
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 16 15:51:35 2020 -0700
implement system reset to make nsh reboot work
2020-07-17 13:32:22 +01:00
Adam Feuer
65a866fbe2
support for SAMA5D27 SDMMC peripheral
...
- MMC and SD Card driver
- ported from imxrt_usdhc.c
Squashed commit of the following:
commit 46cbe18ad6a6e41ec2727d839f86f5670577878a
Author: Adam Feuer <adam@starcat.io>
Date: Wed Jul 15 10:28:02 2020 -0700
nxstyle change - Public Function Prototypes
- instead of Public Functions
commit 486b7b62e83a78ae15b114e34846900d8fef8248
Author: Adam Feuer <adam@starcat.io>
Date: Wed Jul 15 10:06:51 2020 -0700
nxstyle changes
commit 28280d585a40aac99fd0e538295828ea013739b7
Author: Adam Feuer <adam@starcat.io>
Date: Wed Jul 15 10:06:29 2020 -0700
removing unused enum value
commit 7da6ba437e7e023d348e63c497732fea985a2d1b
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 21:17:49 2020 -0700
CI build error fixes
- unused vars
- incorrect method calls
commit 145a73449b9d1eaed8a6cbf47cb53fb5b7a551f6
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 17:29:56 2020 -0700
adding #defines to prevent unused var warning
commit 47ed2c08235816caded26a019cf33899daed1621
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 16:29:07 2020 -0700
removing obsolete config values
commit b43f129c03a8bb8dc57ae6984d124ce9e9306196
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 09:58:42 2020 -0700
removed obsolete config setting
commit 23e3af846ac24cac928442c7af86c5d0ef183ad3
Merge: 8b47330fe5 6f6d61eec4
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 09:53:12 2020 -0700
Merge remote-tracking branch 'upstream/master' into feature/sama5d27-sdmmc-support
commit 8b47330fe5bb49bbd1991f2f3e2c69bdfb833d2c
Author: Adam Feuer <adam@starcat.io>
Date: Tue Jul 14 09:51:56 2020 -0700
replaced license headers with Apache License 2.0
commit 865e69b9a84d077ab9e05c2056dc7a515222c6c7
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 9 18:38:01 2020 -0700
SAMA5D2x SDMMC peripheral support (SD Card driver)
- reading and writing at 25 MHz and 50Mhz
- UHS_SDR50, UHS_DDR50, and UHS_SDR104 are supported
- ported from imxrt_usdhc.c
- only tested on SAMA5D27
Squashed commit of the following:
commit e3122baef2feaeb32bb00798ae56310b2cc5c448
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 9 18:30:03 2020 -0700
added sdmmcnsh defconfig and basic docs
commit 12a290d7465a0a006473ba67893bf891a7bcea83
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 9 17:50:06 2020 -0700
nxstyle changes
commit 33409c0f63c328dc200150ba883327cadf0300b2
Author: Adam Feuer <adam@starcat.io>
Date: Thu Jul 9 16:15:00 2020 -0700
add short delay to in recvshortcrc
- to allow SDMMC to respond
commit 3be7a7fb6f79900042d1fdbef72810f364ac5f62
Author: Adam Feuer <adam@adamfeuer.com>
Date: Thu Jul 9 10:54:59 2020 -0700
added SDR50 and SDR104 SDMMC bus modes
commit 2888408866548ca53e582ea1525178a7733617b4
Author: Adam Feuer <adam@adamfeuer.com>
Date: Thu Jul 9 10:54:25 2020 -0700
comment formatting cleanup
commit 06cf2c39193971155eaa6f9c89a39a88b53964a8
Author: Adam Feuer <adam@adamfeuer.com>
Date: Thu Jul 9 10:34:01 2020 -0700
removed unneeded comment
commit ac89b69231bdf19563754865fda93d4bbbb4488d
Author: Adam Feuer <adam@adamfeuer.com>
Date: Thu Jul 9 10:30:23 2020 -0700
code cleanup
- removing custinfo() logging
- remove duplicate #defines
- move var declarations to the beginning of methods
commit bcd4abec7935ee9023ab72edfb02685dbeee243c
Author: Adam Feuer <adam@adamfeuer.com>
Date: Wed Jul 8 16:34:31 2020 -0700
handle SDMA Boundary Pause interrupt (DMAINT)
- SDMMC_INT_DINT
- add to waitints
- add handler to sam_interrupt
commit e9da026c1270e999df520ee2c60487195799f58c
Author: Adam Feuer <adam@adamfeuer.com>
Date: Tue Jul 7 16:07:34 2020 -0700
Kconfig setting for SDMMC bus speed
- 25 and 50 MHz
- 50 MHz is the default
commit 9edc636b7f18f981d653f85970c3af0b80801778
Author: Adam Feuer <adam@adamfeuer.com>
Date: Mon Jul 6 21:55:51 2020 -0700
added HSEN bit change for high speed mode
- above 26 MHz
commit b8e91c95b0f7b2f8220f02b1eb42b6134e0660d0
Author: Adam Feuer <adam@adamfeuer.com>
Date: Mon Jul 6 21:28:03 2020 -0700
added calloc to fix bug
- not sure why this works.
commit 1ceaf2f8487fe39d4d6fb21adecd57e4c4992e07
Author: Adam Feuer <adam@adamfeuer.com>
Date: Mon Jul 6 21:25:47 2020 -0700
removing spurious typo characters
commit 14ba51743bcca35686b07a76f5af17bcce078a5f
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 18:10:46 2020 -0700
nxstyle changes
commit d8af26df47b7840117de0d3a44ec548b3a72bc2b
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 17:01:11 2020 -0700
nxstyle changes
commit 0ae532bd62d02c5ac36aa2192f31fa1f7f1cde99
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 16:37:17 2020 -0700
remove long lines in comments - nxstyle
commit 3d025a84f8e9ddb7f7a4570504118d782dd5574c
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 16:36:52 2020 -0700
removed custinfo logging
commit 366b5d9d241a42d693583679cb49aa7bf25615aa
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 16:35:08 2020 -0700
removed custinfo logging
commit c74396e4a4943873c7de5b6ffee193787c39baef
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 16:34:36 2020 -0700
fixed typo
commit 7f51e99d7f4c1e5e0bf71a84fd0b2467157fea59
Merge: c40f8c1039 2481b1bfd5
Author: Adam Feuer <adam@adamfeuer.com>
Date: Sat Jul 4 15:33:06 2020 -0700
Merge remote-tracking branch 'upstream/master' into feature/sama5d27-sdmmc-support
commit c40f8c10390ecefeb3a113046edd6740b07ab31b
Author: Adam Feuer <adam@adamfeuer.com>
Date: Thu Jul 2 22:08:20 2020 -0700
SDMMC support for SAMA5D27
2020-07-16 23:39:37 +01:00
Xiang Xiao
4910d43ab0
build: Move the toolchain library setting to the common place
...
so all boards support C++ automatically
2020-07-16 15:38:08 -03:00
Xiang Xiao
f5311de6b4
boards: Remove the unused ARCHCCVERSION and ARCHCCMAJOR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I22d546693139c59c8c899479887a5f04d65edbd6
2020-07-16 11:03:53 -07:00
Masayuki Ishikawa
c4be707683
boards: stm32f4discovery: Add ELF support to wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-16 05:28:46 -05:00
Masayuki Ishikawa
22b8834735
boards: hifive1-revb: Increase UART0 RXBUFSIZE from 8 to 16
...
NOTE: This change works with pexpect
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-16 01:27:46 -05:00
Xiang Xiao
ee875b2a26
boards: Move HOSTCC/HOSTCFLAGS to tools/Config.mk
...
Make.defs under board folder can still overwrite the default as needed
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I1c300a8ace4b54d475ef8d398661ed65ca273a2e
2020-07-15 19:14:58 +01:00
Brennan Ashton
aef6f4ae09
Add initial support for the QuickLogic EOS S3
...
The QuickFeather board added as an initial target.
These featrues are minimally implemented:
* Clock Configuration -- All clocking registers are defined and
configuration is used to setup the HSO, M4 Core, and M4 Perif
clocks. Additionally some clock debugging is stubbed for
bringing out clock paths to IO pins.
* UART -- The lowputc as well as the serial driver is implemnted
for the single UART device. Currently the configuration is
hard coded, but uses the proper interfaces to later fill in.
* SysTick -- The system tick timer is implemented and clocking
properly. Tickless mode is not yet implemented.
* Interrupts -- The interrupt system is implemented and verified
using the UART and SysTick systems.
* GPIO -- GPIO and IOMUX systems are defined and implemented.
This is verified using the UART as well as the Arch LED
system. The GPIO interupt system is stubbed out but not
implemented.
* Arch LEDS -- The blue LED as part of the RGB LED is configured
and attached to the Arch LED system. This indicates the device
coming online as well as when a hardfault is triggered.
Applications and Testing:
* There is a nsh configuration implemented that includes debug
features as well as the ostest, getprime, and mem test.
All of these have been run and verified.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-07-15 11:25:30 +01:00
Masayuki Ishikawa
d214cff7d7
boards: stm32f4discovery: Update configs/posix_spawn
...
- Remove Make.defs
- Remove CONFIG_HOST_WINDOWS=y from defconfig
- Add CONFIG_RAW_BINARY=y to defconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-14 22:40:22 -05:00
Masayuki Ishikawa
df72e4566f
boards: stm32f4discovery: Update configs/elf
...
- Remove Make.defs
- Remove CONFIG_HOST_WINDOWS=y from defconfig
- Add CONFIG_RAW_BINARY=y to defconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-14 22:40:22 -05:00
Dave Marples
bc95500bab
Add buttons support to iMXRT1060
2020-07-14 23:34:08 +01:00
Xiang Xiao
d32e9c38df
boards: Move the C/C++ search path to the common place
...
so all boards support uClibc++/libc++ automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5
2020-07-13 15:11:12 -03:00
Xiang Xiao
6abd03d53f
libxx: Unify uClibc++ and libc++ config
...
code just need check CONFIG_CXX_EXCEPTION/CONFIG_CXX_LIBSUPCXX now,
instead uClibc++/libc++ specific config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I3b00a5a6701b8bf1c70de89f2d924592ca3e38b0
2020-07-13 15:08:13 -03:00
Xiang Xiao
dc55968678
arch/sim: Don't construct global C++ objects before main
...
otherwise the crash will happen because NuttX doesn't initialize yet
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Icc3f3fcd842a315bc68ae436d7a7a04aca1fc546
2020-07-11 15:06:09 -03:00
Dave Marples
3cbf6d58a5
Fix LCD pins to work correctly
2020-07-09 14:03:13 +01:00
Xiang Xiao
5da9cb3ae6
libxx: Eanble HAVE_CXXINITIALIZE automatically if LIBCXX or UCLIBCXX enable
...
otherwise the user is shocked that using cin/cout/cerr will crash the system
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I453427261f3e2a6e60f7dd2398f7d3bd1043a0d5
2020-07-09 13:19:54 +01:00
Xiang Xiao
a62b45380b
spresense:example_camera: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE
...
since it doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 12:41:19 +09:00
Alin Jerpelea
5d0b93a0d9
boards: arm: cxd56xx: enable basic snapshot camera example
...
This camera example grabs a specified number of pictures
and saves them on the available storage
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-07-08 23:59:29 +01:00
Xiang Xiao
0f235bc0b0
board/sim: Don't ignore any files under src/etc/ folder
...
see the discussion here:
https://github.com/apache/incubator-nuttx/issues/1363
2020-07-06 20:09:49 -07:00
YAMAMOTO Takashi
749e871e15
sim: Fix 32-bit module build
...
Specify -mcmodel=large only on 64-bit case. (x86-64)
The code model is not available for 32-bit.
This fixes the following error:
MODULECC: chardev.c
cc1: error: code model 'large' not supported in the 32 bit mode
Makefile:79: recipe for target 'chardev.o' failed
2020-07-03 23:48:48 -05:00
chao.an
d938e2cd46
CI check: fix nxstyle warning
...
nxstyle fixes to reduce the CI warnings
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-07-02 01:53:23 -05:00
Xiang Xiao
310b572116
board/olimex-stm32-p407: Remove CONFIG_SYSTEM_NSH_CXXINITIALIZE
...
forget in commit 49020acfdc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-01 11:00:33 -06:00
Xiang Xiao
49020acfdc
boards: Remove the unused CONFIG_xxx_CXXINITIALIZE=y
...
since cxx initialization is controlled by CONFIG_HAVE_CXXINITIALIZE now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I39438dc3006d0a0b810052ecef50cd3c92f09d83
2020-07-01 10:41:37 -06:00
Xiang Xiao
e9c7df4769
sched: Rename task_startup to nxtask_startup
...
to follow the naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I3594d12a65e8cacea99bc295d622628304c3f9f8
2020-07-01 07:55:33 -06:00
YAMAMOTO Takashi
028d0c0d15
sim: Disable stack protector for CMODULEFLAGS
...
On Linux, we (ab)use the host compiler to compile binaries for NuttX.
Explicitly disable features which might be default on the host while
not available on NuttX.
On macOS, this is not necessary because we use a cross compiler,
which has safer defaults for our purpose, to build binaries to
run on NuttX. But this doesn't hurt either.
2020-07-01 01:06:15 -05:00
YAMAMOTO Takashi
b8b2ac4f2c
sim: Sync Linux CMODULEFLAGS with macOS
...
Namely, always use -mcmodel=large.
NuttX modules are loaded into the NuttX heap, which can be out of
range for 32-bit relocations generated with -mcmodel=small.
A possible alternative would be to use MAP_32BIT to allocate sim heap.
But I prefer this approach because it's very convenient for me to
be able to share modules between Linux and macOS sim.
2020-07-01 01:06:15 -05:00
Peter van der Perk
b938348cdb
S32K1XX EEEPROM indentation fix
2020-06-30 12:46:50 -06:00
Peter van der Perk
4a40a7c3d7
S32K148EVB netdev lateinit to support Enet & CAN at the same time
2020-06-30 12:46:50 -06:00
liuhaitao
ac1641dc1b
stm32/nucleo-f412zg: refresh nsh defconfig
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-29 23:17:03 -05:00
liuhaitao
708f68a3d2
stm32/nucleo-f412zg: update nucleo-f412zg files to fix nightly build break
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-29 23:17:03 -05:00
Jacob Dahl
b12b3072e8
Added support for STM32F412xx. Tested with the NUCLEO-F412ZG dev board as well as a custom board using the STM32F412CE.
2020-06-29 17:44:35 +02:00
Xiang Xiao
d0dc72c2fb
boards/x86_64/intel64: enable CONFIG_LIBM=y
...
to fix the math.h can't be found on macOS
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-06-29 16:25:22 +01:00
Gustavo Henrique Nihei
807c1df498
boards/arm/stm32f7/stm32f769i-disco: Apply NxStyle fixes
2020-06-24 10:51:02 -03:00
Gustavo Henrique Nihei
105d561a51
arch/arm/src/stm32f7: Refactor FMC functions for STM32F7
...
This refactor is based on the FMC architecture of STM32H7, with the
exception of the board specific definitions.
2020-06-24 10:51:02 -03:00
Gustavo Henrique Nihei
cf86459495
boards/arm/stm32/stm32f769i-disco: Include missing header
2020-06-24 10:51:02 -03:00
Gustavo Henrique Nihei
b06722cd7f
boards/arm/stm32/stm32f769i-disco: Add support for external SDRAM
2020-06-24 10:51:02 -03:00
Nathan Hartman
72a06a6cc7
Docs and README: Add STM32G474, B-G474E-DPOW1 board
...
Documentation/NuttX.html:
Documentation/README.html:
README.txt:
boards/README.txt:
Document initial support for the STM32G474 MCU and
B-G474E-DPOW1 Discovery kit was added in NuttX-9.1.
2020-06-22 09:43:41 -06:00
Ouss4
530cad304f
drivers/spi/spi_bitbang.c: Fix typos and nxstyle complaints.
2020-06-21 14:13:32 -06:00
Ouss4
c02f0d4bb8
baords/arm/stm32/olimex-smt32-p407: Add SPI configuration and set up the
...
SPI3 pins present in the UEXT header.
These PINS are used to test an external ST7735 LCD.
2020-06-21 14:13:32 -06:00
Huang Qi
8013f66ecd
boards/arm/imxrt/imxrt1060-evk: Remove deprecated lvgl configs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-06-17 05:56:51 -07:00
Peter van der Perk
ede6225c72
NXStyle fixes
2020-06-16 15:35:43 -03:00
Peter van der Perk
662bd5e49a
Added S32K1XX EEEPROM init code
2020-06-16 15:35:43 -03:00
Ouss4
4a72bcc488
boards/arm/s32k1xx/rddrone-uavcan146/configs/nsh/defconfig: Refresh the
...
config.
2020-06-15 12:20:32 -06:00
Peter van der Perk
b5c5948e1c
NXStyle fixes
2020-06-15 08:07:19 -06:00
Peter van der Perk
ff76ef0725
s32k1xx: Added FlexCAN driver with SocketCAN support
2020-06-15 08:07:19 -06:00
Alin Jerpelea
c6c0214f9a
boards: arm: cxd56: initilize the video stream driver from the board
...
The video stream driver must be intialized from the board to comply with NuttX
NOTE:
Please remove the initalization from any camera example
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-06-15 08:10:49 +09:00
Ouss4
6c68c2b892
boards/arm/stm32/stm3210e-eval/include/board.h: Fix nxstyle issues.
2020-06-11 17:05:13 -06:00
Ouss4
c3ba603134
boards/arm/stm32/olimex-stm32-p407: Add joystick support.
2020-06-11 17:05:13 -06:00
Ouss4
72ff383265
boards/arm/stm32/stm3210e-eval/include/board.h: Fix buttons bits when
...
CONFIG_DJOYSTICK is enabled.
2020-06-11 17:05:13 -06:00
Masayuki Ishikawa
48dffbb2db
boards: spresense: Add nxrecorder to wifi/defconfig
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-10 20:17:09 -07:00
Masayuki Ishikawa
8ae0a13b36
boards: spresense: Change audio buffer size and mq size for wifi
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-10 09:11:15 -03:00
liuhaitao
e661ac5ab1
eagle100: disable CONFIG_BOARD_LATE_INITIALIZE since board_late_initialize not defined
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-09 19:27:12 +08:00
liuhaitao
2af72cc589
eagle100: add the missing NXFLAT macros
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-09 19:27:12 +08:00
Alan C. Assis
f4a9c454ce
Move Serial Console to USART1 to keep compatibility with BluePill
2020-06-09 10:25:43 +09:00
Masayuki Ishikawa
d0158fe8d8
boards: Fix Kconfig for maix-bit with QEMU
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-08 07:57:47 +02:00
Huang Qi
2b0324c3bf
boards/risc-v/k210/maix-bit: Add initial autoled support
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-06-08 10:53:29 +09:00
Xiang Xiao
24262a4ddb
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-06-07 19:28:10 +01:00
Xiang Xiao
7a18ebe459
drivers/led: Extend userled_set_t from 8bits to 32bits
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I5701b42ff930998198b1d915316cc4f2d085d4eb
2020-06-07 19:28:10 +01:00
Xiang Xiao
76965474ac
drivers/led: Let board_userled_initialize return the led number
...
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Icf6638a6865bac42150b5957376e55909f041d40
2020-06-07 19:28:10 +01:00
Xiang Xiao
a61b8a13c6
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-06-07 19:28:10 +01:00
Xiang Xiao
1b47aa1cb2
drivers/button: Let board_button_initialize return the button number
...
so the lower half driver don't need include the specific board.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I2ff5c30049a5c5e8ee90baea56e9f4cb1a8a4f87
2020-06-07 19:28:10 +01:00
Alan C. Assis
73fc43770a
Fix nxstyle errors
2020-06-07 19:26:50 +01:00
Alan C. Assis
4fce224ac1
Add LED support to stm32f411-minimum board
2020-06-07 19:26:50 +01:00
Alan C. Assis
a673086af8
Add Apache license to Make.defs as well
2020-06-07 02:29:16 +01:00
Alan C. Assis
f227b65a37
Fix nxstyle issues
2020-06-07 02:29:16 +01:00
Alan C. Assis
1e8cd3f189
Add initial support to STM32F411-Minimum board (aka BlackPill)
2020-06-07 02:29:16 +01:00
Alan C. Assis
00200915ee
Run nxstyle on lpc17_40_ubxmdm.c
2020-06-06 21:55:12 +01:00
Alan C. Assis
9718611b29
Fix lpc17_40_ubxmdm.c board driver to return -ENOTTY
2020-06-06 21:55:12 +01:00
Xiang Xiao
40376697d7
boards/sim: Break out the thread loop instead calling pthread_exit
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I744d06d7a669067c68b74c69f3961f34673d81a0
2020-06-06 20:14:26 +01:00
David Sidrane
b19171420f
stm32h7 boards:Emit the the D3 power domain section for locating BDMA data
2020-06-06 23:05:30 +08:00
Ouss4
36f54e280f
Fix PR1201 nxstyle issues.
2020-06-05 15:54:17 -03:00
Ouss4
d001c82bc6
boards/arm/stm32/olimex-stm32-p407: Add support for the CS4344 audio
...
driver.
2020-06-05 15:54:17 -03:00
Ouss4
871d5c6b72
Fix PR 1188 nxstyle issues
2020-06-05 12:21:43 +08:00
Ouss4
1ca552716c
arch/arm/src/stm32/stm32_i2s: Change the initialize function from
...
stm32_i2sdev_initialize to stm32_i2sbus_initiliaze, to be consistent
with the way other buses are initialized.
The stm32_i2sdev_initiliaze (similar to stm32_spidev_initialize for
example) is a board specific function that does any necessary
initialization that's board depedent.
2020-06-05 12:21:43 +08:00
Huang Qi
7575518998
boards/Board.mk: Remove include $(TOPDIR)/Make.defs
...
This file is already included by most board's Makefile,
remove it to avoid override the board's specific CFLAGS
etc.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-06-04 11:56:28 +01:00
liuhaitao
d05cca0d91
boards/mips: restore OUTPUT_FORMAT and OUTPUT_ARCH for mips link scripts
...
Restore OUTPUT_FORMAT and OUTPUT_ARCH for mips link scripts to fix Nightly build break logs:
p32-ld: pic32mx_head.o: compiled for a little endian system and target is big endian
p32-ld: pic32mx_head.o: endianness incompatible with that of the selected emulation
p32-ld: failed to merge target specific data of file pic32mx_head.o
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-03 18:31:21 +08:00
Xiang Xiao
4fe35cc87c
boards: Remove OUTPUT_FORMAT and OUTPUT_ARCH from ld script
...
let toolchain decide the correct value base on the command line
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I342db6a88e4a161a322a8fea48a59e6ca7617ae6
2020-06-02 07:11:54 -06:00
Brennan Ashton
9b87732b47
Fix wrong prefix on x86_64 builds in macOS
2020-06-01 14:55:05 +08:00
Xiang Xiao
b932b653dd
arch: Select 64bit elf base on the architecture characteristic
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I09eec5a76f255016a910cfec3b3f70cd7577525e
2020-05-31 21:38:32 -07:00
Xiang Xiao
f6a87c5c15
arch: Change dependence from ELF to LIBC_ARCH_ELF
...
since LIBC_MODLIB need to be considered too
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I220b25afa08727af954ccbb40ac987b66113b2be
2020-05-31 21:38:32 -07:00
Brennan Ashton
274ee57696
x86_64: Use gcc compiler instead of clang for macOS
2020-06-01 10:07:34 +08:00
Gregory Nutt
198b8ae380
boards: Leverage PR 1150 to all remaining board Make.defs
...
Only Make.defs files tht followed the same pattern as the ARM Make.defs were modified. This excludes some of the sim and renesas Make.defs files and all of the z80 Make.defs files.
2020-05-31 16:11:07 +01:00
Gregory Nutt
8190041472
boards/mips: Leverage PR 1150 to MIPS make.defs.
2020-05-31 10:15:22 -03:00
Gregory Nutt
1414c55c45
boards/arm: Leverage PR 1150 to other ARM Make.defs
2020-05-30 20:09:02 +01:00
Gregory Nutt
5d540f45da
boards/arm/stm32/stm32f4discovery/scripts/Make.defs: Pre-calculate include paths
...
This is a change suggested by Xiao Xiang in an email thread. Some make variables with depend on forking and shell and running a script to get the value of the variable. Using := we can force the calculation to occur only once. This leads to a small but consistent improvement in build performance.
This change really applies to ALL Make.defs files but is applied only to one here so that it can be thoroughly verified and possbily leveraged to other Make.defs files in the future.
2020-05-30 17:17:23 +01:00
RB
f47151f8a7
Updated Rx65n rtc for non CONFIG_RTC_HIRES
...
Added support for non CONFIG_RTC_HIRES
2020-05-28 16:16:25 -06:00
liuhaitao
2aa1f5c765
Remove the copied locked.r file in clean stage
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-27 07:22:19 -06:00
YAMAMOTO Takashi
4f1258f727
sama5: Disable CONFIG_NETUTILS_NETLIB_GENERICURLPARSER for a config
...
There is no clear reason why this option is enabled here.
This is a preparation for
https://github.com/apache/incubator-nuttx-apps/pull/278
2020-05-26 10:37:48 +08:00
Nathan Hartman
8188171a1b
b-g474e-dpow1: Apply recent build script changes
...
boards/arm/stm32/b-g474e-dpow1/scripts/Make.defs:
* Apply the recent build script changes introduced in the
following git commits:
- 7e5b0f81e9
and
- e83c1400b6
to this board. Namely, factor the definitions of ARCHINCLUDES
and ARCHXXINCLUDES out of CONFIG_CYGWIN_WINTOOL conditional,
and use new build variable BOARD_DIR to simplify ARCHSCRIPT.
2020-05-25 12:35:03 -06:00
Xiang Xiao
8b20b97d26
build: Remove the dummy drivers folder under boards
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 20:20:12 +01:00
Xiang Xiao
e83c1400b6
build: Move BOARD_DIR definition to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 20:20:12 +01:00
Xiang Xiao
7e5b0f81e9
build: Replace -I with INCDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 20:20:12 +01:00
Xiang Xiao
23668a4b9b
build: Remove the empty variable assignment
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:24:13 -06:00
Xiang Xiao
1caf21b187
build: Remove the unused BOARD_INCLUDE variable
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:24:13 -06:00
Xiang Xiao
edb0ce2d5a
build: Don't need use $(DELIM) in include statement
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:24:13 -06:00
Masayuki Ishikawa
2e9a1b0962
boards: lm3s6965-ek: Fix style violations in board.h
2020-05-24 08:21:32 -06:00
Masayuki Ishikawa
c9aa98d79b
boards: lm3s6965-ek: Update discover/defconfig
...
- Enable CONFIG_DEBUG_HARDFAULT_ALERT
- Enable CONFIG_READLINE_CMD_HISTORY
- Enable CONFIG_SCHED_LPWORK with priority=60
2020-05-24 08:21:32 -06:00
Masayuki Ishikawa
563d94d969
boards: lm3s6965-ek: Fix SYSCLK_FREQUENCY for QEMU
2020-05-24 08:21:32 -06:00
Xiang Xiao
1f1dd43c6f
b-g474e-dpow1: Run refresh.sh for nsh config
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:20:29 -06:00
Xiang Xiao
dd61d3d9f9
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 18:00:40 +01:00
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