Ollrogge
4b8355e1d3
Revert "cpu/msp430_common: extend flashpage API"
...
This reverts commit 741943f021
.
2024-04-04 17:57:19 +02:00
Ollrogge
7595d533b4
Revert "cpu/riscv_common: extend flashpage API"
...
This reverts commit 3a11b1fbd2
.
2024-04-04 17:37:16 +02:00
Ollrogge
7c5b16abe5
Revert "cpu/lpc23xx: extend flashpage API"
...
This reverts commit 4fa25af86c
.
2024-04-04 17:37:16 +02:00
Ollrogge
2f67249ae1
Revert "cpu/native: extend flashpage API"
...
This reverts commit cdd9f303cf
.
2024-04-04 17:37:15 +02:00
benpicco
ad51739c26
Merge pull request #20521 from Ollrogge/rtc_support
...
cpu/stm32u5: Enable rtc support
2024-04-01 19:06:06 +00:00
Ollrogge
013e884550
cpu/stm32u5: Enable rtc support
2024-03-29 10:19:42 +01:00
Karl Fessel
3e2ab59f4d
Merge pull request #20431 from cogip/native_fixes
...
cpu/native: add gpio-mock
2024-03-28 22:07:10 +00:00
Karl Fessel
9d2dda27ce
Merge branch 'master' into cpu/samd5x-write-CAN-driver
2024-03-28 09:52:26 +01:00
Marian Buschsieweke
4b3308cdef
Merge pull request #20357 from maribu/cpu/msp430/usci
...
cpu/msp430/f2xx: clean up periph_uart,periph_spi
2024-03-27 19:57:47 +00:00
Marian Buschsieweke
aef5b65244
cpu/msp430/f2xx: clean up periph_uart,periph_spi
...
This cleans up the USCI based UART and SPI implementations and allows
multiple instances of either interface to be configured by the
boards. In addition, it allows sharing the USCI peripherals to provide
multiple serial interfaces with the same hardware (round-robin).
2024-03-27 18:54:07 +01:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
...
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Benjamin Valentin
16cfaab235
cpu/samd5x: fix C++ build
2024-03-27 00:15:36 +01:00
Firas Hamdi
e4e5558694
cpu/samd5x: implement driver for samd5x CAN controller
...
cpu/samd5x: load RX mailbox
2024-03-26 15:17:48 +01:00
Kevin "Tristate Tom" Weiss
6c6d2f9100
Merge pull request #20410 from benpicco/cpu/esp8266-spi_clk
...
cpu/esp8266: allow arbitrary SPI clocks
2024-03-26 14:15:50 +00:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
MrKevinWeiss
0a9c51fdf9
*.config: Modify all .config kconfig files
2024-03-26 14:53:40 +01:00
MrKevinWeiss
0f2b71c60e
*Makefile.features: Remove TEST_KCONFIG includes
2024-03-26 14:53:39 +01:00
Gilles DOFFE
ebf95d2545
cpu/native: enhance GPIO mocking with 2D array representation
...
This commit introduces a more robust GPIO mocking mechanism by utilizing
a 2-dimensional array. Each element of the array holds a gpio_mock_t
structure describing a pin's attributes such as value, mode, flank,
interruption callback, and callback argument.
This enhancement allows for the arbitrary simulation of GPIOs across
various microcontroller architectures using the current API, while
maintaining consistency through the use of the GPIO_PIN macro.
Additionally, it should be noted that only the maximum number of ports
and maximum number of pins can be altered according to the context.
The implemented API in gpio_mock.c remains rudimentary, providing no
validation but fulfilling the required functions. However, it remains
customizable as all its functions are marked as weak.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2024-03-24 23:12:24 +01:00
9f51daeb53
Merge pull request #20495 from Enoch247/simplify-stm32-clk-includes
...
cpu/stm32: remove redundant conditional compile block
2024-03-22 12:04:49 +00:00
Joshua DeWeese
1e4526111f
cpu/stm32: moved includes out of header where not used
2024-03-21 11:02:29 -04:00
Marian Buschsieweke
ad4b8f202c
Merge pull request #20479 from Enoch247/simplify-stm32-gpio-code
...
cpu/stm32/periph/gpio: simplify condition code
2024-03-21 12:33:25 +00:00
Joshua DeWeese
fd105b7e77
cpu/stm32: remove redundant conditional compile
...
This patch removes a largely redundant block of conditional includes.
The removed includes are moved into the family specific headers so that
the more specific headers may override defaults defined in the shared
headers.
2024-03-20 11:29:25 -04:00
Teufelchen
30e745d242
Merge pull request #20467 from dylad/pr/cpu/stm32/usbdev_fs/dont_autopull_ztimer
...
cpu/stm32/periph/usbdev_fs: avoid using ztimer when not needed
2024-03-20 12:03:32 +00:00
Marian Buschsieweke
23d30cb106
Merge pull request #18870 from Teufelchen1/fix/llvm_gnrc_lorawan
...
llvm: Fix unused function warning
2024-03-19 20:00:58 +00:00
Teufelchen1
d19182c3e6
llvm: cpu/stm32: Fix unused function warning
2024-03-19 17:20:17 +01:00
Dylan Laduranty
92c36df77b
cpu/sam0: don't enable TRFAIL interrupts
...
these interrupts were used to generate USBDEV_EVENT_TR_FAIL which is deprecated and will be removed
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-19 16:39:59 +01:00
Joshua DeWeese
8555a66e23
cpu/stm32/periph/gpio: simplify conditional code
...
This patch similifies some of the handling of differences between STM32
chips. The intent is to improve scaling of the code as more chips are
added.
2024-03-19 09:04:21 -04:00
Dylan Laduranty
ba8b3dc2b4
cpu/rpx0xx: add PWM support
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-18 21:04:27 +01:00
Gilles DOFFE
24d9657b40
cpu/native: mark gpio_mock function as weak
...
This allows developpers to override gpio behavior into their
applications.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2024-03-15 20:27:11 +01:00
Gilles DOFFE
5b4c8fe92d
cpu/native: return 0 for all gpio_init*() calls
...
If the gpio is initialized as an input or interruptable pin, the
gpio_mock driver returns -1 leading to failed initialization.
However that is not because nothing can change the GPIO state that it
has to be an error.
Return 0 in all cases.
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2024-03-15 20:27:11 +01:00
Gilles DOFFE
3bfabb4a6c
cpu/native/periph/qdec: remove useless loop
...
Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2024-03-15 20:27:11 +01:00
Dylan Laduranty
df044f4f56
cpu/stm32/periph/usbdev_fs: avoid using ztimer when not needed
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-13 21:39:07 +01:00
Benjamin Valentin
6389b3c83b
Revert "cpu/sam0_common: RTC: avoid negative month after POR"
...
This reverts commit 897a3ceda9
.
2024-03-07 13:52:35 +01:00
Benjamin Valentin
8c4d0c53f2
cpu/sam0_common: RTC: avoid negative month after POR
2024-03-07 13:52:35 +01:00
Benjamin Valentin
897a3ceda9
cpu/sam0_common: RTC: avoid negative month after POR
2024-03-06 18:48:26 +01:00
Benjamin Valentin
5164a6cc59
cpu/native: return _native_retval with NATIVE_AUTO_EXIT
2024-03-04 14:08:52 +01:00
benpicco
ba171a1075
Merge pull request #20444 from Ollrogge/u575zi-q-board
...
boards/nucleo-u575zi-q: Add support
2024-03-01 17:33:14 +00:00
Ollrogge
53d53d8cc8
boards/nucleo-u575zi-q: Add support
2024-03-01 11:18:18 +01:00
Benjamin Valentin
d26937fe9c
cpu/gd32v: don't set FW_ROM_LEN to ROM_LEN
...
FW_ROM_LEN is supposed to be a subset of ROM_LEN that contains the firmware
(without bootloader, AUX slot).
2024-02-28 13:49:12 +01:00
Benjamin Valentin
a417a3e72c
cpu/riscv_common: allow to define AUX slot on flash
2024-02-28 11:49:05 +01:00
Benjamin Valentin
308374fc29
cpu/cortexm_common: allow to define AUX slot on flash
2024-02-28 11:49:05 +01:00
chrysn
6714a77026
Merge pull request #20339 from chrysn-pull-requests/native64-rust
...
cpu/native: Enable Rust on 64bit
2024-02-23 10:41:47 +00:00
chrysn
1070175da8
cpu/native: 64bit works with Rust
2024-02-23 11:24:02 +01:00
Marian Buschsieweke
047fb8d3c7
Merge pull request #20419 from benpicco/cpu/native_assert-reval
...
cpu/native: return error code on failed assertion
2024-02-22 16:31:51 +00:00
Benjamin Valentin
9e9a906f4d
cpu/native: return error code on failed assertion
2024-02-22 16:06:32 +01:00
chrysn
6e892d9b1c
Merge pull request #20416 from chrysn-pull-requests/alt20415
...
cpu/esp: Use CPU_ESP8266 define instead of the removed MCU_ESP8266
2024-02-22 14:31:43 +00:00
chrysn
c3020ce3b7
cpu/esp: Use CPU_ESP8266 define instead of the removed MCU_ESP8266
...
Follow-up-for: https://github.com/RIOT-OS/RIOT/pull/20397
Closes: https://github.com/RIOT-OS/RIOT/pull/20409
Closes: https://github.com/RIOT-OS/RIOT/pull/20415
2024-02-22 14:26:43 +01:00
benpicco
d83ec632e3
Merge pull request #20406 from FlapKap/fix_eeprom_debug_off_by_one
...
periph/eeprom: fix off-by-one error in debug statement
2024-02-22 08:48:41 +00:00
Benjamin Valentin
75bf0e33e0
cpu/esp8266: allow arbitrary SPI clocks
2024-02-21 23:15:21 +01:00