bors[bot]
4deca3dfd7
Merge #19743 #19744
...
19743: tests/unittests: improve int size detection r=maribu a=maribu
### Contribution description
Deduce from the value of `INT_MAX` whether `int` is 16 bit or 32 bit, rather than check CPU names.
19744: tests: update tests for MSP430 CPU r=maribu a=maribu
### Contribution description
Using the builtin `__MSP430__` macro is fool-proof and stable even if one would try to rename and reorganize the MSP430 cpu code.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-06-19 14:37:00 +00:00
Marian Buschsieweke
ee79bb7d68
tests: update tests for MSP430 CPU
...
Using the builtin `__MSP430__` macro is fool-proof and stable even
if one would try to rename and reorganize the MSP430 cpu code.
2023-06-19 14:49:55 +02:00
Marian Buschsieweke
e0b5d63021
tests/unittests: improve int size detection
...
Deduce from the value of `INT_MAX` whether `int` is 16 bit or 32 bit,
rather than check CPU names.
2023-06-19 14:01:56 +02:00
bors[bot]
ef82aa6acc
Merge #19651
...
19651: sys/stdio_semihosting: model in Kconfig r=MrKevinWeiss a=aabadie
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2023-06-19 07:07:59 +00:00
bors[bot]
1bed7dde15
Merge #19739
...
19739: gnrc/rpl: fix incorrect addition overflow check r=maribu a=szsam
Co-authored-by: Mingjie Shen <shen497@purdue.edu>
2023-06-17 16:25:56 +00:00
Alexandre Abadie
d4b35ec172
boards: fix periph_uart_hw_fc dependency resolution
2023-06-17 15:13:19 +02:00
Alexandre Abadie
3b505a2883
pkg/tinyusb: sys: fix stdio buffered inclusion in Kconfig
2023-06-17 15:12:31 +02:00
Mingjie Shen
fe92f676b4
gnrc/rpl: fix incorrect addition overflow check
...
Checking for overflow of integer addition by comparing against one of
the arguments of the addition does not work when the result of the
addition is automatically promoted to a larger type.
Fix by using an explicit cast to make sure that the result of the
addition is not implicitly converted to a larger type.
2023-06-17 02:25:11 -04:00
Alexandre Abadie
a8ef65d139
tests/sys/stdio_semihosting: add Kconfig config
2023-06-16 11:36:43 +02:00
Alexandre Abadie
f72cb049eb
sys/Kconfig.stdio: model stdio_semihosting in Kconfig
2023-06-16 11:36:42 +02:00
Fabian Hüßler
1b93025ab1
dist/tools/openocd: start debug-server in background and wait
2023-06-15 19:27:15 +02:00
bors[bot]
5d32c95c16
Merge #19492
...
19492: sys: partly refactor make dependency resolution r=aabadie a=aabadie
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2023-06-15 16:26:21 +00:00
Alexandre Abadie
1826331529
sys/usbus: move dependency resolution in its own Makefile.dep
2023-06-15 10:27:38 +02:00
Alexandre Abadie
03d2792f8b
sys/congure: move dependency resolution in its own Makefile.dep
2023-06-15 10:27:38 +02:00
Alexandre Abadie
d9047a063f
sys/ut_process: move dependency resolution in its own Makefile.dep
2023-06-15 10:27:38 +02:00
Alexandre Abadie
bec4c3e0b3
sys/evtimer: move dependency resolution in its own Makefile.dep
2023-06-15 10:27:37 +02:00
Alexandre Abadie
6cfafbde6c
sys/uri_parser: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:57 +02:00
Alexandre Abadie
ff4b2d1680
sys/fido2: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:57 +02:00
Alexandre Abadie
9bd7950a1a
sys/suit: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:57 +02:00
Alexandre Abadie
d617d864e6
sys/riotboot: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:56 +02:00
Alexandre Abadie
1f4adb2775
sys/uuid: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:56 +02:00
Alexandre Abadie
8256424480
sys/benchmark: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:55 +02:00
Alexandre Abadie
9386e08ecf
sys/event: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:55 +02:00
Alexandre Abadie
c164007425
sys/vfs*: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:54 +02:00
Alexandre Abadie
c8d4256c84
sys/random: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:54 +02:00
Alexandre Abadie
db19f6f546
sys/puf_sram: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:54 +02:00
Alexandre Abadie
50ed85a2fa
sys/entropy_source: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:53 +02:00
Alexandre Abadie
113200f9b2
sys/can: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:53 +02:00
Alexandre Abadie
9fb5708efe
sys/pm_layered: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:52 +02:00
Alexandre Abadie
643c239b27
sys/phydat: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:52 +02:00
Alexandre Abadie
1c57e7355d
sys/senml: cleanup dependency resolution
2023-06-15 10:24:52 +02:00
Alexandre Abadie
090ccc5d21
sys/saul_reg: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:51 +02:00
Alexandre Abadie
ab61a0f978
sys/sched_round_robin: move deps resolution in its own Makefile.dep
2023-06-15 10:24:51 +02:00
Alexandre Abadie
79207fa17b
sys/schedstatistics: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:50 +02:00
Alexandre Abadie
16b2606bac
sys/cpp11-compat: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:50 +02:00
Alexandre Abadie
cc27ff217b
sys/log_color: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:50 +02:00
Alexandre Abadie
2b658246b0
sys/luid: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:49 +02:00
Alexandre Abadie
fb167c7a9c
sys/sema*: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:49 +02:00
Alexandre Abadie
7ce942ab54
sys/isrpipe: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:48 +02:00
Alexandre Abadie
4e3290bece
sys/od: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:48 +02:00
Alexandre Abadie
1070a66ead
sys/trickle: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:48 +02:00
Alexandre Abadie
932ad3fc1f
sys/ssp: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:47 +02:00
Alexandre Abadie
85c640d415
sys/trace: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:47 +02:00
Alexandre Abadie
384469bc38
sys/eepreg: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:46 +02:00
Alexandre Abadie
f9bc119ac9
sys/coding: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:46 +02:00
Alexandre Abadie
a554738a0c
sys/arduino: move dependency resolution in its own Makefile.dep
2023-06-15 10:24:45 +02:00
Alexandre Abadie
9d58ff8ca2
sys: cleanup shell dependency resolution
2023-06-15 10:24:45 +02:00
Alexandre Abadie
cbca7ca149
Makefile.dep: include each sys included module deps if available
2023-06-15 10:24:45 +02:00
bors[bot]
829af7c105
Merge #19703 #19724 #19735
...
19703: cpu/sam0_eth: interrupt based link detection/auto-negotiation r=benpicco a=benpicco
19724: dist/tools/openocd: add OPENOCD_SERVER_ADDRESS variable r=benpicco a=fabian18
19735: nrf5x_common: Clear I2C periph shorts r=benpicco a=bergzand
### Contribution description
The I2C peripheral's shortcuts are used with the read and write register to automatically stop the I2C transaction or to continue with the next stage.
With simple I2C read and write bytes these shorts are not used, but are also not cleared by the function in all cases, causing it to use the shortcut configuration set by a previous function call. This patch ensures that the shorts are always set by the read and write functions
### Testing procedure
Should be possible to spot with a logic analyzer and the I2C periph test. Maybe the HIL test can also detect it :)
### Issues/PRs references
None
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Fabian Hüßler <fabian.huessler@ml-pa.com>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2023-06-14 12:34:33 +00:00
Benjamin Valentin
2a255ff3e8
cpu/sam0_eth: interrupt based link detection/auto-negotiation
2023-06-14 14:21:52 +02:00