Commit Graph

711 Commits

Author SHA1 Message Date
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