Tiago Medicci Serrano
18718316dc
esp32/ble: enable the BLE interrupt during a SPI flash operation
...
This commit sets the BLE's interrupt as a IRAM-enabled interrupt,
which enables it to run during a SPI flash operation. This enables
us to create a cache to off-load semaphores and message queues
operations and treat them when the SPI flash operation is finished.
By doing that, we avoid packet losses during a SPI flash operation.
2023-11-10 09:11:35 +08:00
Tiago Medicci Serrano
b25793ebac
esp32/spiflash: Make it similar to ESP32-S3 by removing cache state
2023-11-10 09:11:35 +08:00
Tiago Medicci Serrano
57b8fc9954
esp32/irq: Allow IRAM ISRs to run during SPI flash operation
...
This commit provides an interface to register ISRs that run from
IRAM and keeps track of the non-IRAM interrupts. It enables, for
instance, to avoid disabling all the interrupts during a SPI flash
operation: IRAM-enabled ISRs are, then, able to run during these
operations.
It also makes the code look more similar to the ESP32-S3 SPI flash
implementation by creating a common `esp32_spiflash_init` that is
responsible to create the SPI flash operation tasks. The function
intended to initialize the SPI flash partions was, then, renamed to
`board_spiflash_init`.
2023-11-10 09:11:35 +08:00
Lucas Saavedra Vaz
5f1dca63ae
arch/xtensa/esp32: Add missing SPI Flash ROM functions
...
Add missing ROM functions and clear source files
2023-05-27 03:16:20 +08:00
Lucas Saavedra Vaz
274a79fd34
arch/xtensa/esp32: Define syscall table to enable using ROM functions
...
This commit aims to enable the use of ROM functions on ESP32.
This is done by creating the required syscall stubs table and adding the missing symbols to the linker script.
2023-05-10 15:39:44 -03: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
Gustavo Henrique Nihei
b6d9d4e92f
xtensa/esp32: Fix PSRAM support when Stack Smash protection is enabled
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-15 09:34:15 +08:00
Gustavo Henrique Nihei
f78c6432d8
xtensa/esp32: Simplify board linker script selection
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-08 21:55:29 +08:00
Gustavo Henrique Nihei
236ee5c80d
xtensa/esp32: Rename linker scripts into more meaningful names
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-08 21:55:29 +08:00
Lucas Saavedra Vaz
c06b881812
boards/esp32: Fix invalid IRAM option in linker script
2022-11-03 22:24:18 +01:00
Gustavo Henrique Nihei
73678c4839
xtensa/esp32: Allow allocation of user data in SPI RAM
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-10-04 21:32:42 +02:00
Nathan Hartman
20bdd44e7b
Remove executable permission from source and build files.
2022-08-04 12:48:18 -03:00
Gustavo Henrique Nihei
76acfef5ec
xtensa/esp32: Add support for Protected Mode
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-07-14 14:57:57 +08:00
Abdelatif Guettouche
1de17c364f
esp32.ld: Force some of libsched.a symbols to internal SRAM. They are used
...
when the cache is disabled.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-16 22:56:21 -07:00
Abdelatif Guettouche
d1ecb8b2e6
esp32.ld: Force some of libarch.a symbols to internal SRAM. They are used
...
when the cache is disabled.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-16 22:56:21 -07:00
Alan C. Assis
867c6d0636
esp32: Add initial support to Bluetooth Low Energy
...
Co-authored-by: saramonteiro <saramonteirosouza44@gmail.com>
Co-authored-by: Gustavo Henrique Nihei <gustavonihei@gmail.com>
2021-10-04 15:10:37 -03:00
Abdelatif Guettouche
a0488a31b3
boards/esp32: Strongly declare libgcc symbols that exist in the ROM
...
linker script, so that we can link them instead of those present in
libgcc.a
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-10-01 10:09:04 -03:00
Gustavo Henrique Nihei
1dfcc6ab49
xtensa/esp32: Enable boot from Espressif's port of MCUboot
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-13 08:44:20 -03:00
Abdelatif Guettouche
e45facf6a8
boards/xtensa/esp32: Move the linker scripts to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-07-15 08:32:22 -03:00
Abdelatif Guettouche
556321b9e2
boards/esp32: Move the ROM linker script to the common directory.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-06-23 12:14:34 -05:00