benpicco
55c2061a42
Merge pull request #21555 from HendrikVE/hendrik/dac-changes
...
cpu/sam0_common: enable static voltages
2025-06-23 09:19:41 +00:00
benpicco
e6741e6bf9
Merge pull request #21557 from gschorcht/pkg/esptool
...
pkg: use esptool.py v4.9.0 as package
2025-06-23 09:15:56 +00:00
Hendrik van Essen
b157d5ca3e
cpu/sam0_common/periph/dac.c: do conversion refresh by default
2025-06-23 10:03:54 +02:00
Hendrik van Essen
4af71d9bc7
cpu/sam0_common/periph/dac.c: add option to keep DAC running in standby
2025-06-23 10:03:49 +02:00
Gunar Schorcht
2fff3412ac
cpu/esp32: using esptool.py as package
2025-06-22 18:31:39 +02:00
crasbe
3d7b5b017c
Merge pull request #14999 from benpicco/cpu/sam0_common-pm_off
...
cpu/sam0_common: implement pm_off()
2025-06-20 13:58:41 +00:00
Benjamin Valentin
fea0e0f34c
cpu/sam0_common: implement pm_off()
2025-06-20 15:32:55 +02:00
Hendrik van Essen
3c74301718
cpu/sam0_common/periph/dac.c: dont use DAC_CTRLA_SWRST
...
DAC_CTRLA_SWRST clears all registers, so it also clears the config
of the first DAC line after configuring the second DAC line.
2025-06-20 09:53:08 +02:00
Daniel Lockau
763dbccc78
cpu/sam0_common/periph/i2c.c: attempt to unblock bus after error
2025-06-19 13:00:16 +02:00
benpicco
e2403dbff7
Merge pull request #21549 from camoz/spi-fix
...
cpu/nrf{52,9160}: set GPIO modes correctly for MISO/MOSI SPI signals
2025-06-11 15:52:29 +00:00
Merlin Büge
923e530d38
cpu/nrf{52,9160}: set GPIO modes correctly for MISO/MOSI SPI signals
...
Commit 4906353c introduced a bug that changed the behavior of
spi_init_pins(): MISO is erroneously set to GPIO_OUT, and MOSI is
erroneously set to GPIO_IN. The bug was caused by a simple typo.
2025-06-11 17:27:42 +02:00
crasbe
18c666a15a
Merge pull request #21548 from benpicco/cpu/samd5x-dac
...
cpu/sam0_common: fix DAC on SAM D5x/E5x
2025-06-11 11:27:52 +00:00
Benjamin Valentin
d86b75a4a6
cpu/sam0_common: fix DAC on SAM D5x/E5x
2025-06-11 13:06:50 +02:00
krzysztof-cabaj
6619a5acf4
boards/nucleo-l4: fix VBAT capable boards list
2025-06-10 17:14:26 +02:00
Marian Buschsieweke
3fa8d0035c
Merge pull request #21261 from gschorcht/cpu/esp32/migration_to_esp-idf.5.4
...
cpu/esp32: Migration to ESP-IDF v5.4
2025-06-02 06:25:22 +00: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
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
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
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
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
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