Gunar Schorcht
85f7d8b244
cpu/esp32: fix compilation of esp_can
2023-05-11 07:22:52 +02:00
Gunar Schorcht
61bfa5372a
cpu/esp32: fix compilation of esp_hw_counter
2023-05-11 06:56:36 +02:00
Marian Buschsieweke
64f4f9a9be
cpu/esp32/periph/pwm.c: fix format specifier
...
Use %u to print `unsigned`.
2023-05-10 13:02:47 +02:00
Gunar Schorcht
0de2570802
cpu/esp32: fix compilation with gcc 12.2
2023-04-17 07:32:48 +02:00
Gunar Schorcht
343369476b
cpu/esp32: remove ESP-IDF periph_ctrl interface API
2023-03-27 03:10:56 +02:00
Gunar Schorcht
5fac30bc9a
cpu/esp32: remove ESP-IDF dac interface API
2023-03-27 03:10:56 +02:00
Gunar Schorcht
d93972c369
cpu/esp32: remove ESP-IDF adc interface API
2023-03-27 03:10:56 +02:00
Gunar Schorcht
32168da8d6
cpu/esp32: add flashpage support
...
f
2023-01-07 14:49:36 +01:00
Gunar Schorcht
6f9c64c6cb
cpu/esp32: add flashpage support to Kconfig
2023-01-07 10:38:52 +01:00
Marian Buschsieweke
e8fd65566a
cpu/esp32/periph_timer: allow changing callback or freq
...
Allow multiple calls to timer_init(), as this is the only way to
change the timer frequency or the callback function.
2022-11-24 22:38:15 +01:00
Benjamin Valentin
cd9c8c354e
cpu/esp32: allow GPIO_UNDEF in SPI config
...
e.g. a display or string of LEDs might not have a MISO pin defined
2022-10-08 22:02:49 +02:00
Benjamin Valentin
2b2298b796
cpu/esp32: implement periph_spi_reconfigure
2022-10-08 22:02:49 +02:00
Gunar Schorcht
94b4f03b47
cpu/esp32: implement periph/gpio_ll_irq
2022-09-02 15:03:45 +02:00
Gunar Schorcht
581c2dd9be
cpu/esp32: implement periph/gpio_ll
2022-09-02 15:03:45 +02:00
Gunar Schorcht
48d59e97a2
cpu/esp32: replace macros for GPIO access by inline functions
2022-09-02 15:03:45 +02:00
Gunar Schorcht
b94931191e
cpu/esp32: small cleanups in periph/gpio
2022-08-31 12:21:46 +02:00
Gunar Schorcht
06bb755c03
cpu/esp32: add ESP32-S2 support in peripheral drivers
2022-08-29 17:19:39 +02:00
Gunar Schorcht
945a960fa7
cpu/esp32: add ESP32-S3 support in peripheral drivers
2022-08-17 02:04:07 +02:00
Gunar Schorcht
53c657ff61
cpu/esp32: extend GPIO wake-up from deep sleep
...
Depending on SoC capabilities, ESP32x SoC variants support different logical combinations to wake-up from deep sleep.
2022-08-07 08:43:54 +02:00
Gunar Schorcht
43d71f276d
cpu/esp32: add ESP32-C3 support in peripheral drivers
2022-08-05 22:26:22 +02:00
Gunar Schorcht
b4fafef6e7
cpu/esp_common: replace FLASH_MODE_* by CONFIG_*FLASHMODE_* defines
...
The former FLASH_MODE_{DOUT,DIO,QOUT,QIO} defines are replaced by the corresponding CONFIG_FLASHMODE_{DOUT,DIO,QOUT,QIO} and CONFIG_ESPTOOLPY_FLASHMODE_{DOUT,DIO,QOUT,QIO} as used by the ESP-IDF. This is also needed for the migration of defining flash mode in Kconfig.
2022-08-01 15:17:33 +02:00
benpicco
8cc31c21e1
Merge pull request #18334 from gschorcht/cpu/esp32/fix_periph_rtt_32k_crystal_module_dependeny
...
cpu/esp32: fix dependency for periph/rtt and module esp_rtc_timer_32k
2022-07-20 17:27:05 +02:00
benpicco
c3e5415a5e
Merge pull request #18333 from gschorcht/cpu/esp32/cleanups_to_reduce_vera_warnings
...
cpu/esp*: cleanups mainly to reduce the vera++ warnings
2022-07-20 15:08:55 +02:00
Gunar Schorcht
63cc84ac25
cpu/esp32: fix dependency for module esp_rtc_timer_32k
2022-07-20 08:05:44 +02:00
Gunar Schorcht
a24ddb8517
cpu/esp*: cleanups mainly to reduce the vera++ warnings
2022-07-20 06:29:43 +02:00
Gunar Schorcht
9c1498636c
cpu/esp32/periph: add some sanity checks
2022-07-20 06:28:55 +02:00
benpicco
bafb7d53c5
Merge pull request #18326 from gschorcht/cpu/esp32/use_variant_specific_adc_and_gpio
...
cpu/esp32: extend file names of CPU specific files by CPU family
2022-07-19 15:13:44 +02:00
benpicco
e1bc1767af
Merge pull request #18260 from gschorcht/cpu/esp32/add_riscv_platform_code
...
cpu/esp32: add platform code for RISC-V based ESP32x SoCs
2022-07-18 17:43:02 +02:00
Gunar Schorcht
5f45ca5a2a
cpu/esp32: extend file names of CPU specific files by CPU family
...
To allow the compilation of different ESP32x SoC variants, the file names of ESP32 specific periph/adc_arch.c and periph/gpio_arch.c are extended by the ESP32x SoC family.
2022-07-18 17:08:34 +02:00
benpicco
263b918d7c
Merge pull request #18316 from gschorcht/cpu/esp32/use_cpu_fam
...
cpu/esp32: use CPU_FAM and CPU_ARCH for ESP32x SoC variant dependent compilation
2022-07-18 15:43:59 +02:00
Gunar Schorcht
b59f8b59da
cpu/esp32: platform-independent formatting in DEBUG
2022-07-18 13:51:33 +02:00
Gunar Schorcht
ff8baaae79
cpu/esp32: use CPU_FAM_* instead of MCU_*
...
To support ESP32x families with the existing implementation, CPU_FAM_* is used instead of MCU_* in source code.
2022-07-18 13:05:21 +02:00
Gunar Schorcht
14fd3735a2
cpu/esp32: move ESP32 specific Kconfigs to ESP32 submenu
2022-07-18 09:52:26 +02:00
benpicco
365fbed906
Merge pull request #18279 from gschorcht/cpu/esp32/periph_hal_esp32_i2c
...
cpu/esp32: use ESP-IDF i2c HAL for ESP32 periph/i2c
2022-07-17 22:24:54 +02:00
benpicco
2c9f338791
Merge pull request #18271 from gschorcht/periph_hal_esp32_adc
...
cpu/esp32: use ESP-IDF adc/dac HAL for periph/adc and periph/dac
2022-07-17 20:06:09 +02:00
Gunar Schorcht
c0becd2819
cpu/esp32: port periph/i2c_hw to ESP-IDF i2c HAL
2022-07-17 18:48:23 +02:00
Gunar Schorcht
43d2340eea
cpu/esp32: port periph/dac to ESP-IDF dac API
2022-07-17 17:16:49 +02:00
Gunar Schorcht
11c9703675
cpu/esp32: port periph/adc to ESP-IDF interface API
2022-07-17 17:16:49 +02:00
benpicco
6ba048f80c
Merge pull request #18280 from gschorcht/cpu/esp32/periph_hal_esp32_pm
...
cpu/esp32: use ESP-IDF sleep API for periph/pm
2022-07-17 14:17:51 +02:00
Gunar Schorcht
a74a19e9f9
cpu/esp32: port periph/pm to ESP-IDF sleep API
2022-07-15 16:33:16 +02:00
benpicco
dd806ce72e
Merge pull request #18270 from gschorcht/cpu/esp32/periph_hal_esp32_gpio
...
cpu/esp32: use ESP-IDF gpio HAL for periph/gpio
2022-07-15 15:44:13 +02:00
benpicco
295f4a5b04
Merge pull request #18281 from gschorcht/cpu/esp32/periph_hal_esp32_spi
...
cpu/esp32: use ESP-IDF spi HAL for periph/spi
2022-07-15 13:25:50 +02:00
benpicco
0c56e28fe1
Merge pull request #18282 from gschorcht/cpu/esp32/periph_hal_esp32_periph_timer
...
cpu/esp32: use ESP-IDF timer/interrupt HAL for periph/timer
2022-07-15 11:07:37 +02:00
Gunar Schorcht
d6eef52766
cpu/esp32: port periph/gpio to ESP-IDF gpio HAL
2022-07-15 11:03:32 +02:00
benpicco
de5472c76a
Merge pull request #18278 from gschorcht/cpu/esp32/periph_hal_esp32_can
...
cpu/esp32: use to ESP-IDF twai HAL for periph/can
2022-07-15 10:58:33 +02:00
Gunar Schorcht
9142edce03
cpu/esp32: port periph/spi to ESP-IDF spi LL API
2022-07-15 08:57:31 +02:00
Gunar Schorcht
3fd7e1ab17
cpu/esp32: port periph/timer to ESP-IDF interface API
2022-07-15 06:40:04 +02:00
benpicco
94e9116c04
Merge pull request #18276 from gschorcht/cpu/esp32/periph_hal_esp32_pwm
...
cpu/esp32: use ESP-IDF ledc HAL for periph/pwm
2022-07-14 18:09:01 +02:00
Gunar Schorcht
fccd3821dd
cpu/esp32: port periph/can to ESP-IDF twai HAL
2022-07-14 15:51:47 +02:00
Gunar Schorcht
2ae2facf90
cpu/esp32: port periph/pwm to ESP-IDF ledc HAL
2022-07-14 15:50:47 +02:00