Gustavo Henrique Nihei
c149e52791
risc-v/espressif: Add support for ESP32-C6
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
Gustavo Henrique Nihei
17f7f6e86d
risc-v: Add Espressif chip family support on top of esp-hal-3rdparty
...
Initially supporting ESP32-C3 chip, to be followed by other RISC-V-based
chips from Espressif.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-14 23:55:35 +01:00
raiden00pl
a5aa7886ba
boards/nrf5340-dk: add TIMER configuration
2023-03-14 19:22:45 -03:00
raiden00pl
ef9190379c
boards/nrf52832-dk: add buttons example
2023-03-14 19:17:31 -03:00
raiden00pl
384cbc2013
boards/nrf52840-dk: add buttons example
2023-03-14 19:17:31 -03:00
raiden00pl
a581b99266
nrf5340-dk: add sdc net core examples
2023-03-12 16:01:04 +02:00
Tiago Medicci Serrano
8f2cdc4e60
esp32s3/wifi: add support for Wi-Fi (Station mode)
...
1) Wi-Fi driver libs from Espressif ESP-IDF release/v5.0;
2) Station mode only;
3) WPA2-PSK and WPA3-SAE enabled;
Not yet supported (WIP):
- SoftAP mode;
- 802.11k, 802.11v and 802.11R;
- Power Save mode;
- BLE Coexistance;
2023-03-10 10:59:14 +02:00
Tiago Medicci Serrano
1fc73087da
esp32s3: add reset/shutdown handler to run registered callbacks
2023-03-10 10:59:14 +02:00
raiden00pl
12cc49df57
boards/nrf5340-dk: add support for rptun
2023-03-09 14:21:42 +08:00
Zhihong Chen
8f74ce8ac4
boards:riscv:hpm6750evk2: revised README.txt to config toolchain
...
- use hpmicro GNU riscv32 toolchain
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-03-09 07:56:00 +02:00
Lucas Saavedra Vaz
35f830b19a
boards: Add CoreMark config to ESP boards
2023-03-08 13:11:13 +08:00
Lucas Saavedra Vaz
e53200dde7
boards/sim/wamr: Remove LIBC_FLOATINGPOINT (now selected by the app)
2023-03-08 13:09:34 +08:00
Masayuki Ishikawa
1917870cca
boards: stm32f4discovery: Update kostest/defconfig to avoid crash
...
Summary:
- I noticed that recent mm_heap changes causes a crash with
stm32f4discovery:kostest
- This is a tentative solution to avoid the crash
Impact:
- None
Testing:
- Tested with stm32f4discovery board
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2023-03-06 11:28:36 +01:00
raiden00pl
468f2e3222
boards/nrf5340-dk: add sdc support
2023-03-05 19:31:07 -03:00
raiden00pl
3b92819792
arch/nrf53: initial clock configuration
2023-03-05 19:31:07 -03:00
raiden00pl
e3f2443fc3
boards/nrf52: normalize sdc configurations
2023-03-05 21:32:11 +02:00
qinwei1
e696e99d9a
arm64: Update readme.txt for FVP platform
...
Summary:
Updating Readme.TXT for FVP platform.
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-05 01:56:17 +08:00
Xiang Xiao
454921eac7
arch/boards: Rename up_lowputc to [arm64|renesas]_lowputc
...
follow other arch coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-04 11:08:00 +02:00
raiden00pl
5fa2dc3c5b
nrf5340-dk/nsh_cpunet: add net core configuration
2023-03-04 12:35:14 +09:00
raiden00pl
2ec564eb11
boards/nrf53/nsh_cpuapp: fix ram size
2023-03-04 12:35:14 +09:00
Gustavo Henrique Nihei
9f44391828
boards/esp32-devkitc: Adjust defconfig for WAMR after dependency fix
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 01:47:20 +08:00
Gustavo Henrique Nihei
1fcb2be0e3
boards/sim: Adjust defconfig for WAMR after dependency fix
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-04 01:47:20 +08:00
zhangyuan21
0af63cfc48
sim/usb: add sim usb host
...
signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
zhangyuan21
c61c694a77
sim/usb: add sim usb device
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-03-03 14:31:30 -03:00
raiden00pl
74ffdb0b49
boards/nrf52: update sdc configs
2023-03-03 09:41:17 +08:00
Xiang Xiao
66c5f86018
sched: Disable stdio api by default when DEFAULT_SMALL equals y
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-03 00:18:03 +02:00
raiden00pl
535df527cb
boards/nrf52840-dk: add sdc examples
2023-03-03 02:23:56 +08:00
raiden00pl
16a711c1e2
boards/nrf52832-dk: add sdc examples
2023-03-03 02:23:56 +08:00
jturnsek
081b04f05e
iMXRT MCUboot support
2023-03-02 22:40:44 +08:00
raiden00pl
da76aa71aa
boards: initial support for nrf5340-dk
2023-03-02 22:06:14 +08:00
raiden00pl
055a21b2fe
nrf5340-audio-dk/README.txt: correct board name
2023-03-02 22:06:14 +08:00
chao an
b01b93cb54
sim/wamr: add example of WAMR(WebAssembly Micro Runtime)
...
Added compilation rules to support the construction of WebAssembly(WASM/WAMR):
1. Compile Toolchain
1> Download WASI sdk and export the WASI_SDK_PATH path:
$ wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz
$ tar xf wasi-sdk-19.0-linux.tar.gz
Put wasi-sdk-19.0 to your host WASI_SDK_PATH environment variable, like:
$ export WASI_SDK_PATH=`pwd`/wasi-sdk-19.0
2> Download Wamr "wamrc" AOT compiler and export to the PATH:
$ mkdir wamrc
$ wget https://github.com/bytecodealliance/wasm-micro-runtime/releases/download/WAMR-1.1.2/wamrc-1.1.2-x86_64-ubuntu-20.04.tar.gz
$ tar xf wamrc-1.1.2-x86_64-ubuntu-20.04.tar.gz
$ export PATH=$PATH:$PWD
2. Configuring and running
1> Configuring sim/wamr and compile:
nuttx$ ./tools/configure.sh sim/wamr
nuttx$ make
...
Wamrc Generate AoT: /home/archer/code/nuttx/n5/apps/wasm/hello.aot
Wamrc Generate AoT: /home/archer/code/nuttx/n5/apps/wasm/coremark.aot
LD: nuttx
2> Copy the generated wasm file(Interpreter/AoT)
nuttx$ cp ../apps/wasm/hello.aot .
nuttx$ cp ../apps/wasm/hello.wasm .
nuttx$ cp ../apps/wasm/coremark.wasm .
3> Run iwasm
nuttx$ ./nuttx
NuttShell (NSH) NuttX-10.4.0
nsh> iwasm /data/hello.wasm
Hello, World!!
nsh> iwasm /data/hello.aot
Hello, World!!
nsh> iwasm /data/coremark.wasm
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 12000
Total time (secs): 12.000000
Iterations/Sec : 5.000000
Iterations : 60
Compiler version : Clang 15.0.7
Compiler flags : Using NuttX compilation options
Memory location : Defined by the NuttX configuration
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0xa14c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 5.000000 / Clang 15.0.7 Using NuttX compilation options / Defined by the NuttX configuration
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-02 09:56:35 +01:00
qinwei1
d2d954f691
arm64: ARMv8-r(Cortex-R82) support( add FVP platform )
...
Summary:
Adding virtual evaluate platform FVP. This FVP board configuration
will be used to emulate generic ARM64v8-R (Cotex-R82)series hardware
platform and provide support for these devices:
- GICv3 interrupt controllers for ARMv8-r
- PL011 UART controller(FVP)
Note:
1. ostest is PASSED at fvp ( single core and SMP)
2. the FVP tools can be download from ARM site, please check FVP
board readme.txt
TODO: merge PL011 UART driver to common place
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-02 13:33:15 +08:00
zhanghongyu
16ea80e53b
rndis: support iob offload
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-03-02 02:50:59 +08:00
SPRESENSE
8c7fc2c175
boards: spresense: Add LCD support on LTE board
...
Add a configuration to use SPI3 on LTE extension board for LCD.
2023-03-01 09:21:19 +01:00
SPRESENSE
1ce5dd948e
boards: spresense: Add eMMC initialization into bringup function
...
Add eMMC initialization into bringup function.
2023-03-01 09:21:19 +01:00
SPRESENSE
9717f48a18
boards: spresense: Support eMMC late initialization
...
Support eMMC late initialization to initialize eMMC from user application.
2023-03-01 09:21:19 +01:00
SPRESENSE
171f8a731c
boards: spresense: Remove duplicate definitions
...
Remove duplicate definitions are defined in board.h.
2023-03-01 09:21:19 +01:00
SPRESENSE
56d43a4a1d
boards: spresense: Add eMMC power-on wait time
...
Add 10msec wait time before eMMC device is powered on.
2023-03-01 09:21:19 +01:00
SPRESENSE
96da997b23
boards: spresense: Add board function for eMMC finalization
...
- Un-mount the FAT filesystem for eMMC
- Un-initialize eMMC driver
- Turn off the eMMC device
2023-03-01 09:21:19 +01:00
SPRESENSE
5b3496fb7b
boards: spresense: Add configuration for eMMC power control
...
Update Kconfig to add eMMC power pin selection.
2023-03-01 09:21:19 +01:00
SPRESENSE
b60fbefabe
boards: spresense: Support using GPIO for power control
...
Introduce CHIP_TYPE_GPIO to allow GPIO to be used for power control.
2023-03-01 09:21:19 +01:00
SPRESENSE
4a405ca107
boards: spresense: Remove wrong build condition
...
Remove wrong build condition and always build cxd56_gpioif.c.
2023-03-01 09:21:19 +01:00
qinwei1
d5c6b8a94b
arm64: add 64-bit time for all arm64 platform
...
Summary
For ARM64 architecture, the arch timer is 64-bit,
the CONFIG_SYSTEM_TIME64 need to be enabled just like
x86_64 and risc-v 64
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-01 13:23:48 +08:00
qinwei1
4240723b78
arm64: add ARCH_EARLY_PRINT support
...
Summary:
The aarch64 have EL0~El3 execute level and NS/S (security state),
the NuttX should be execute at EL1 in NS(ARmv8-A) or S(ARmv8-R)
state. but booting NuttX have different ELs and state while with
different platform, if NuttX runing at wrong ELs or state it will
be not normal anymore. So we need to print something in arm64_head.S
to debug this situation.
Enabling this option will need to implement up_earlyserialinit and
up_lowputc functions just you see in qemu, if you not sure,
keeping the option disable.
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2023-03-01 13:23:48 +08:00
Xiang Xiao
2c5f653bfd
Remove the tail spaces from all files except Documentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-26 13:24:24 -08:00
Lucas Saavedra Vaz
b7bfd9e530
boards/xtensa/esp32-lyrat: Add SD Card config
2023-02-24 22:20:13 +08:00
Huang Qi
ca61c40453
stdio: Remove CONFIG_EOL_IS_XXX
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-02-24 00:35:19 +08:00
Xiang Xiao
8b4ecac6c2
libc: Move math library from libs/libc/math to libs/libm/libm
...
to prepare the support of other implementation e.g.:
https://github.com/JuliaMath/openlibm
https://gitlab.com/gtd-gmbh/libmcs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-23 10:40:07 +02:00
SPRESENSE
e867b84458
boards: cxd56_imageproc: Change alpha blend interface
...
- Remove unnecessary member
- Some member changed to appropriate type
- Add usage description
2023-02-22 12:48:11 +02:00