Gunar Schorcht
5565da394f
cpu/esp32: split Kconfig into common and variant specific parts
...
Split the configuration in Kconfig into a part that is common for all ESP32x SoCs and a part that is specific for ESP32 varaiant.
2022-07-19 10:48:00 +02:00
benpicco
c432df36c2
Merge pull request #18323 from gschorcht/cpu/esp32/split_cpu_conf_into_common_and_specific
...
cpu/esp32: split cpu_conf.h into ESP32x common and ESP32 specific parts
2022-07-19 10:37:35 +02:00
Gunar Schorcht
3919e8f6df
cpu/esp32: split periph_cpu.h into ESP32x and ESP32 parts
...
Split the defintions for peripherals in periph_conf.h into a part that is common for all ESP32x SoCs and a part that is specific for ESP32.
2022-07-19 06:05:03 +02:00
benpicco
ad4de1db5b
Merge pull request #18317 from gschorcht/cpu/esp32/esp_hw_counter_feature_change
...
cpu/esp32: make esp_hw_counter feature dependent on ESP32x SoC family
2022-07-19 05:14:47 +02:00
benpicco
14292bdce2
Merge pull request #18322 from gschorcht/cpu/esp32/split_sdkconfig_into_common_and_specific
...
cpu/esp32: split sdkconfig.h into ESP32x common and ESP32 specific parts
2022-07-19 02:57:06 +02:00
benpicco
44ed21d9e4
Merge pull request #18321 from gschorcht/cpu/esp32/split_doc_into_common_and_specific
...
cpu/esp32: split the doc into ESP32x common and ESP32 specific parts
2022-07-19 00:43:18 +02:00
benpicco
c547aa296c
Merge pull request #18318 from miri64/sock_dns_cache/cleanup/mv-dns_cache
...
sock_dns_cache: move to dns_cache
2022-07-19 00:37:54 +02:00
benpicco
ad1d393214
Merge pull request #18319 from gschorcht/cpu/esp_common/module_xtensa_dependency_change
...
cpu/esp_common: MODULE_XTENSA has to depend on HAS_ARCH_ESP_XTENSA
2022-07-18 23:43:33 +02:00
krzysztof-cabaj
d8d27ed25a
boards/nucleo-f070rb: add cpy2remed flashing commands
2022-07-18 17:39:20 -04:00
krzysztof-cabaj
f45ace72b8
boards/nucleo-f030r8: add cpy2remed flashing commands
2022-07-18 13:00:20 -04: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
257d4c3677
cpu/esp32: move linker scripts to a CPU family specific dir
2022-07-18 17:18:59 +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
Gunar Schorcht
97ab0cd76d
cpu/esp32: split cpu_conf.h into ESP32x and ESP32 parts
...
Split the CPU configuration in cpu_conf.h into a part that is common for all ESP32x SoCs and a part that is specific for ESP32.
2022-07-18 16:48:56 +02:00
Gunar Schorcht
6b3fe4aa70
cpu/esp32: introduce CPU_ARCH_ESP32_XTENSA in Kconfig
2022-07-18 16:37:08 +02:00
Gunar Schorcht
32b1546053
cpu/esp32: split sdkconfig.h into ESP32x and ESP32 parts
...
Split the SDK defintions sdkconfig.h into a part that is common for all ESP32x SoCs and a part that is specific for ESP32.
2022-07-18 16:26:00 +02:00
Gunar Schorcht
944648c4b7
cpu/esp32/bootloader: split sdkconfig.h into ESP32x and ESP32 parts
...
Split the defintions for bootloader in sdkconfig.h into a part that is common for all ESP32x SoCs and a part that is specific for ESP32.
2022-07-18 16:25:48 +02:00
Gunar Schorcht
7ddfb3de42
cpu/esp32: split the doc into ESP32x and ESP32 parts
...
Split the documentation into a part that is common for all ESP32x SoCs and a part that is specific for ESP32.
2022-07-18 16:16:26 +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
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
...
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Gunar Schorcht
08cb7adf62
cpu/esp_common: MODULE_XTENSA has to depend on HAS_ARCH_ESP_XTENSA
...
ESP32x SoC use either Xtensa cores or RISC-V cores. The Xtensa vendor code has to be compiled only for ESP32x SoCs that are Xtensa-based. Therefore, MODULE_XTENSA has to depend on HAS_ARCH_ESP_XTENSA instead of HAS_ARCH_ESP
2022-07-18 14:44:02 +02:00
Gunar Schorcht
778ff10978
cpu/esp_common: add module esp_riscv to Kconfig
2022-07-18 13:52:13 +02:00
Gunar Schorcht
4b86ae3b5e
cpu/esp_common: add module esp_riscv to makefiles
2022-07-18 13:51:33 +02:00
Gunar Schorcht
c4132573f4
cpu/esp_common: platform-specific code for RISC-V based ESP32x SoCs
2022-07-18 13:51:33 +02:00
Gunar Schorcht
b59f8b59da
cpu/esp32: platform-independent formatting in DEBUG
2022-07-18 13:51:33 +02:00
Gunar Schorcht
b5ea942d12
cpu/esp32: make esp_hw_counter feature dependent on ESP32x SoC family
...
Feature esp_hw_counter is not supported by all ESP32x SoC variants (families). Therefore it has to be defined dependent on defined CPU_FAM.
2022-07-18 13:28:58 +02:00
Gunar Schorcht
d0bb51aacc
cpu/esp*: move CPU_* definitions to CPU-specific Makefile.features
2022-07-18 13:05:21 +02:00
Gunar Schorcht
06d3616710
cpu/esp32: move CPU_FAM definition to board definition
...
To support ESP32x SoC families with existing Makefiles, CPU_FAM has to be defined by board definition.
2022-07-18 13:05:21 +02:00
Gunar Schorcht
fd67f1402f
cpu/esp_common: use CPU_ARCH in Makefile for compile options
...
To support ESP32x families, CPU_ARCH is used instead of CPU in Makefiles to define architecture dependent compile options.
2022-07-18 13:05:21 +02:00
Gunar Schorcht
55b8c15fe0
cpu/esp_common: 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
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
0bec8a81ac
cpu/esp32: use CPU_FAM instead of CPU in Makefiles
...
To support ESP32x families with the existing Makefiles, CPU_FAM is used instead of CPU in the Makefiles.
2022-07-18 13:05:21 +02:00
benpicco
897abd09f2
Merge pull request #18314 from gschorcht/cpu/esp/improve_kconfig_submenu_structure
...
cpu/esp_{common,32,8266}: improve Kconfig submenu structure
2022-07-18 13:02:54 +02:00
Martine Lenders
1761726024
net/dns: provide Kconfig
2022-07-18 11:43:35 +02:00
Gunar Schorcht
14fd3735a2
cpu/esp32: move ESP32 specific Kconfigs to ESP32 submenu
2022-07-18 09:52:26 +02:00
Gunar Schorcht
f066260a9f
cpu/esp8266: move ESP8266 specific Kconfigs to ESP8266 submenu
2022-07-18 09:52:11 +02:00
Gunar Schorcht
5f0ad453b2
cpu/esp_common: move ESP specific Kconfigs to ESP submenu
2022-07-18 09:51:45 +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
06aa8f2c42
cpu/esp_common: port periph/i2c_sw with calculated delays
...
Fixed delay values are replaced by calculated delays measured in CPU cycles in I2C software implementation. The advantage is that for each ESP SoC only a clock calibration offset has to be specified. The delay measured in CPU cycles are then then derived from current CPU frequency for the given bus speed. The disadvantage is that the calculated delays are not as precise as the predefined fixed delays.
2022-07-17 18:48:23 +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
79ff1e5737
cpu/esp32: add dac to ESP-IDF interface 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
chrysn
eb12f44331
Merge pull request #17957 from benpicco/coap_resource_ctx_t
...
nanocoap: define and use coap_request_ctx_t for request handlers
2022-07-17 16:52:19 +02:00
Benjamin Valentin
3806f7d532
nanocoap: make coap_request_ctx_t members internal
2022-07-17 14:32:16 +02:00
Benjamin Valentin
e8829d5591
gcoap_fileserver: make use of coap_request_ctx_t
2022-07-17 14:32:16 +02:00
Benjamin Valentin
2daad4f5ff
nanocoap: document coap_handler_t
2022-07-17 14:32:16 +02:00
Benjamin Valentin
598494f75f
examples: make use of coap_request_ctx_t
2022-07-17 14:32:16 +02:00
Benjamin Valentin
b86379f1ac
tests: make use of coap_request_ctx_t
2022-07-17 14:32:16 +02:00