1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

47881 Commits

Author SHA1 Message Date
Gunar Schorcht
bc43e5e55d pkg: add esptool.py as package for compilation 2025-06-22 17:13:57 +02:00
Gunar Schorcht
2b39dd0ec9 drivers/ws281x/esp32: software driver migration to ESP-IDF v5.4 2025-05-31 11:08:22 +02:00
Gunar Schorcht
aa9a48fd4c cpu/esp32/esp-lcd: migration to ESP-IDF v5.4 for ESP32-S3 2025-05-30 17:11:35 +02:00
Gunar Schorcht
19a7b0e77c cpu/esp_common/freertos: add static semaphore 2025-05-30 09:08:33 +02:00
Gunar Schorcht
545d0ab2fd cpu/esp_common/syscalls: enable multiheap for SPI RAM
For ESP8266, the `heap_caps_*_default` functions are simply mapped to the corresponding `heap_caps_*` functions because SPI RAM is not supported. But for ESP32x, where SPI RAM might be enabled, the implementation of the `heap_caps_*_default` functions of the ESP-IDF must be used, as these try to allocate memory blocks smaller than `CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL` from the internal memory first. This is important for some control data structures that must be located in the internal memory, such as the NVS partition table, in order to avoid access conflicts between SPI RAM and SPI flash memory.
2025-05-30 09:08:33 +02:00
Gunar Schorcht
3a81390b2a drivers/sdmmc: add additional debugging info 2025-05-28 18:05:53 +02:00
Gunar Schorcht
4c74f54eb0 cpu/esp32: replace deprecated ADC peripheral driver 2025-05-28 18:05:53 +02:00
Gunar Schorcht
b5314db4a3 cpu/esp32: small sdkconfig cleanups 2025-05-28 18:05:51 +02:00
Gunar Schorcht
226f97cb01 cpu/esp32: small Makefile cleanups 2025-05-28 18:00:26 +02:00
Gunar Schorcht
7983b76ca7 boards/esp32c3-devkit: small documentation fixes 2025-05-28 18:00:26 +02:00
Gunar Schorcht
7adb50b901 cpu/esp32/periph/hwrng: enable/disable bootloader RNG
If the ADC SAR is used, the Bootloader RNG must not be enabled before the random numbers are actually required. The reason is that the Bootloader RNG uses the noise of the ADC SAR reference voltage as a non-RF entropy source. The calibration of the ADC SAR does not work correctly in this case. Therefore, the Bootloader RNG is only enabled if random numbers are really required.
2025-05-28 18:00:26 +02:00
Gunar Schorcht
47a8947720 cpu/esp32/periph/pm: fix wake-up by UART for ESP32 2025-05-28 18:00:26 +02:00
Gunar Schorcht
db274790d5 boards/esp32-heltec-lora32-v2: fix schematic reference in doc 2025-05-28 18:00:26 +02:00
Gunar Schorcht
9cca08151b cpu/esp32: remove esp_idf_api
This API which was added to prevent type conflicts is not needed any longer.
2025-05-28 18:00:26 +02:00
Gunar Schorcht
84378c2c7f pkg/esp32_sdk: add patches for uart types 2025-05-28 17:55:43 +02:00
Gunar Schorcht
d81254b527 cpu/esp_common: uart_ll implementation
In order to avoid further unreadability of the source code due to conditional compilations when integrating further variants of ESP32x SoCs, the UART driver is ported to the low-level UART API of the ESP-IDF.
2025-05-28 17:55:43 +02:00
Gunar Schorcht
d2ce6af22d cpu/esp8266: add uart_ll driver functions
Implementation of low-level UART driver functions for source code compatibility with ESP-IDF.
2025-05-28 17:55:43 +02:00
Gunar Schorcht
a35c017835 pkg/tinyusb: migration to ESP-IDF v.54 2025-05-28 17:55:43 +02:00
Gunar Schorcht
99a127ac68 drivers/sdmmc: fix response type for CMD3
SD Card responses on CMD3 with R6 instead of R3 to publish its RCA. Bug found when migrating SDMMC for ESP32x to ESP-IDF v5.4.
2025-05-28 17:55:43 +02:00
Gunar Schorcht
fd168834cb drivers/ws281x/esp32: makefile migration to ESP-IDF v5.4 2025-05-28 17:55:43 +02:00
Gunar Schorcht
4eccc8bf09 cpu/esp_common: enable DEBUG_ASSERT_VERBOSE by default
Since there is not yet a working mechanism on ESPs to get the caller address within a function, `assert` always outputs 0x0 as the caller address. This makes absolutely no sense and makes debugging more difficult. `DEBUG_ASSERT_VERBOSE` is therefor enabled by default on ESPs.
2025-05-28 17:55:43 +02:00
Gunar Schorcht
5926a9e967 cpu/esp32: makefile migration to ESP-IDF v5.4 2025-05-28 17:55:43 +02:00
Gunar Schorcht
da7f93f108 pkg/esp32_sdk_mbedtls: add MbedTLS as used by ESP-IDF
It is needed in the future to implement WPA3. In that case ESP-IDF uses crypto and tls from mbedtls.
2025-05-28 17:55:43 +02:00
Gunar Schorcht
2150ec41db cpu/esp32: fix doc regarding GPIOs in deep-sleep mode 2025-05-28 17:55:42 +02:00
Gunar Schorcht
1aa8534055 cpu/esp32: fix return type of system_get_time_64 2025-05-28 17:55:42 +02:00
Gunar Schorcht
01f830745c cpu/esp32/vendor/ld: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
0d4575fc54 cpu/esp32: fix frequency in Kconfig 2025-05-28 17:55:42 +02:00
Gunar Schorcht
7086036b1c cpu/esp32/sdkconfig: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
5ab571453e cpu/esp_common/esp-now: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
8eeeb99978 cpu/esp_common/esp-wifi: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
5f58ebe90f cpu/esp_common/freertos: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
d3baf4b6bc cpu/esp32/usb_reset: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
e16bca41cd cpu/esp32/syscalls: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
d57fd6a559 cpu/esp32/stdio_usb_serial_jtag: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
fe0f1375b4 cpu/esp32/startup: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
ac4281035a cpu/esp32/irq_arch: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
ea8462e633 cpu/esp32/periph: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
6083a016aa cpu/esp32/periph/uart: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
5a378edaa2 cpu/esp32/periph/timer: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
fe8967b8e6 cpu/esp32/periph/spi: migration to ESP-IDF v5.4 2025-05-28 17:55:42 +02:00
Gunar Schorcht
085cdae3fe cpu/esp32/periph/sdmmc: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
d5684c6cdd cpu/esp32/periph/rtt: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
e11b8fe6dc cpu/esp32/periph/pwm: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
4ef5f51ba5 cpu/esp32/periph/pm: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
1788e2c777 cpu/esp32/periph/i2c: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
24cf2457b8 cpu/esp32/periph/gpio: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
722cc0a678 cpu/esp32/periph/flashpage: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
a4e7227bd2 cpu/esp32/periph/flash: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
f0d9c39db2 cpu/esp32/periph/dac: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00
Gunar Schorcht
ae73a85d88 cpu/esp32/periph/can: migration to ESP-IDF v5.4 2025-05-28 17:50:42 +02:00