Xiang Xiao
1a901d72c0
board/arm: Remove -march and -mcpu option
...
Already add in arch/arm/src/armv7-m/Toolchain.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-21 22:11:34 -07:00
Xiang Xiao
b329e2377d
boards: Move toolchain related variables to Toolchain.defs
...
1.It make sense to let Toolchain.defs give the default value
2.The board can still change if the default isn't suitable
3.Avoid the same definition spread more than 200 Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic2649f1c7689bcf59c105ca8db61cad45b6e0e64
2020-07-20 17:10:37 +01:00
Masayuki Ishikawa
11f8b7c974
boards: stm32f4discovery: 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
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
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
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
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
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
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
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
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
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
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
Alan C. Assis
f4a9c454ce
Move Serial Console to USART1 to keep compatibility with BluePill
2020-06-09 10:25:43 +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
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
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
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
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
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