1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 03:23:49 +01:00

877 Commits

Author SHA1 Message Date
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
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
Gunar Schorcht
ef89dccfb8 cpu/esp32/periph/adc: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
e3cc088caa cpu/esp32/esp-idf/wpa_supplicant: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
a0d43f12ee cpu/esp32/esp-idf/wifi: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
17ba88c9cb cpu/esp32/esp-idf/usb: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
14d1e577f8 cpu/esp32/esp-idf/spi_ram: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
bb350ad160 cpu/esp32/esp-idf/spi_flash: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
1c1bb33c88 cpu/esp32/esp-idf/sdmmc: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
a6d09cdac0 cpu/esp32/esp-idf/rmt: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
dc677e6396 cpu/esp32/esp-idf/nvs_flash: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
26927fe8ef cpu/esp32/esp-idf/heap: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
c0f383c2ad cpu/esp32/esp-idf/log: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
84ff968283 cpu/esp32/esp-idf/gpio: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
ece5e8eb88 cpu/esp32/esp-idf/eth: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
2e1810bf17 cpu/esp32/esp-idf/efuse: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
ca1a503399 cpu/esp32/esp-idf/common: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
beca894ed8 cpu/esp32/esp-idf/ble: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
870c1c046c cpu/esp32/esp-idf/adc: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
cd7b1a662d cpu/esp32/esp-idf: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
c93a346ef1 cpu/esp32/esp-idf-api: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
0c028c1078 cpu/esp32/esp_eth: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
75fb14248b cpu/esp32/bootloader: migration to ESP-IDF v5.4 2025-05-28 17:50:41 +02:00
Gunar Schorcht
231008116b pkg/esp32_sdk_lib_coexist: add coexist libraries 2025-05-28 17:50:40 +02:00
Gunar Schorcht
5377a2ac9f pkg/esp32_sdk_tlsf: add tlsf as used by ESP-IDF 2025-05-28 17:50:40 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
fe821eaa1d cpu: replace header guards with #pragma once 2025-05-21 17:13:37 +02:00
Marian Buschsieweke
8e904a0ccb
cpu/esp32: add workaround for mpaland-printf
When mpaland-printf is used, we do not want to have references to
newlib's stdio in the resulting binary.
2025-04-26 15:28:18 +02:00
benpicco
623f865ceb
Merge pull request #21144 from gschorcht/dist/tools/esptools/bump_gcc_version_to_14_2
dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12
2025-04-08 07:58:06 +00:00
Gunar Schorcht
0067f69d0b dist/tools/esptools: bump to QEMU version 9.0.0 2025-04-08 07:19:18 +02:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes 2025-03-13 13:59:07 +01:00
Marian Buschsieweke
f0d53789e4
Merge pull request #21245 from gschorcht/cpu/esp32/fix_compile_problem_gcc_14.2
cpu/esp32: Fixes of compile problems with GCC 14.2
2025-03-02 13:18:36 +00:00
Gunar Schorcht
689883c583 cpu/esp32: fix bus_width in periph_sdmmc 2025-03-02 12:40:27 +01:00
Gunar Schorcht
4f136fb3ad cpu/esp32: add missing atomic built-in functions
Atomic built-in function __atomic_test_and_set seem to be missing in GCC 14.2.0 for some ESP32x SoCs.
2025-03-02 12:39:18 +01:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00
Gilles DOFFE
ae51a22fbb can: use frame len instead of can_dlc
RIOT implementation of CAN bus relies on SocketCAN model.
Since commit c398e56 (can: add optional DLC element to Classical CAN
frame structure), '__u8 can_dlc' attribute of struct can_frame is
considered as deprecated in SocketCAN and kept for legacy support.
Attribute '__u8 len' should be used instead.

	union {
		/* CAN frame payload length in byte (0 .. CAN_MAX_DLEN)
		 * was previously named can_dlc so we need to carry that
		 * name for legacy support
		 */
		__u8 len;
		__u8 can_dlc; /* deprecated */
	};

Moreover, CAN FD frame structure does not support legacy attribute
'can_dlc', making 'len' mandatory for incoming CAN FD support in RIOT.

	struct canfd_frame {
		canid_t can_id;  /* 32 bit CAN_ID + EFF/RTR/ERR flags */
		__u8    len;     /* frame payload length in byte */
		__u8    flags;   /* additional flags for CAN FD */
		__u8    __res0;  /* reserved / padding */
		__u8    __res1;  /* reserved / padding */
		__u8    data[CANFD_MAX_DLEN]
__attribute__((aligned(8)));
	};

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-01-29 20:51:22 +01:00
Gunar Schorcht
ba3224310e cpu/esp32: changes for the future gcc version 14.2.0
To avoid type conflicts between the `pthread_rwlockattr_t` definition in RIOT's `pthread` implementation and newlibc's `sys/_pthreadtypes.h`, the macro `_POSIX_READER_WRITER_LOCKS` must be undefined.
2025-01-20 09:06:59 +01:00
Gunar Schorcht
8b791dae7b cpu/esp32: cleanup in syscalls_init_arch
The cleanup removes the code that is no longer needed with the cleanup of the linker scripts for ESP ROMs.
2025-01-19 18:51:25 +01:00
Gunar Schorcht
ba6c2061fb cpu/esp32: cleanup used linker scripts
The cleanup reduces the number of linker scripts used for the ESP32x ROMs and thus the symbols used from the ESP32x ROMs. It works with both gcc 12.2 and gcc 14.2. The latter gcc version is a prerequisite for ESP-IDF v5.2 and higher and thus a prerequisite for starting the work on the RIOT-OS port for the latest version of ESP-IDF.
2025-01-19 18:51:25 +01:00
Gunar Schorcht
68ea25967d cpu/esp32: use ESP32x ROM libgcc linker Script for all ESP32x SoCs 2025-01-19 18:51:25 +01:00