Eero Nurkkala
1d3ce6b527
arm64/imx9: provide EL3 bootloader support for iMX9
...
This provides a capable bootloader that may be run from OCRAM.
The OCRAM contains regions that are always zero, so the linker
file avoids those with best effort.
iMX9 infrastructure expects:
- 0x20480000 (Start of OCRAM, AHAB)
- 0x2049a000 (NuttX or SPL)
- 0x204e0000 (ARM Trustzone, not used)
When started from SD-card, the offsets are:
- 0x1f000 with AHAB
- 0xa000 without AHAB
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2024-05-21 09:02:35 +08:00
Ivan Palijan
87d038c583
Fixed collision between CAN1 and I2C1. Board nucleo-l476rg.
...
CAN1 moved to PA11 and PA12.
2024-05-20 10:14:42 +08:00
Inochi Amaoto
44bed119f0
boards: rv-virt: Use config to compute memory layout for kernel build
...
rv-virt support different size of ksram and pgmem region, but the
fixed value in the link script limits this function. As nuttx supports
preprocessing the link script. It is better to use the config value
to compute the memory layout. This also make all kernel build use the
same script.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-05-20 10:14:14 +08:00
Jorge Guzman
7044e38cc7
stm32h7/linum-stm32h753bi: add support to ethernet connection
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-05-19 10:25:50 -03:00
Rodrigo Sim
29775f824b
drivers/sensors/Kconfig: Fix HC-SR04 configuration
...
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2024-05-19 10:21:23 -03:00
Rodrigo Sim
8fb458b7fe
board/stm32f401rc-rs485: Add support to ultrasonic sensor HC-SR04
...
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2024-05-19 10:21:23 -03:00
yinshengkai
e6ed8c6782
sim: add sqlite config
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-05-17 10:19:31 -03:00
Jukka Laitinen
8b1a388d93
boards/risc-v/mpfs/common/src: Update mpfs_emmcsd.c and mpfs_composite.c
...
Add partition parsing logic to emmcsd and support for configuring either CDCACM alone or
both CDCACM and USBMCS for composite mode.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2024-05-17 19:14:06 +08:00
simbit18
fb31f06a2f
Fix Kconfig style
...
Remove spaces from Kconfig files
Add TABs
Replace help => ---help---
Add comments
2024-05-17 19:06:11 +08:00
Jukka Laitinen
9257af55f1
risc-v/mpfs: Change linker symbols _ssbi_ddr and _esbi_ddr into _ssbi_ram and _esbi_ram
...
The original names are confusing; the symbols' addresses point to the start and end of the
sbi executable ram area. This may also reside in l2lim and not in ddr, depending on the
configuration, and this is defined in the linker script.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2024-05-16 17:14:43 -03:00
Ville Juven
35ee532cb4
boards/imx93-evk: Fix potential warning about unused variable
...
"ret" might be unused, which causes an error due to -Werror
2024-05-16 17:14:25 -03:00
Ivan Palijan
fcbae598e4
Added support in Nucleo-L476RG board for MPU9250 sensor.
2024-05-15 23:54:30 +08:00
Rdk-T
63294c5da2
add Port selection on xmc4800
...
Base ecat option on chip instead of board (allow custom boards to use the ecat)
add GPIO_ECAT alternative configs
2024-05-15 11:57:57 -03:00
simbit18
360c2fc44c
fix nxstyle
...
Remove TABs
fix Relative file path does not match actual file.
2024-05-15 21:53:59 +08:00
Tiago Medicci Serrano
c412dadcb9
esp32c3/wifi: Add support for the Wi-Fi in ESP32-C3
...
This commit introduces support for both station and softAP modes.
2024-05-14 22:10:45 +08:00
Tiago Medicci Serrano
2c4963dcd6
esp32c6/wifi: Add support for the Wi-Fi in ESP32-C6
...
This commit introduces support for both station and softAP modes.
2024-05-14 22:10:45 +08:00
simbit18
d1789d84e8
fix nxstyle
...
fix Relative file path does not match actual file.
2024-05-13 22:24:36 +02:00
halyssonJr
e67df47b64
add support for zero-cross driver
2024-05-12 20:40:07 -03:00
Alan Carvalho de Assis
1f3c47754d
boards/stm32h7: Add initial support to WeAct STM32H743
...
Signed-off-by: Alan C. Assis <acassis@gmail.com>
2024-05-12 21:36:13 +08:00
simbit18
09bfaa7292
fix nxstyle
...
fix Relative file path does not match actual file.
2024-05-11 01:19:06 +08:00
Tiago Medicci Serrano
0ed714bba4
esp32s3/adc: Update the bootloader configuration for ESP32-S3
...
Avoid using the legacy bootloader in case it isn't required. Use
the simple boot instead.
2024-05-10 01:44:02 +08:00
YAMAMOTO Takashi
1b5b9845f4
esp32s3-devkit/toywasm: use ARCH_CHIP_ESP32S3WROOM2_32M
...
As documented in [1], this config is for a board with 32MB flash.
[1] Documentation/platforms/xtensa/esp32s3/boards/esp32s3-devkit/index.rst
2024-05-10 01:44:02 +08:00
Tiago Medicci Serrano
8dca62f8f9
esp32s3: Limit MTD partition size according to the flash size
...
Whenever a MTD partition is set, this change limits its size
according to the flash size, avoiding the MTD partition to be
greater than the actual flash size.
2024-05-10 01:44:02 +08:00
simbit18
792b99473c
fix nxstyle
...
corrected comments in C89 style
2024-05-09 23:44:40 +08:00
Yanfeng Liu
8eadde89f1
riscv/qemu: enable debug features
...
This enables debug features in `rv-virt/nsh` and `rv-virt/nsh64` to
help debugging with QEMU targets.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-09 17:31:33 +08:00
Stuart Ianna
c4dbabb1bb
drivers/devicetree: Add a set of commonly used FDT utilities.
2024-05-09 01:37:11 +08:00
YAMAMOTO Takashi
adcabeb6bf
esp32-devkitc/wamr_wasi_debug: Remove a few things to reduce the size
...
* Remove a few things to fit the default partition size
* Tweak CONFIG_ESP32_STORAGE_MTD_SIZE to match flash 4MB
2024-05-08 23:45:05 +08:00
Inochi Amaoto
f4a38c01df
arch/risc-v: Make esp32 SoCs allocate idle stack after ebss
...
ESP32 SoC use a static allocated array as idle stack. To fit
the existed idle stack allocation, make idle stack allocated
from ebss for the whole esp32 series.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-05-08 15:43:41 +08:00
Yanfeng Liu
ef15b5296d
riscv/virt: M-mode poweroff support
...
This adds poweroff support to `rv-virt/nsh` and `rv-virt/nsh64`.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-08 15:39:26 +08:00
Jani Paalijarvi
c11ffaa78f
arm64/imx9: Add DMA preflight support for uSDHC
...
Signed-off-by: Jani Paalijarvi <jani.paalijarvi@unikie.com>
2024-05-08 08:48:12 +08:00
Jani Paalijarvi
602bd685ec
arm64/imx9: Add uSDHC driver
...
Signed-off-by: Jani Paalijarvi <jani.paalijarvi@unikie.com>
2024-05-08 08:48:12 +08:00
Yanfeng Liu
c9a2e4a6c5
risc-v/virt: enable gradeful shutdown in kernel build
...
This enables graceful shutdown via `poweroff` command in `knsh64`
and `knsh32` configs.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-07 21:02:49 +08:00
chenwen@espressif.com
3a9d163aae
esp32_c3/pm: Fix assert issue in PM mode
...
1. Adjust code to avoid PM wakelock->count less than or equal to 0.
2. Fix some document format issues.
Signed-off-by: chenwen@espressif.com <chenwen@espressif.com>
2024-05-07 15:45:32 +08:00
Ivan Palijan
6e941aed8b
Added support in Nucleo-L476RG board for BMP280 sensor.
2024-05-07 02:14:15 +08:00
Inochi Amaoto
04e40182ad
arch/risc-v: Make bl602 allocate idle stack after ebss
...
Although almost all board support allocating idle stack after ebss,
bl602 have a different memory layout for idle stack. To unify them,
make idle stack allocated from ebss for bl602.
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-05-06 15:04:24 -03:00
nuttxs
8d3d93e001
Add ESP32-S3 ADC driver
2024-05-07 01:12:05 +08:00
Yanfeng Liu
339da96469
risc-v/virt: update kfb64
config
...
This updates `rv-virt/kfb64` to support new S-mode in patch 12178
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-05 22:01:26 +08:00
Yanfeng Liu
03446fb4e3
riscv/rv-virt: fix kernel build booting issue
...
This patch can boot `rv-virt/knsh64` and `rv-virt/knsh32` reported in
issue #12275 with qemu 6.2 target and OpenSBI v1.0 firmware on Ubuntu
22.04 host.
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-04 22:46:32 +08:00
Yanfeng Liu
041ef1d9ea
video/fb: kernel build framebuffer support
...
This supports running fb demo app in kernel build with new
config `rv-virt/kfb64`. The demo shows colored rectangles
in graphic window with the following console logs:
```
nsh> cat /proc/version
NuttX version 12.4.0 1ea10ddacc-dirty May 3 2024 07:03:59 rv-virt/kfb64
nsh> fb
VideoInfo:
fmt: 13
xres: 640
yres: 480
nplanes: 1
PlaneInfo (plane 0):
fbmem: 0x80218010
fblen: 1228800
stride: 2560
display: 0
bpp: 32
Mapped FB: 0xc2000010
0: ( 0, 0) (640,480)
1: ( 58, 43) (524,394)
2: (116, 86) (408,308)
3: (174,129) (292,222)
4: (232,172) (176,136)
5: (290,215) ( 60, 50)
Test finished
```
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-03 23:58:39 +08:00
Jukka Laitinen
cc9c3ed80b
arch/arm64/src/imx9: Add Ethernet driver
...
This adds a driver for i.MX93 ENET1 MAC block
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2024-05-02 16:30:41 -03:00
Inochi Amaoto
bd895222eb
arch/risc-v: implement sbi_ipi_send
...
And SBI ipi support.
Fixup: 4f63ca1418 ("arch/risc-v: unfiy IPI access)
Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
2024-05-02 16:08:13 +08:00
Jorge Guzman
b4d977715e
stm32h7/linum-stm32h753bi: Add support to usbmsc with sdcard
...
Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
2024-05-02 16:00:47 +08:00
YAMAMOTO Takashi
c4f199e929
esp32s3: add a variation with 32MB flash
2024-05-01 23:34:12 +08:00
Andre Heinemans
4f1ac5160c
arch/mx8mp: add rptun/rpmsg client support
...
New target mx8mp:rpsmsg has been added which enables
a virtual tty and can be accessed from the A53 core
running linux-imx
2024-04-30 11:30:02 -03:00
Ville Juven
3079caf2ce
arm64/imx9: Add DMA memory allocator
...
Add a simple allocator for DMA safe memory. It will provide contiguous
blocks of memory with D-Cache line size alignment.
NOTE: The optimal granule size is the D-Cache line size (64), but due
to restrictions in the granule allocator this would result in a maximum
block size of 2K only, thus use 256B granules instead givin 8K max block
size.
Once the granule allocator is fixed this limitation can be removed.
2024-04-30 19:46:58 +08:00
Eren Terzioglu
891d67bb5e
esp32[c3|h2|c6]: Add support to TWAI/CANBus controller
2024-04-30 10:03:22 +08:00
Xu Xingliang
0db7417dc0
esp32/lvgl: fix lvgl v9 configuration error
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-04-30 01:45:03 +08:00
Rodrigo Sim
6ad202ee4c
board/stm32f401rc-rs485: Add support to Mass Storage
...
Signed-off-by: Rodrigo Sim rcsim10@gmail.com
2024-04-30 00:05:09 +08:00
Philippe Leduc
3dc6b4c9bd
Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale).
...
Fix build with C++ GCC toolchain
2024-04-29 17:34:10 +08:00
Rodrigo Sim
2c0dac8691
board/stm32f401rc-rs485: Add support to RNDIS
...
Signed-off-by: Rodrigo Sim <rcsim10@gmail.com>
2024-04-29 10:07:56 +08:00