1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

45786 Commits

Author SHA1 Message Date
Joshua DeWeese
aef5dfec2b cpu/stm32/gpio_ll: make style consistent
This block of code inconsistently made use of else-if statments. The
patch makes the use consistent. The change also makes the code a bit
simpler to read.
2024-04-02 11:51:20 -04:00
Joshua DeWeese
1b1fbfeb5c cpu/stm32/gpio_ll: fix ifdef
APB12 is never defined as a macro. It is an element in the bus_t enum.
Therefore, the test to check if it is defined will always fail.

APB12 is not a real bus. It is the second register of the APB1 bus. I am
not aware of any STM32 family where the ABP2 bus is implmented (ie
RCC_APB2ENR_SYSCFGEN is defined) and devices attached to said bus are
enabled via the APB1 second register. For this reason, the fix is to
simply remove the check.
2024-04-02 11:34:50 -04:00
Teufelchen1
4d467bf3be sys/suit: Remove deprecated suit_coap_run function 2024-04-02 12:58:57 +02:00
Teufelchen
3c07ebceb6
Merge pull request #20527 from Teufelchen1/deprecate/crc16
sys/checksum: Remove deprecated crc16_ccitt functions
2024-04-02 10:53:04 +00:00
Kevin "Tristate Tom" Weiss
a9b956932d
Merge pull request #20526 from MrKevinWeiss/pr/feathersaul
boards/feather-nrf52840-sense: use generic lsm6dsxx
2024-04-02 10:52:07 +00:00
MrKevinWeiss
1fcdb107ba
core/lib: guard pm_off 2024-04-02 11:47:50 +02:00
MrKevinWeiss
35f6267721
sys/picolibc_syscalls_default: guard pm_off 2024-04-02 11:47:30 +02:00
MrKevinWeiss
bead59e9d1
sys/newlib_syscalls_default: guard pm_off 2024-04-02 11:46:50 +02:00
Teufelchen1
0503e61178 sys/checksum: Remove deprecated crc16_ccitt functions 2024-04-02 11:22:04 +02:00
MrKevinWeiss
99daaec648
boards/feather-nrf52840-sense: use generic lsm6dsxx
This will help handle multiple board variants such as rev B and C.
2024-04-02 11:15:26 +02:00
krzysztof-cabaj
67abda03fc sys/shell/lwip: fix coding style using uncrustify with RIOT rules 2024-04-02 10:26:48 +02:00
MrKevinWeiss
e017c01acc
sys/shell/cmds: Guard periph_pm calls
It would seem that either we need to require the periph_pm module in shell
or make it optional... since we have many other optional modules here
and we still may want the RIOT_VERSION command, lets make it optional for now.
2024-04-02 10:19:19 +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
Dylan Laduranty
48a8e65d10
Merge pull request #20522 from keestux/fix/eclipsesym-script
Avoid using egrep
2024-03-29 08:37:10 +00: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
Kees Bakker
39cc42014f eclipsesym/cmdline2xml.sh: avoid egrep
The egrep and fgrep commands have been deprecated since 2007. Beginning
with GNU Grep 3.8, calling these commands will now issue a warning to the
user that instead they should use grep -E and grep -F, respectively.
2024-03-28 22:08:26 +01:00
benpicco
c694158647
Merge pull request #20520 from krzysztof-cabaj/nucleo-c031c6-PWM
boards/nucleo-c031c6: add PWM configuration
2024-03-28 16:56:53 +00:00
krzysztof-cabaj
603c5fe291 boards/nucleo-c031c6: full PWM config in periph_conf.h 2024-03-28 13:58:09 +01:00
benpicco
333207d6ed
Merge pull request #19736 from firas-hamdi/cpu/samd5x-write-CAN-driver
cpu/samd5x write can driver
2024-03-28 11:06:50 +00:00
Martine Lenders
819a4a175c
Merge pull request #20518 from miri64/gcoap/bug/quality-defects
gcoap: fix code quality defects
2024-03-28 09:14:14 +00:00
Karl Fessel
9d2dda27ce
Merge branch 'master' into cpu/samd5x-write-CAN-driver 2024-03-28 09:52:26 +01:00
Martine Lenders
6c46d26796
Merge pull request #20515 from miri64/gnrc_netif/cleanup/rm-CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR
gnrc_netif: remove deprecated CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR
2024-03-28 08:32:09 +00:00
Martine S. Lenders
c05474cdea
gcoap: fix function indentation after change of static inline 2024-03-28 09:25:27 +01:00
Martine S. Lenders
a6d5500a88
gcoap: fix reference for gcoap_socket_type_t 2024-03-28 09:24:57 +01:00
Martine Lenders
810f1a98cb
gnrc_lorawan: Remove gnrc_nettype_lorawan dependency
With the removal of `CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR` it does not
use `GNRC_NETTYPE_LORAWAN` anymore, so this module is not required
anymore.
2024-03-28 09:19:35 +01:00
Martine Lenders
549f215701
gnrc_nettype: deprecate GNRC_NETTYPE_LORAWAN 2024-03-28 09:19:35 +01:00
Martine Lenders
5c75f84d6e
gnrc_netif: remove deprecated CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR 2024-03-28 09:19:33 +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
15e2b9e982
Merge pull request #20516 from maribu/doc/board-selection-guide
doc: fix switched rows in board selection guide
2024-03-27 17:55:24 +00:00
Marian Buschsieweke
10ee192afc
examples,tests: bump Makefile.cis
Ran `dist/tools/insufficient_memory/update_insufficient_memory_board.sh`
for both `z1` and `olimex-msp430-h2618`.
2024-03-27 18:54:07 +01: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
krzysztof-cabaj
50e03bb2c9 boards/nucleo-c031c6: initial PWM config 2024-03-27 18:09:01 +01:00
Martine Lenders
a2e3ca07cb
Merge pull request #20514 from miri64/gcoap/cleanup/gcoap_req_send_aliasing
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
2024-03-27 17:00:50 +00: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
Marian Buschsieweke
29374c6550
Merge pull request #20512 from miri64/gnrc_mac/cleanup/deprecate
gnrc_mac / gnrc_lwmac / gnrc_gomach: Deprecate modules
2024-03-27 16:39:30 +00:00
benpicco
1b4f45fe47
Merge pull request #20511 from Remmirad/enable-tree-nav-resizeing
doc: Allow resizing of doxygen side-nav
2024-03-27 16:37:05 +00:00
Marian Buschsieweke
42b68a5a43
Merge pull request #20504 from MrKevinWeiss/pr/feather-nrf52840-sense/generic
driver/lsm6dsxx: Allow generic LSM6DSXX driver
2024-03-27 16:32:47 +00:00
Marian Buschsieweke
e67e2fc8e0
Merge pull request #20517 from maribu/tests/rust_libs
tests/rsut_libs: add missing dependency
2024-03-27 16:25:35 +00:00
Marian Buschsieweke
c140eedace
tests/rsut_libs: add missing dependency
In `main.c:115` the call
`ztimer_sleep(ZTIMER_MSEC, _periodic_ctx.period.ms);` depends on the
module `ztimer_msec`. Apparently, this was previously pulled in
indirectly and the missing dep has gone unnoticed. This adds the
dep explicitly to fix compilation issues that now have surfaced in
the CI.
2024-03-27 17:18:06 +01:00
Karl Fessel
568d60720f sys/auto_init/can: include board periph_conf.h 2024-03-27 14:52:05 +01:00
Marian Buschsieweke
9c50a36177
doc: fix switched rows in board selection guide
The nRF52840DK is an excellent wireless dev board due to the
integrated debugger, the nRF52840-Dongle is missing the debugger and
therefore a suboptimal choice.

The nRF52840-Dongle is cheap and has an excellent form factor that
allows to easily plug it into e.g. an OpenWRT system to quickly provide
a border router. The nRF52840DK is too large and too expensive for that
use case.

It appears that the rows have just been switched by mistake, this
switches them back to be correct.
2024-03-27 14:12:08 +01:00
Martine Lenders
27308585c3
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
As per the deprecation notice from July 2021 ;-).
2024-03-27 12:21:57 +01:00
Marian Buschsieweke
45c473d721
sys/vfs: use atomic_utils rather C11 atomics
This has the following advantages:

- faster and leaner when C11 atomics are not efficient (e.g. on LLVM
  this is almost always the case, as LLVM will only use efficient
  atomics if it doesn't has to bail out to library calls even for
  exotic things)
    - Even for GCC e.g. on the nucleo-f429zi this safes 72 B of .text
      for examples/filesystem despite runtime checks added for
      over- and underflow
- less pain in the ass for C++ and rust users, as both C++ and
  c2rust are incompatible with C11 atomics
- adds test for overflow of the open file counter for more robust
  operation
- adds `assumes()` so that underflows are detected in non-production
  code
2024-03-27 11:26:15 +01:00
Martine Lenders
0e2ab509fb
opendsme: fix markdown formatting of ASCII art in documentation 2024-03-27 11:07:31 +01:00
Martine Lenders
653417d895
gnrc_gomach: deprecate module 2024-03-27 11:07:31 +01:00
Martine Lenders
2deb8882dd
gnrc_lwmac: deprecate module 2024-03-27 11:07:12 +01:00
Martine Lenders
0acb666da6
gnrc_mac: deprecate module 2024-03-27 10:50:23 +01:00
MrKevinWeiss
d265330a26
kconfig.md: Update kconfig doc with removed deps 2024-03-27 10:28:15 +01:00
MrKevinWeiss
1c02ab353f
makefiles/docker.inc.mk: Remove TEST_KCONFIG from env var 2024-03-27 10:28:15 +01:00