Dong Heng
698f1f76ff
risc-v/esp32c3: Refactor SPI Flash to support umask interrupt when R/W/E SPI Flash
...
This can fix BLE assert when erase SPI Flash.
2021-12-06 13:13:11 +09:00
Dong Heng
779a29fea5
boards/Kconfig: set BOARD_ASSERT_RESET_VALUE default value to be 1
...
The board code should separate the reset reason, so it had better
make "BOARD_ASSERT_RESET_VALUE" not be equal to "EXIT_SUCCESS".
2021-11-16 10:44:54 -03:00
Dong Heng
92eedd93a7
risc-v/esp32c3: Fix reset triggering crash nested when crash
2021-11-16 10:44:54 -03:00
Abdelatif Guettouche
a01cb867ce
esp32c3_rom.ld: Add some of the string.h functions to the linker
...
script.
These functions are strongly declared and thus will be used instead of
any other implementation. Furthermore, necessary Kconfig options are
selected to avoid building those function from NuttX's C library.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-13 11:54:42 -03:00
Abdelatif Guettouche
044508c979
boards/esp32c3-devkit: Add a defconfig for the USB CDC Console.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-09 09:22:57 -03:00
ChenWen
440787c0c1
risc-v/esp32c3: Fix Wi-Fi & BLE coexist issue
...
1. Wi-Fi and BLE use common PHY functions.
2. Fix Wi-Fi & BLE coexist adapter error.
3. Update esp-wireless-drivers-3rdparty, provide coexist protection for connection.
2021-11-04 11:02:05 -03:00
Abdelatif Guettouche
860370284e
esp32c3_dma: Remove the DMA test included in the driver along with its
...
defconfig.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-11-01 13:49:59 -05:00
Gustavo Henrique Nihei
c9d784a238
boards/esp32c3-devkit: Port SPI Flash FS fixes from ESP32
...
This commit brings 3 fixes/improvements applied to the Kconfig options
for SPI Flash file system support on board bring-up:
- (925e8f9
) Optionally mount SPI Flash MTD on bring-up
- (f74c6f7
) Transform SPI Flash FS deps into reverse deps
- (9056cab
) Select MTD_SMART if SmartFS is selected for SPI Flash MTD
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-25 21:45:20 -05:00
Gustavo Henrique Nihei
18f785c7b7
risc-v/esp32c3: Removed unused definitions
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-25 21:45:20 -05:00
Gustavo Henrique Nihei
06bb85d8a5
risc-v/esp32c3: Rename MTD-related configs to become more intuitive
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-25 21:45:20 -05:00
Gustavo Henrique Nihei
211f899b62
risc-v/esp32c3: Refactor and reorganize Partition Table related configs
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-25 16:34:58 -03:00
Abdelatif Guettouche
9235d6605b
boards/esp32&esp32c3: Remove crypto accelerators' defconfigs.
...
Since the tests were removed from the drivers, there is no need for
these defconfigs anymore.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Abdelatif Guettouche
55e8b17974
boards/risc-v/esp32c3: Remove the flash encryption test.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Abdelatif Guettouche
e424241d09
arch/risc-v/esp32c3: Remove the bignum test from the driver.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Abdelatif Guettouche
91cb9dafaf
arch/risc-v/esp32c3: Remove the RSA test from the driver.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Abdelatif Guettouche
652d77efd2
arch/risc-v/esp32c3: Remove the SHA test from the driver.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Abdelatif Guettouche
5d1c01aea7
arch/risc-v/esp32c3: Remove the AES test from the driver.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-19 18:41:57 -03:00
Gustavo Henrique Nihei
0a1b3c1331
risc-v/esp32c3-devkit: Add BLE defconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-05 08:45:40 -03:00
Gustavo Henrique Nihei
47e804b167
risc-v/esp32c3: Make BLE adapter code compliant to nxstyle
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-10-05 08:45:40 -03:00
Abdelatif Guettouche
ee20d0f545
esp32c3_rom.ld: Add a strong declaration to some libgcc function that
...
are ROM resident.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-01 10:09:04 -03:00
Gustavo Henrique Nihei
548f2b6eab
boards/esp32c3-devkit: Add mcuboot_confirm defconfig
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:22:29 -07:00
Gustavo Henrique Nihei
3c63cb522c
risc-v/esp32c3: Enable booting from MCUboot bootloader
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-27 18:22:29 -07:00
Alan C. Assis
f9b322567c
boards/esp32c3: Remove "return ret" from bringup
2021-09-21 10:34:55 -03:00
Alan C. Assis
63a17f5cdd
esp32c3-devkit: Add board profile to use LVGL on GC9A01 display
2021-09-18 20:58:30 -05:00
Peter Bee
a7a3d8bec7
boards/esp32c3: add ESP32C3 LCD drivers
...
Add board driver for ST7735, ST7789 and GC9A01
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-09-17 09:35:10 -03:00
Alan C. Assis
099e9fb4f7
boards: Remove -nostartfiles -nodefaultlibs from LDFLAGS
2021-09-13 08:58:25 +08:00
Sara Souza
acf18bd82d
risc-v/esp32-c3: refactor the Wi-Fi board logic.
...
This commit moves the Wi-Fi initialization to
Wi-Fi specific file and to spiflash initialization.
It also reserves one partition for Wi-Fi use and for general use,
and makes it possible to me mounted by several FS.
2021-09-09 20:14:04 +08:00
Sara Souza
11068fad1b
risc-v/esp32-c3: Enable the allocation of multiple MTD SPI Flash partitions
2021-09-09 20:14:04 +08:00
Gustavo Henrique Nihei
310a2dd0e4
tools/esp32c3: Create option for merging all binaries into a single file
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-08 12:16:52 +02:00
Alin Jerpelea
9d870e1502
defconfig: allow use of BSD components
...
several configs are used for testing and need the BSD components
more information about license can be found here
https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 09:00:43 -03:00
Alin Jerpelea
2ab9e7fef0
Revert "esp32: remove FS_SPIFFS from defconfigs"
...
This reverts commit 35a004bdd0
.
2021-09-02 09:00:43 -03:00
Alin Jerpelea
35a004bdd0
esp32: remove FS_SPIFFS from defconfigs
...
FS_SPIFFS uses BSD license and should not be enabled by default
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-30 22:39:04 +08:00
Alin Jerpelea
a43650648e
risc-V: remove ble defconfigs
...
By default the components with BSD license should be disabled
NOTE:
the BLUETOOTH components was enabled in a non bluetooth config
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-27 02:56:22 +08:00
Xiang Xiao
b12f588140
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
...
since boardctl isn't a libc feature
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-06 13:58:26 +02:00
jordi
b87333bae8
Kconfig: remove empty help sections
...
To avoid the setconfig warning: "has 'help' but empty help text"
2021-07-23 02:32:19 -07:00
Sara Souza
81e881c8c0
risc-v/esp32-c3: Makes output readable and rmv unnecessary var.
2021-07-16 19:53:04 -03:00
Dong Heng
f5eaf82c93
risc-v/esp32c3: Use onexit to free thread private semaphore
2021-07-12 09:38:21 -03:00
Jiuzhu Dong
85470176e7
sched/task: delete CONFIG_MAX_TASKS limit
...
Change-Id: I583015a95dbcebd352f81ecb3104ffdbd646a9ec
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-07-11 19:42:30 -07:00
Dong Heng
d83caef2df
boards/esp32c3-devkit: Support mounting SPI Flash MTD to littleFS
2021-07-08 09:01:43 -03:00
Dong Heng
2d6c1044fb
boards/esp32c3-devkit: Fix compiling error
...
Add UID defconfig to check compiling error.
2021-07-07 02:49:52 -05:00
Xiang Xiao
f0961f43a6
boards/esp32c3-devkit: Add etctmp to .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-07-06 09:49:43 -05:00
chenwen
97b8e90d79
boards/esp32c3: Add romfs configuration
2021-07-06 05:25:14 -05:00
Dong Heng
475becac37
risc-v/esp32c3: Add board_ioctl and board_uniqueid
2021-07-05 23:12:17 -05:00
xiewenxiang
5fd3eca9c9
riscv/esp32c3: Support BLE sleep mode
2021-06-28 23:14:30 -05:00
xiewenxiang
145d917587
riscv/esp32c3: Add Wi-Fi and BLE coexist
2021-06-28 23:14:30 -05:00
xiewenxiang
8b96edc3a5
riscv/esp32c3: Add esp32c3 BLE driver
2021-06-28 23:14:30 -05:00
Abdelatif Guettouche
11ed8575cd
boards/rsic-v/esp32c3: Use the common gnu-elf.ld file from binfmt/libelf
...
instead of keeping the same file for each board.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 08:04:14 -05:00
Abdelatif Guettouche
eb403bc996
boards/riscv/esp32c3: Rename the iram_0_2 segment to irom_0_0 to avoid
...
confusions.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-24 07:00:51 -05:00
Abdelatif Guettouche
60da4317b9
arch/risc-v/esp32c3: Use the same naming for the RTC heap as ESP32 for
...
consistency.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 08:37:01 +09:00
Liu Han
2dd081ed7d
risc-v/esp32c3: Support ESP32-C3 SHA accelerator
2021-06-21 02:41:53 -05:00