Commit Graph

744 Commits

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