Commit Graph

2524 Commits

Author SHA1 Message Date
Peter van der Perk
0e9c32ff29 Change libcanard to libcanardv0 2022-08-02 17:01:23 +08:00
Daniel P. Carvalho
dbb82c3191 NUCLEO-L432KC: Added sinusoidal DAC wave generator example 2022-08-02 10:43:59 +08:00
Xiang Xiao
7e6b4f6e07 board/sim: Enable rpmsg sensor in rpproxy and rpserver config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-01 20:23:11 -03:00
Jari van Ewijk
b9ea02bad8 RDDRONE-BMS772: clarify description of some board-specific Kconfig options 2022-08-01 14:59:10 -03:00
Jari van Ewijk
249f041235 NXP S32K1XX: add initial support for NXP RDDRONE-BMS772 board 2022-08-01 14:59:10 -03:00
Jari van Ewijk
1e6054afba NXP S32K1XX boards: add up_perf_init to support SEGGER SystemView 2022-08-01 16:32:41 +03:00
Xiang Xiao
c26bb35843 Remove the private NULL, TRUE and FALSE macros
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-31 22:12:57 +03:00
Sergey Nikitenko
bbdcb82f18 boards/stm32wb/nimble: adding nimble config 2022-07-31 10:29:29 +08:00
simbit18
666c2d255a Update stm32_ina219.c
Fix mistakes in syslog
2022-07-29 16:09:25 +03:00
simbit18
7a9b434ae6 Update stm32_max31855.c
Fix mistakes in comments
2022-07-29 16:09:25 +03:00
simbit18
9851d4483b Update stm32_max6675.c
Fix mistakes in comments
2022-07-29 16:09:25 +03:00
simbit18
07c0b2844a Update stm32_mlx90614.c
Fix mistakes in comments and snerr
2022-07-29 16:09:25 +03:00
zhuyanlin
031c89db89 power: add PM_IDLE_DOMAIN to pm.h and remove definations
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-07-29 11:15:40 +08:00
Michał Łyszczek
a1aee22a4f boards/stm32wl5/flash: define default procfs mountpoint
When nsh is not enabled, CONFIG_NSH_PROC_MOUNTPOINT is not defined.
If in that case procfs is used, compilation will result in error.

Define sane default path for procfs in case nsh is not enable but
procfs is.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 10:44:50 +08:00
Michał Łyszczek
d8b214ce9a boards/stm32wl5/flash: fix invalid #ifdef config to enable flash
Invalid #ifdef macro results in flash never being used.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 10:44:50 +08:00
Michał Łyszczek
7cb421e866 boards/stm32wl5/flash: add support to define bootloader partition
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 10:44:50 +08:00
Michał Łyszczek
5e75dd9be3 boards/stm32wl5/flash: add missing {} to struct init
When CONFIG_ARCH_BOARD_FLASH_CPU2_PROG_SIZE is bigger than 0, compilation
will fail because of missing "{}" in struct initialization.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 10:44:50 +08:00
Michał Łyszczek
d11816cc39 boards/stm32wl5/flash: silent compiler warnings
If not all partitions are defined in Kconfig, compiler may show -Wundef
warnings for each: "#if CONFIG_ > 0". Fixed by defaulting values to 0
if they are undefined.

Some variables may be unused if filesystems are not enabled in Kconfig.
These variables are marked as UNUSED() to silent compiler warnings.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
2022-07-29 10:44:50 +08:00
raiden00pl
d933a227af boards/stm32f7: add intial support for ST steval-eth001v1 board 2022-07-28 22:16:40 +08:00
Sergey Nikitenko
82ad4b0e08 stm32wb: adding BLE support 2022-07-28 15:23:34 +08:00
Masayuki Ishikawa
ad322ef67d boards: arm: Update README.txt regarding CONFIG_BUILD_KERNEL=y
Summary:
- This commit updates README.txt regarding

Impact:
- CONFIG_BUILD_KERNEL=y

Testing:
- build only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-27 23:22:23 +08:00
Masayuki Ishikawa
714e6fda9c boards: sabre-6quad: Add iperf to netknsh/defconfig
Summary:
- This commit adds iperf to netknsh/defconfig

Impact:
- None

Testing:
- Tested with qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-27 23:22:23 +08:00
Masayuki Ishikawa
5902b7f6d6 boads: icicle: Fix build errors in cxxtest_main.cxx
Summary:
- This commit fixes build errors in cxxtest_main.cxx

Impact:
- None

Testing:
- build only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-27 23:22:23 +08:00
simbit18
0fddf71b2d Update stm32_bmp180.c 2022-07-26 08:43:36 -04:00
simbit18
3b3147ad75 Update stm32_bh1750.h 2022-07-26 08:43:36 -04:00
simbit18
62e4f8ee79 Update stm32_bh1750.c
Fix mistakes in comments and snerr
2022-07-26 19:27:59 +08:00
Masayuki Ishikawa
6a469fe228 boards: sabre-6quad: Add adbd to netnsh/defconfig
Summary:
- This commit adds adbd to netnsh/defconfig

Impact:
- None

Testing:
- Tested with qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-26 16:04:21 +08:00
ligd
b34925e6eb power: move EXPLICIT_RELAX opreation to common place
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-26 11:11:00 +08:00
Peter van der Perk
b3590f00b3 NXStyle and preprocessor fixes
Co-authored-by: Jari van Ewijk <jari.vanewijk@nxp.com>
2022-07-25 23:47:05 +08:00
Jari van Ewijk
7f3fc23dd6 NXP S32K3XX: add initial support for NXP MR-CANHUBK3 board
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
2022-07-25 23:47:05 +08:00
Jari van Ewijk
7816ba9a7b NXP S32K3XX: add initial support for NXP S32K344EVB board
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
2022-07-25 23:47:05 +08:00
Alan Carvalho de Assis
a8cf7aea39 esp32s3-devkit: Add support to discrete 5-way joystick 2022-07-24 16:33:42 +08:00
raiden00pl
0fe378621e boards: add initial support for ST steval-stlcs01v1 2022-07-23 16:51:31 -03:00
raiden00pl
0e97e57d23 stm32g071b-disco: gpio dev support 2022-07-23 16:48:13 -03:00
raiden00pl
0253f0ff66 stm32g071b-disco: ina230 support 2022-07-23 16:48:13 -03:00
curuvar
c21c7ac8dc Added Adafruit QT Py RP2040 board.
Added ability to configure indivdual UART, SPI and I2C pin location.
2022-07-23 18:25:38 +08:00
Masayuki Ishikawa
79e5579837 boards: sabre-6quad: Enable to test C++ static object in ELF
Summary:
- This commit enables to test C++ static object in ELF (hello++3)

Impact:
- elf defconfig only

Testing:
- Tested with QEMU and sabre-6quad board

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-22 21:38:17 +08:00
Masayuki Ishikawa
d35b39b25a boards: spresense: Enable to test C++ static object in ELF
Summary:
- This commit enables to test C++ static object in ELF (hello++3)

Impact:
- elf defconfig only

Testing:
- Tested with spresense

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-22 21:38:17 +08:00
Masayuki Ishikawa
50ad3d62aa boards: esp32-devkitc: Enable to test C++ static object in ELF
Summary:
- This commit enables to test C++ static object in ELF (hello++3)

Impact:
- elf defconfig only

Testing:
- Tested with both QEMU and esp32-devkitc board

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-07-22 21:38:17 +08:00
Xiang Xiao
1d43b4a4eb libc/stdio: Enable LIBC_FLOATINGPOINT by default if ARCH_FPU is enabled
and DEFAULT_SMALL is false

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-21 09:53:09 -04:00
Abdelatif Guettouche
4ccedb176e arch/esp32: Re-organise shared functions and options for ESP32 Wireless code
- Introduce the ESP32_WIFI option to replace the broader
ESP32_WIRELESS option.  ESP32_WIRELESS is used by both WIFI and BLE.

 - Move common functions from esp32_wifi_adapter to esp32_wireless.

 - Change the order of including the external libraries to avoid undefined references.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-07-20 22:02:28 +03:00
Xiang Xiao
f9e3ef3464 Revert "libc/stdio: enable long long formating by CONFIG_HAVE_LONG_LONG"
This reverts commit b1c72c023c.
2022-07-20 18:06:29 +03:00
raiden00pl
c9ec91a5b5 stm32g071b-disco: add OLED support 2022-07-18 14:14:51 +03:00
raiden00pl
1ca8bf2cdb boards: remove references to STM32xx_SPI_DMA, which is now a hidden option 2022-07-16 11:10:01 +03:00
raiden00pl
9276e41321 b-l072z-lrwan1: use board common logic for ssd1306 2022-07-15 10:22:58 -03:00
raiden00pl
072b2bca45 boards/stm32f0l0g0: add ssd1306 to board common logic 2022-07-15 10:22:58 -03:00
raiden00pl
703e5e4226 boards/stm32f0l0g0: common board logic support 2022-07-15 10:22:58 -03:00
qinwei1
e77b06721b arch: arm64: ARMv8-A support for NuttX
N/A

Summary:

Arm64 support for NuttX, Features supported:

1. Cortex-a53 single core and SMP support: it's can run into nsh shell at
   qemu virt machine.

2. qemu-a53 board configuration support: it's only for evaluate propose

3. FPU support for armv8-a: FPU context switching at NEON/floating-point
  TRAP is supported.

4. psci interface, armv8 cache operation(data cache) and smccc support.

5. fix mass code style issue, thank for @xiaoxiang781216, @hartmannathan @pkarashchenko

Please refer to boards/arm64/qemu/qemu-a53/README.txt for detail

Note:
1. GCC MACOS issue
The GCC 11.2 toolchain for MACOS may get crash while compiling
float operation function, the following link describe the issue
and give analyse at the issue:

https://bugs.linaro.org/show_bug.cgi?id=5825

it's seem GCC give a wrong instruction at certain machine which
without architecture features

the new toolchain is not available still, so just disable the MACOS
cibuild check at present

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-07-14 09:35:49 -04:00
Gustavo Henrique Nihei
68c722c051 xtensa/esp32: Build patched IDFBoot for Protected Mode support
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00
Gustavo Henrique Nihei
27fc3c959d xtensa/esp32: Configure the PID controller for privilege separation
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00