Abdelatif Guettouche
af5e0c620f
Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 07:14:17 -05:00
Abdelatif Guettouche
f54804bafc
arch/risc-v/esp32c3: Create a separate heap for the RTC memory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
965a39a76d
boards/risc-v/esp32c3-devkit: Include "config.h" in esp32c3_boot.c
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
bd0e03fecf
boards/risc-v/esp32c3-devkit/esp32c3.ld: Add the RTC BSS section for
...
completeness.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Abdelatif Guettouche
61f7bc6e2a
boards/risc-v/esp32c3-devkit/scripts: Drop the "iram" in the name of the RTC
...
section.
The RTC region is accessed by both I and D buses. The old name of
`rtc_iram_seg` is a bit confusing.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-18 00:53:42 -05:00
Liu Han
04c805207a
risc-v/esp32c3: Support ESP32-C3 efuse
2021-06-16 09:35:09 -03:00
Liu Han
8eaaf6d462
risc-v/esp32c3: Support ESP32-C3 RSA accelerator
2021-06-14 15:03:11 -03:00
Chen Wen
dbf9c87a42
risc-v/esp32c3: Support ESP32-C3 RTC driver
2021-06-10 09:33:04 -03:00
Xiang Xiao
5b2a17b892
Include assert.h in necessary place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-08 13:06:08 -07:00
Gustavo Henrique Nihei
0b3c2c7603
spi: Refactor SPI Slave interface prefix to sync with I2C Slave
2021-06-05 04:50:34 -07:00
Abdelatif Guettouche
f00deae9ac
boards/esp32c3-devkit: Add a defconfig to test the shared library
...
example.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
Abdelatif Guettouche
dd4962b2f8
boards/esp32c3-devkit: Add the necessary flags for loadable modules and
...
a module defconfig to test the "module" example.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
Abdelatif Guettouche
3b7ae20843
boards/risc-v/esp32c3-devkit: Add an ELF defconfig and the necessary ELF
...
flags and linker script to support that.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-04 18:08:36 -03:00
YAMAMOTO Takashi
c20ed229b1
refresh configs
2021-06-03 10:05:33 -05:00
Xiang Xiao
d7f96003cf
Don't include debug.h from public header file
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-06-01 06:42:02 +09:00
Gustavo Henrique Nihei
8a41d849df
drivers/spi: Change prefix to a more intuitive "spislave"
2021-05-31 07:54:08 -07:00
Gustavo Henrique Nihei
8914646c27
board/esp32c3-devkit: Add support for SPI Slave chardev driver
2021-05-31 12:54:15 +01:00
Dong Heng
73dcbac09d
riscv/esp32c3: Add ESP32-C3 AES driver
2021-05-25 11:02:59 -03:00
Dong Heng
76df958e34
riscv/esp32c3: Support SPI Flash encryption read/write
2021-05-23 08:37:25 -03:00
chenwen
9a99d813fa
risc-v/esp32c3: Support ESP32-C3 auto-sleep
2021-05-19 07:00:40 -03:00
Dong Heng
f12de4f7d9
riscv/esp32c3: Add ESP32-C3 ADC driver
2021-05-18 09:20:46 -03:00
Dong Heng
beed26b6bf
riscv/esp32c3: Add ESP32-C3 LEDC(PWM) driver
2021-05-15 08:38:37 -03:00
chenwen
16667930cb
risc-v/esp32c3: Support ESP32-C3 PM standby and sleep
2021-05-12 10:15:06 -03:00
Abdelatif Guettouche
df7bd125f8
boards/risc-v/esp32c3: Convert the README.txt to the new Documentation.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-05-12 04:40:41 -07:00
Dong Heng
bd8e37bb4b
risc-v/esp32c3: Add ESP32-C3 (G)DMA driver and testing
2021-05-07 16:46:41 -03:00
Gustavo Henrique Nihei
4f08f43a6d
boards/esp32c3-devkit: Increase MAX_TASKS to 16 on nsh/ostest configs
...
This fixes the barrier test from ostest application
2021-04-30 17:55:30 +01:00
Dong Heng
fcd5648bca
riscv/esp32c3: Fix SPI Flash driver internal chip data address error
...
"g_rom_flashchip" is not in fixed address between all ESP32-C3's different versions.
2021-04-28 09:58:16 -05:00
Gustavo Henrique Nihei
66a15a6f83
risc-v/esp32c3: Fix wrong references to ESP32
2021-04-28 15:41:30 +01:00
Gustavo Henrique Nihei
ba23526e39
boards/esp32c3-devkit: Allocate .noinit in a dedicated section
...
Previously it was being allocated into .bss section after the _ebss
address. Although functional, this is not intuitive.
2021-04-28 15:40:49 +01:00
Gustavo Henrique Nihei
2fd98c99d7
boards/esp32c3-devkit: Add SPI character device driver
2021-04-26 20:50:32 -03:00
Gustavo Henrique Nihei
e0f514171b
boards/esp32c3-devkit: Add board-specific SPI functions
2021-04-26 20:50:32 -03:00
Sara Souza
7a80cbf93f
risc-v/esp32-c3: Adds oneshot timer driver.
2021-04-22 09:13:58 +01:00
Abdelatif Guettouche
ad43d9e8f3
boards/esp32c3-devkit: Add an OSTest defconfig.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-04-13 12:07:56 -03:00
Dong Heng
31854ca135
riscv/esp32c3: Fix heap end address
2021-04-12 01:36:11 -05:00
Alan Carvalho de Assis
b4129f8989
esp32c3-devkit: Add random example board config
2021-04-03 07:20:03 -05:00
Alin Jerpelea
3d96d5f2ce
arch: esp32: Mixed Case identifier fix
...
Fix Mixed Case Identifier reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-04-01 12:13:12 -05:00
chenwen
91eb70b5ef
risc-v/esp32c3: Support ESP32-C3 wireless ioctl cmd
2021-03-30 12:29:11 -05:00
Alan Carvalho de Assis
76c02afc48
esp32c3-devkit: Add board support for SPIFlash
...
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 09:19:25 +01:00
Alan Carvalho de Assis
4f8ff0765f
risc-v/esp32c3: Add SPIFlash support
...
Co-Authored-By: Dong Heng <dongheng@espressif.com>
Co-authored-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-03-26 09:19:25 +01:00
Alin Jerpelea
6f14299dd0
boards: nxstyle fixes
...
nxstyle fixes to pass the CI check
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-03-18 22:58:27 -07:00
Jiuzhu Dong
59eb4fa8d6
fs: delete NFILE_DESCRIPTORS for allocating dynamically
...
Change-Id: Id06d215063796d222b9792d25ab2d6742167729f
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-03-17 06:46:42 -07:00
Gustavo Henrique Nihei
a93d538f3b
boards/esp32c3-devkit: Use nx_mount to avoid overriding errno
2021-03-16 19:49:21 -07:00
Dong Heng
458caf2732
riscv/esp32c3: Add ESP32-C3 WLAN netcard driver
2021-03-16 10:42:32 -03:00
Gustavo Henrique Nihei
8517168336
boards/esp32c3-devkit: Add support for BMP180 sensor
2021-03-11 19:32:03 -03:00
Gustavo Henrique Nihei
4099c1d75d
boards/esp32c3: Create configuration for I2C testing
2021-03-11 19:32:03 -03:00
Gustavo Henrique Nihei
abab83b216
boards/esp32c3-devkit: Add support for I2C on board bringup
2021-03-11 19:32:03 -03:00
Gustavo Henrique Nihei
330eff36d7
sourcefiles: Fix relative path in file header
2021-03-09 23:18:28 +08:00
Sara Souza
85a93be5d7
risc-v/esp32-c3: Adds timer driver
2021-03-09 11:16:53 -03:00
Xiang Xiao
9473434587
Ensure the kernel component don't call userspace API
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-03-01 09:23:09 +09:00
Gustavo Henrique Nihei
7fe096c65e
risc-v: Fix typos reported by codespell
2021-02-25 16:25:47 +00:00
Abdelatif Guettouche
fb68a4b777
esp32c3: Add system reset.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-23 18:13:02 -08:00
Dong Heng
7c9c9907ef
boards/esp32c3: Add tmpfs mounting when bringing up
2021-02-23 00:41:08 -08:00
Gustavo Henrique Nihei
291a5755cc
risc-v/esp32c3: Add support for MWDT0 and MWDT1
2021-02-22 17:18:01 +00:00
Abdelatif Guettouche
10fca18b55
boards/*/esp32: Add instructions on how to use the configs with QEMU.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 09:57:01 -08:00
Abdelatif Guettouche
067da56d0c
esp32c3: Some cosmetics and style fixes.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 10:29:43 -03:00
Abdelatif Guettouche
10822799fb
esp32c3: Add GPIO IRQ support.
...
The GPIO example was also extended to include testing an interrupt pin.
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
Co-authored-by: Alan Carvalho <alan.carvalho@espressif.com>
2021-02-21 10:29:43 -03:00
Alan Carvalho
4a42998f36
esp32-c3: Add the GPIO driver.
...
This commits adds support for the ESP32-C3 IO Mux and GPIO Matrix. It
also includes necessary board logic to run the GPIO example with 2
outputs.
Co-authored-by: Alan Carvalho <alan.carvalho@espressif.com>
Co-authored-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-21 10:29:43 -03:00
Gustavo Henrique Nihei
4a6cdc8255
risc-v/esp32c3-devkit: Clean-up NSH configuration
2021-02-19 21:19:22 +00:00
Gustavo Henrique Nihei
303326bb52
risc-v/esp32c3: Enable stdio buffering for esp32c3-devkit NSH configuration
2021-02-19 21:19:22 +00:00
Gustavo Henrique Nihei
424a838021
esp32c3/nsh: Use Readline for NSH cmdline editor
2021-02-19 06:32:27 -08:00
Abdelatif Guettouche
5562f08369
boards: Add the ESP32-C3 DevKit board
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-02-18 01:21:53 -08:00