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

9076 Commits

Author SHA1 Message Date
Gilles DOFFE
aab432ff6d cpu/native: remove unused XTIMER_BACKOFF definitions
XTIMER_BACKOFF and XTIMER_ISR_BACKOFF were defined in periph_conf.h
since 2016 for the legacy xtimer module, which required high backoff
values (200) on native to prevent timer underflow issues.

However, since the migration to ztimer, all code now uses
MODULE_ZTIMER_XTIMER_COMPAT which includes ztimer/xtimer_compat.h
before periph_conf.h. This means xtimer_compat.h always defines
XTIMER_BACKOFF=1 first, and the periph_conf.h definitions are never
used.

Remove these unused definitions as they serve no purpose with the
current ztimer-based implementation.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 08:20:21 +01:00
Benjamin Valentin
88bd202031 treewide: adapt GNRC example paths in documentation 2025-10-29 15:10:43 +01:00
crasbe
89031c45fb cpu/nrf5x_common: fix vendor header regression
When not using the Rust version of Git-Cache, the build
system clones the full NRFX repository which led to errors during
the build process due to duplicated headers and headers not
found where they were expected.
2025-10-22 11:04:35 +02:00
crasbe
4752d2e291 cpu/nrf5x_common: remove local vendor header files from sourcetree 2025-10-17 23:20:31 +02:00
crasbe
9dd2e5e38f cpu/nrf5x_common: pull and use vendor headers from git 2025-10-17 23:20:31 +02:00
crasbe
e0f9f11044 cpu/stm32: update STM32C0 CMSIS version 2025-10-10 12:43:17 +02:00
Jason Parker
7badfe61b7 cpu/stm32: add new STM32C0 lines 2025-10-09 13:40:49 +02:00
krzysztof-cabaj
2cce71925f cpu/stm32/gen_kconfig: move script license to SPDX format 2025-10-08 10:41:13 +02:00
krzysztof-cabaj
26928f994c cpu/stm32/gen_kconfig: templates - move licenses to SPDX format 2025-10-08 10:41:13 +02:00
Marian Buschsieweke
9cbd344fdc
Merge pull request #21718 from maribu/cpu/stm32/usbdev_fs/inverted-disconnect-pin
cpu/stm32/usbdev_fs: allow inverted disconnect GPIO
2025-10-07 18:44:07 +00:00
Marian Buschsieweke
26d8fe4383
cpu/stm32/usbdev_fs: allow inverted disconnect GPIO
The STM32F3 requires a dedicated digital signal to emulate a disconnect
event by pulling D+ down via a 1.5 kOhm resistor. Some boards, such as
the OLIMEXINO-STM32F3, do not directly connect a GPIO but place a
transistor in between. Depending on the exact implementation, the logic
level may end up being inverted compared to directly connecting a
GPIO.

This adds a flag member to the `stm32_usbdev_fs_config_t` and a new flag
to indicate inverted logic. In addition the members in the struct are
sorted by alignment, as this is a foolproof algorithm to prevent wasting
memory on unneeded padding.

Finally, the USB driver is adapted to honor the flag.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-10-07 17:42:28 +02:00
crasbe
1942aa98fd
Merge pull request #21758 from krzysztof-cabaj/cpu_change_to_SPDX_part5
cpu: move licenses from comments to SPDX format (part5)
2025-10-06 11:21:09 +00:00
fabian18
e3fa62f38f
Merge pull request #21533 from fabian18/pr/submac_ack_transmission
ieee802154/submac: add automatic ACK transmission when AUTO_ACK is not supported by driver
2025-10-06 11:05:40 +00:00
Fabian Hüßler
470ee34311 {drivers,cpu}: add IEEE802154_CAP_AUTO_ACK for HAL radios 2025-10-06 10:38:55 +02:00
Fabian Hüßler
4b24183e81 cpu/nrf52/radio/nrf802154: remove driver ACK 2025-10-06 10:38:55 +02:00
Fabian Hüßler
6b065bcea7 socket_zep: remove driver ACK 2025-10-06 10:15:20 +02:00
krzysztof-cabaj
d44564279c cpu: move licenses to SPDX format for Kconfig and doc.md 2025-10-02 12:58:14 +02:00
krzysztof-cabaj
c6113d2630 cpu/stm32: move licenses to SPDX format 2025-10-02 10:24:48 +02:00
crasbe
232a855168
Merge pull request #21754 from kfessel/p-gpio-init-mux
cpu/sam0_common: rmw init gpio mux
2025-10-01 18:34:37 +00:00
krzysztof-cabaj
a42fc26766 cpu/sam: move licenses to SPDX format 2025-10-01 18:44:12 +02:00
crasbe
c7d44ca112
Merge pull request #21739 from crasbe/pr/update_nrf52840_vendor
cpu/nrf52: Update nRF52* Vendor Header Files
2025-10-01 12:16:31 +00:00
crasbe
5b3e608398 cpu/nrf52: update nRF52* vendor header files 2025-10-01 11:08:54 +02:00
mguetschow
2562bd64ec
Merge pull request #21750 from elenaf9/kinetis/bme/temp-disable-bitband-fns
kinetis/bme: temp disable `BITBAND_FUNCTIONS_PROVIDED`
2025-10-01 09:04:48 +00:00
Elena Frank
0c7061c1b9 kinetis/bme: temp disable BITBAND_FUNCTIONS_PROVIDED
The kinetis bme currently doesn't work properly. Temporarily disable the
use of the bme so that the default `sys/bit.h` implementation is used
instead.
2025-10-01 09:52:05 +02:00
Karl Fessel
66e2e64b2d cpu/samd5x/can: add missing cortexm_isr_end 2025-09-30 21:04:53 +02:00
Karl Fessel
3f2eaa0442 cpu/sam0_common: rmw init gpio mux 2025-09-30 20:52:21 +02:00
krzysztof-cabaj
f3894d6f6f cpu/sam0_common: move licenses to SPDX format 2025-09-27 17:09:10 +02:00
krzysztof-cabaj
f2bc3c884d cpu/rpx0xx: move licenses to SPDX format 2025-09-26 20:56:20 +02:00
krzysztof-cabaj
716f7e1b1f cpu/riscv_common: move licenses to SPDX format 2025-09-26 20:06:29 +02:00
krzysztof-cabaj
96267d633e cpu/qn908x: move licenses to SPDX format 2025-09-26 18:50:43 +02:00
krzysztof-cabaj
ec9ba39bbb cpu/nrf: move licenses to SPDX format 2025-09-26 18:26:47 +02:00
krzysztof-cabaj
fd36921a29 cpu/native: move licenses to SPDX format 2025-09-25 17:48:55 +02:00
Lasse Rosenow
f5b814437c
doc: standardize capitalizations and fix urls 2025-09-23 18:19:14 +02:00
crasbe
283a1e3737
Merge pull request #21732 from krzysztof-cabaj/cpu_change_to_SPDX_part3
cpu: move licenses from comments to SPDX format (part3)
2025-09-22 10:05:59 +00:00
krzysztof-cabaj
8ab22e3abf cpu/msp430: move licenses to SPDX format 2025-09-22 10:47:18 +02:00
krzysztof-cabaj
a95e0c8d23 cpu/lpc1768 & lpc23xx: move licenses to SPDX format 2025-09-22 10:47:18 +02:00
krzysztof-cabaj
7dc21b11d7 cpu/lm4120: move licenses to SPDX format 2025-09-19 18:04:33 +02:00
krzysztof-cabaj
102d1dcb7e cpu/kinetis: move licenses to SPDX format 2025-09-19 09:04:46 +02:00
krzysztof-cabaj
2f242dc96d cpu/gd32v: move licenses to SPDX format 2025-09-18 21:20:09 +02:00
krzysztof-cabaj
d9fc6b5cbe cpu/fe310: move licenses to SPDX format 2025-09-18 17:45:12 +02:00
Marian Buschsieweke
950adfafce
Merge pull request #21716 from maribu/cpu/nrf52/typo
cpu/nrf52/nrf802154: fix minor style issues
2025-09-12 16:39:38 +00:00
Marian Buschsieweke
3b8276bd0f
cpu/nrf52/nrf802154: fix minor style issues
- type in comment
- no space after `switch`
- overlong line
- `else` when the `if`-branch ends with a `return`
  statement anyway
- drop of unused `#include`
- drop of unused function
- `int8_t` for RSSI in dBm when the API expects
  `int16_t`
    - This might actually fix an issue if the `int8_t` range could
      overflow
2025-09-12 18:28:02 +02:00
crasbe
cd461dc87d
Merge pull request #21715 from krzysztof-cabaj/cpu_change_to_SPDX_part2
cpu: move licenses from comments to SPDX format (part2)
2025-09-12 10:59:23 +00:00
krzysztof-cabaj
8d0580b870 cpu/esp8266: move licenses to SPDX format 2025-09-12 11:50:26 +02:00
krzysztof-cabaj
ac888a553d cpu/esp_common: move licenses to SPDX format 2025-09-12 11:50:26 +02:00
krzysztof-cabaj
8b675fcde5 cpu/esp32: move licenses to SPDX format 2025-09-12 11:25:41 +02:00
Gunar Schorcht
952f64942f cpu/esp32/esp-idf/rmt: fix compilation together with Nimble and WiFi
The RMT driver module `esp_idf_rmt` uses GDMA on ESP32-S3, which in turn requires the activation and deactivation of flash encryption. Therefore, when the RMT driver module `esp_idf_rmt` is used, the function `gdma_disconnect` is used, which in turn requires the function `esp_flash_encryption_enabled`. However, if the NVS flash module `esp_idf_nvs_flash` is also used for some reason, e.g. because WiFi or BLE is used, the function `esp_flash_encryption_enabled` is already compiled in the module `esp_idf_nvs_flash` and must not be compiled again in the module `esp_idf_rmt`.
2025-09-12 07:33:42 +02:00
crasbe
a9d92e19a8
Merge pull request #21704 from krzysztof-cabaj/cpu_change_to_SPDX_part1
cpu: move licenses from comments to SPDX format (part1)
2025-09-09 19:45:46 +00:00
krzysztof-cabaj
8ad4fbea0b cpu/efm32: move licenses to SPDX format 2025-09-09 18:44:43 +02:00
krzysztof-cabaj
0817820bcf cpu: move licenses to SPDX format for Texas Instruments 2025-09-09 18:44:43 +02:00