田昕
4071f460b2
boards/boardctl:common boardctl to read reset cause.
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-03-30 09:59:10 +03:00
Gustavo Henrique Nihei
e1f28c19c2
arch/arm: Make CXX exception and RTTI depend on Kconfig options
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Gustavo Henrique Nihei
7b4d9f0afd
esp32[s2/s3/c3]: Add defconfigs for testing C++
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Gustavo Henrique Nihei
06d0a9f1ad
xtensa|risc-v: Make CXX exception and RTTI depend on Kconfig options
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Gustavo Henrique Nihei
a0617177e8
risc-v/esp32c3: Fix inclusion of C++ constructors/destructors table
...
RISC-V GCC is configured with --enable-initfini-array so it emits an
.init_array section instead of .ctors
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-30 11:19:29 +08:00
Lee Lup Yuen
416ec42077
riscv/esp32c3: Remove check for LCD driver
...
## Summary
`esp32c3_spi2_cmddata()` implements SPI Cmd/Data `SPI_CMDDATA()` for only 3 LCD drivers: ST7735, ST7789 and GC9A01.
This patch removes the check for LCD drivers, so that SPI Cmd/Data will work for all LCD drivers.
More details: https://github.com/apache/incubator-nuttx/pull/5898
## Impact
This change impacts LCD drivers that call `SPI_CMDDATA()`.
Previously `SPI_CMDDATA()` would fail with `ENODEV` for LCD drivers other than ST7735, ST7789 and GC9A01.
After patching, `SPI_CMDDATA()` will work correctly with all LCD drivers.
## Testing
This is a minor patch so no testing is needed.
2022-03-29 23:09:57 -03:00
Richard Tucker
dc93c309b5
boards/risc-v/litex/arty_a7: update README to include building in LITESDCARD peripheral
2022-03-30 02:35:27 +08:00
Richard Tucker
3939575d7c
boards/risc-v/litex/arty_a7: add SDCARD support for the Arty_A7 board
2022-03-30 02:35:27 +08:00
Petro Karashchenko
f5665db1f2
boards: correct path to RCRAWS files during file copy
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-29 12:11:09 +08:00
Ville Juven
30c25a95f3
MPFS: Fix error in flat build linker script
...
Use sram instead of ksram (copy&paste error)
2022-03-28 14:05:51 +03:00
Petro Karashchenko
c61710c7b8
boards/arm/uid: fix pointer to int compare
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-28 00:31:27 +08:00
zouboan
466063ac9e
sched/sched/sched_timerexpiration: change from sched_time to eventtime
...
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-27 18:22:58 +03:00
ligd
f623ac0f13
armv7-m/armv8-m: move up_pref* api to common place
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-03-26 13:39:18 +02:00
Gustavo Henrique Nihei
0f0f85979e
sim: Enable CXX_EXCEPTION and CXX_RTTI on C++ defconfigs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-26 05:56:37 +02:00
Gustavo Henrique Nihei
2cd1769619
libxx: Add CXX_RTTI for enabling RTTI support for C++ applications
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-26 05:56:37 +02:00
Gustavo Henrique Nihei
5198a56fe8
esp32s3-devkit: Fix the number of memory regions in some configurations
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-25 15:56:44 +02:00
Masayuki Ishikawa
594ae1e7fc
boards: rv-virt: Fix stack corruption for rv64 configs
...
Summary:
- This commit fixes stack corruption for rv64 configs
Impact:
- None
Testing:
- Tested with qemu-6.2
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-25 12:26:12 +02:00
Michael Mogenson
97fa9b849c
defconfig: add Lua configs for sim and teensy-4.x
2022-03-24 14:02:32 +08:00
Gustavo Henrique Nihei
c92c4af304
xtensa/esp32s2: Initialize instruction cache on startup
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 20:05:40 -03:00
Gustavo Henrique Nihei
7cb8f02ecc
esp32s2-saola-1: Use cache-related definitions from Kconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 19:38:28 -03:00
Gustavo Henrique Nihei
04b80cc8d2
xtensa/esp32s2: Remove unused and not unsupported configs from Kconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 19:38:28 -03:00
Gustavo Henrique Nihei
23cfded18f
esp32s3-devkit: Add support for BOOT button as user button
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-03-23 07:23:51 +09:00
Petro Karashchenko
68902d8732
pid_t: unify usage of special task IDs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 21:22:32 +08:00
Petro Karashchenko
757d01d915
progmem: eliminate PROGMEM_ERASESTATE configuration option
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:01:41 -03:00
Petro Karashchenko
9a9a06dd7d
boards/arm/same70-qmtech: Remove dead code
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-22 10:01:09 +08:00
Abdelatif Guettouche
954ff496b4
esp32s3-devkit/spiflash: Use SmartFS instead of LittleFS.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-03-21 22:17:23 +08:00
Xiang Xiao
85550ee340
boards/sim: Enable uinput for rpproxy and rpserver
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
d19aa5aca4
input: Move uinput initialization from boards/sim to drivers
...
since uinput can be used not only on simulator but also on real device
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Xiang Xiao
fd5fb26f51
input/uinput: Rename UINPUT_TOUCHSCREEN to UINPUT_TOUCH
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 09:03:05 +02:00
Gerson Fernando Budke
49b15e3577
boards/arm/samv7/samv71-xult: Fix mcuboot update example missing config
...
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 21:00:16 +02:00
Gerson Fernando Budke
6740ec3fee
boards/arm/samv7/samv71-xult: Add mcuboot update example configs
...
Add MCUboot Update Agent and Slot Confirm configurations. It uses
ethernet with dhcp client to perform download of new image into
internal flash memory.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
2965345e14
boards/arm/samv7: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
2d906bb28f
boards/xtensa/esp32: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Gerson Fernando Budke
4caa8b19e9
boards/risc-v/esp32c3: Fix mcuboot configs
...
MCUboot apps were moved to examples directory. This fix configs due to
recent changes.
Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2022-03-19 16:09:49 +02:00
Petro Karashchenko
c01cd62666
boards/arm/samv7/same70-qmtech: add gpio driver support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 17:37:18 +08:00
Petro Karashchenko
2af9b574f6
boards/arm/samv7: define MTD progmem partitions at board level
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:42:10 +08:00
Petro Karashchenko
fe0fbdc088
config: finalize transition from USERMAIN_STACKSIZE to INIT_STACKSIZE
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:32:47 +08:00
Petro Karashchenko
20ac85860c
config: finalize transition from USER_ENTRYPOINT to INIT_ENTRYPOINT
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 11:32:47 +08:00
Huang Qi
edef327655
arch/arm: Move ARCHCPUFLAGS to Toolchain.defs
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-19 02:24:00 +08:00
Petro Karashchenko
c1fb14ccaa
boards/arm/samv7/same70-qmtech: add /dev/timer0 support
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-19 02:21:03 +08:00
Petro Karashchenko
6472a698b6
style/typo: fix few style and typo issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-18 17:05:10 +01:00
Janne Rosberg
49abe527ca
risc-v/mpfs/icicle: add example config for ethernet
2022-03-18 17:22:27 +02:00
Janne Rosberg
8c755c9414
esp32c3-devkit/ble: add CONFIG_NETDEV_LATEINIT to defconfig
2022-03-18 17:22:27 +02:00
Janne Rosberg
cff7c760a5
bl602evb/wifi: add CONFIG_NETDEV_LATEINIT to defconfig
2022-03-18 17:22:27 +02:00
Ville Juven
15960f25a5
MPFS: Add board_memorymap.h
...
Move the target specific memory map to a separate file so there is no
need to copy&paste the __xxram_start etc linker symbols to each file
that needs them.
Also add MMU flags for I/O and kernel areas, they will be needed
when the kernel runs with virtual addresses also.
2022-03-18 09:35:00 -03:00
Ville Juven
13fd93ed2a
MPFS: Add linker script for CONFIG_BUILD_KERNEL
2022-03-18 18:20:12 +08:00
yinshengkai
eebd736891
board/sim: update uinput init & Kconfig
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-03-17 19:44:17 +02:00
Masayuki Ishikawa
2cbad5d92e
boards: sabre-6quad: Enable environ and path in knsh/defconfig
...
Summary:
- This commit enables environ and path in knsh/defconfig
Impact:
- None
Testing:
- Tested with QEMU
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-03-17 13:41:01 +08:00
YAMAMOTO Takashi
439e5d0030
Add an esp32 config with efuse (esp32-devkitc:efuse)
...
esp32-devkitc:wapi + efuse enabled.
2022-03-17 13:40:51 +08:00
YAMAMOTO Takashi
cab24374b5
esp32: fix build errors with efuse
...
```
board/esp32_bringup.c: In function 'esp32_bringup':
board/esp32_bringup.c:171:9: error: implicit declaration of function 'esp32_efuse_initialize'; did you mean 'esp32_mmcsd_initialize'? [-Werror=implicit-function-declaration]
ret = esp32_efuse_initialize("/dev/efuse");
^~~~~~~~~~~~~~~~~~~~~~
esp32_mmcsd_initialize
```
2022-03-17 13:40:51 +08:00