AuroraRAS
581e9ce80b
Add MPU60x0 IMU sensors support for ESP32C3
...
Add MPU60x0 IMU sensors support for ESP32C3
Signed-off-by: AuroraRAS <chplee@gmail.com>
2023-04-22 01:47:09 +08:00
Gustavo Henrique Nihei
9affcb8673
boards: Update tickless defconfigs with ostest for testability
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-04-06 19:29:23 +03:00
Lucas Saavedra Vaz
1b87c86619
boards: Update and fix configs for ESP boards
2023-03-25 12:23:35 +02:00
Gustavo Henrique Nihei
c44d55c70c
risc-v/espressif: Fix bootloader and app potential IRAM overlap
...
Related to a recent fix from esp-idf:
0fb0be3817
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-17 16:51:52 -03:00
Tiago Medicci Serrano
7b807a8540
esp32-esp32c3/wifi: remove naming inconsistencies
...
* Remove the 'COEXISTENCE' suffix from Wi-Fi's STA + SoftAP mode.
Coexistence usually refers to Wi-Fi + BLE, instead of Wi-Fi's
operation mode;
* Remove commented debug code;
* Remove outdate function descriptions;
2023-03-16 19:07:25 +01:00
Lucas Saavedra Vaz
35f830b19a
boards: Add CoreMark config to ESP boards
2023-03-08 13:11:13 +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
Xiang Xiao
ee24396d77
drivers/note: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
...
follow other driver config style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-20 14:30:59 +08:00
Alan Carvalho de Assis
39d3236ee8
esp32c3-devkit: Remove -Werror to let compile ble stack
2023-02-18 11:02:31 +08:00
chao an
3a0fdb019d
nuttx: replace all ARRAY_SIZE()/ARRAYSIZE() to nitems()
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-09 20:05:44 +08:00
Xiang Xiao
267e80a9e7
boards: Update Administrator tea result to 8Tv+Hbmr3pLVb5HHZgd26D
...
continue the change: https://github.com/apache/nuttx/pull/6843
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-26 17:11:07 +02:00
Xiang Xiao
d7ee492fc4
board/arch: Remove FAR decorator
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-25 13:05:07 +02:00
Gustavo Henrique Nihei
e77e12e145
espressif: Stabilize MCUboot support on Espressif chips
...
MCUboot support is no longer behind EXPERIMENTAL for the following
chips:
- ESP32
- ESP32-S2
- ESP32-S3
- ESP32-C3
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-24 08:44:22 +09:00
Alan Carvalho de Assis
f0289577bf
boards: Update all boards config after updating NSH_CMDPARMS
2023-01-23 03:04:51 +08:00
Gustavo Henrique Nihei
11e401c0bc
esp32[c3|s3]: Fix relative path in file header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Gustavo Henrique Nihei
5a25b46b8b
esp32[c3|s3]: Improve documentation of Linker Scripts
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
Gustavo Henrique Nihei
2436065096
espressif: Add missing Apache Foundation copyright header
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-01-19 10:11:34 +08:00
pengyiqiang
1c62181b0d
boards: adapt LVGL v8 defconfig
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-01-01 10:15:08 -03:00
Xiang Xiao
85566fb5d7
boards/esp32c3-devkit: Enable CONFIG_PM_PROCFS to improve the ci coverage
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-24 11:26:48 -03:00
Gustavo Henrique Nihei
739aca095a
risc-v/esp32c3: Prevent double initialization of SHA peripheral
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-16 16:19:47 +02:00
anjiahao
bc0fe0ea16
crypto:add some hardware support
...
esp32c3: aes hmac-sha1 hmac-sha256
stm32f0l0g0 stm32l1 : aes
sam34: aes
lpc43: aes
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-12-14 02:33:56 +08:00
Xiang Xiao
2bc780f062
risc-v/esp32c3: Move .gitignore from common/src to common
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-11 22:41:25 +08:00
chao an
61563d6004
risc-v/es32c3: improve passthrough performance by iob offload
...
Use iob offload model to improve passthrough performance
1. Use iob buffer instead of reserved packet buffer
2. Enable TCP/UDP buffer mode
-------------------------------------------------
| Protocol | Server | Client | |
|-----------------------------------------------|
| TCP | 7 | 12 | Mbits/sec |
| TCP(Offload) | 17 | 11 | Mbits/sec |
| UDP | 10 | 16 | Mbits/sec |
| UDP(Offload) | 43 | 28 | Mbits/sec |
-------------------------------------------------
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-11 16:19:20 +08:00
Xiang Xiao
563f5f4fa4
Fix Error: board/esp32c3_bringup.c:150:9: error: implicit declaration of function 'board_apds9960_initialize'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-09 21:10:40 +01:00
Gustavo Henrique Nihei
4ba7ef51c5
risc-v/esp32c3: Add ROMFS files into .gitignore
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-09 23:35:08 +08:00
Gustavo Henrique Nihei
1ced1e9f35
risc-v/esp32c3: Move files shared between boards into a common folder
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-09 11:19:27 +08:00
Gustavo Henrique Nihei
9af5dca7dc
risc-v/esp32c3: Refactor and rename linker scripts
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-09 11:19:27 +08:00
chao an
ee72f920a3
esp32c3/nsh: enable dumpstack/backtrace
...
Dump task stack:
| nsh> ps
| PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK COMMAND
| 0 0 0 FIFO Kthread N-- Ready 00000000 002016 Idle Task
| 1 1 100 RR Task --- Running 00000000 001984 nsh_main
| nsh> dumpstack 0 100
| backtrace| 0: 0x4200764a 0x3fc82d60 0x420000b2 0x42000044
| backtrace| 1: 0x42007e98 0x420036b4 0x4201043c 0x42010450 0x4200cab0 0x42008fec 0x42009294 0x42008454
| backtrace| 1: 0x42007fbe 0x42007f54 0x42006200 0x4200432c
| backtrace| 2: 0x42013ec0 0x420119bc 0x42013abc 0x42006200 0x4200432c
address to line:
| $ riscv64-unknown-elf-addr2line -e nuttx 0x42007e98 0x420036b4 0x4201043c 0x42010450 0x4200cab0 0x42008fec 0x42009294 0x42008454
| nuttx/include/arch/syscall.h:238
| nuttx/sched/semaphore/sem_wait.c:201
| nuttx/sched/sched/sched_waitpid.c:127
| nuttx/sched/sched/sched_waitpid.c:597
| apps/nshlib/nsh_builtin.c:160
| apps/nshlib/nsh_parse.c:543
| apps/nshlib/nsh_parse.c:2736
| apps/nshlib/nsh_session.c:234
Signed-off-by: chao an <anchao@xiaomi.com>
2022-12-09 01:49:48 +08:00
Alan Carvalho de Assis
0e57e69b08
Add libc_stubs functions to get hmac_md5()
...
Co-author: Gustavo Nihei <gustavo.nihei@espressif.com>
Co-author: Lucas Vaz <lucas.vaz@espressif.com>
2022-11-25 10:26:37 +08:00
chao an
624d69ee05
boards: enter/leave critical section should in pairs
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 08:19:24 +09:00
Xiang Xiao
28947517ca
sched/spawn: Rename task_spawnattr_[get|set]stack[size|addr] to posix_spawnattr_[get|set]stack[size|addr]
...
since they can be not only used in task_spawn but also in posix_spawn
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-01 09:51:18 +09:00
Alan Carvalho de Assis
06d0dbc927
esp32c3-devkit-rust-1: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
Alan Carvalho de Assis
09d5919563
esp32c3-devkit: Remove not needed -msmall-data-limit=0 compilation flag
2022-10-27 23:12:43 +02:00
AuroraRAS
280aaa7b1d
Implement Interface method for ESP32C3: go_setpintype
...
Signed-off-by: AuroraRAS <chplee@gmail.com>
2022-10-22 09:01:37 +08:00
Xiang Xiao
6b31918b42
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 08:51:45 +02:00
Xiang Xiao
78f6a02bc8
boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:02:44 +02:00
Tiago Medicci Serrano
5089c5d2fd
esp32: fix wapi stack size on board examples
...
Fix the error on issue 7193:
(https://github.com/apache/incubator-nuttx/issues/7193 )
2022-10-07 14:44:30 +08:00
Xiang Xiao
70290b6e38
arch: Change the linker generated symbols from uint32_t to uint8_t *
...
and remove the duplicated declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-24 21:26:56 +02:00
田昕
f6ebbe4429
drivers/mtd:init commit of power-loss resilient cfg
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-09-15 17:46:56 +08:00
Alan Carvalho de Assis
4744810bfd
esp32c3/boards: Add support APA102/APDS0060 for Shift Game
2022-08-31 09:42:02 +08:00
Alan Carvalho de Assis
456aaa8c1c
esp32c3-devkit-rust-1: Add ARCH LED support
2022-08-24 00:52:19 +08:00
Alan Carvalho de Assis
23a7d8a693
esp32c3: Add initial support to esp32c3-devkit-rust-1 board
2022-08-24 00:52:19 +08:00
Alan Carvalho de Assis
9ee18d70aa
esp32c3-devkit: Fix /etc/passwd too
2022-08-13 03:02:55 +08:00
Nathan Hartman
20bdd44e7b
Remove executable permission from source and build files.
2022-08-04 12:48:18 -03: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
Gustavo Henrique Nihei
cc0ea2689c
esp32c3-devkit: Change output section identifiers to satisfy GDB
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Gustavo Henrique Nihei
c462ea6088
esp32c3-devkit: Improve documentation related to Protected Mode
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Gustavo Henrique Nihei
686c9f0ad7
esp32c3-devkit: Use prebuilt bootloader binaries on knsh defconfig
...
After #6400 the prebuilt bootloader may be used for loading the NuttX
images when BUILD_PROTECTED is enabled.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-12 10:56:59 +08:00
Huang Qi
9481456fde
risc-v/esp32c3: Implement up_perf_xxx API
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-06-21 21:35:22 +08:00
Gustavo Henrique Nihei
5805ad3954
risc-v/esp32c3: Disable access to invalid memory regions using MPU
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-06-11 01:55:46 +08:00