crasbe
5d0de3196a
Merge pull request #21352 from mguetschow/board-alias-warning-red
...
makefiles: colorize board alias warning
2025-04-03 15:03:25 +00:00
mguetschow
5699a0a5f9
Merge pull request #21351 from mguetschow/native-common-labeler
...
.github/labeler: recognize boards/common/native as native
2025-04-03 13:31:19 +00:00
Mikolai Gütschow
ab38081f58
makefiles: colorize board alias warning
2025-04-03 15:27:14 +02:00
Mikolai Gütschow
aea851cd15
.github/labeler: recognize boards/common/native as native
2025-04-03 14:34:41 +02:00
mguetschow
57de45cf89
Merge pull request #21308 from benpicco/dec_as_hex
...
sys/bcd: add bcd_buf_from_u32()
2025-04-03 10:48:33 +00:00
mguetschow
894de865bc
Merge pull request #21347 from Enoch247/fix-unittests-example
...
tests/unittests: if include guards in doc example
2025-04-03 07:57:07 +00:00
Joshua DeWeese
f265cec494
tests/unittests: fix include guards in doc example
...
This patch updates the example given to conform to the recomended
placement of include guards.
See issue #21335
2025-04-02 20:11:50 -04:00
crasbe
8a76cee6c5
Merge pull request #20971 from crasbe/pr/stm32_adc
...
cpu/stm32: Make ADC Resolution Definition uniform
2025-04-02 22:30:52 +00:00
crasbe
1d3939d882
cpu/stm32: make ADC resolution uniform
2025-04-02 22:45:35 +02:00
Marian Buschsieweke
22531e6314
Merge pull request #21346 from crasbe/pr/stm32f2_adc
...
cpu/stm32f2: Fix Sampling Time for VBat
2025-04-02 20:17:12 +00:00
crasbe
596670bdde
cpu/stm32f2: fix sampling time for VBat
2025-04-02 21:38:29 +02:00
Benjamin Valentin
8f4dec6559
tests/unittests: add test for bcd_buf_from_u32()
2025-04-02 19:00:48 +02:00
Benjamin Valentin
284845e6ea
sys/bcd: add bcd_buf_from_u32()
2025-04-02 18:57:26 +02:00
Benjamin Valentin
a104c3f3e0
tests/unittests: add test for reverse_buf()
2025-04-02 18:45:37 +02:00
Marian Buschsieweke
4f676cd318
Merge pull request #21238 from crasbe/pr/fix_stm32wl_adc
...
cpu/stm32{f3,l4,wb,wl}: Replace ztimer with busy_wait, fix VBat sampling time and {wl only} fix initialization sequence
2025-04-02 16:42:13 +00:00
crasbe
112e542923
cpu/stm32{f3,l4,wb,wl}: increase sampling time for VBat line
2025-04-02 16:53:33 +02:00
crasbe
f1a102bb87
cpu/stm32wl: fix ADC initialization sequence
2025-04-02 16:53:33 +02:00
Marian Buschsieweke
17d2516a54
Merge pull request #20581 from maribu/timer_get_closest_freq
...
drivers/periph_timer: add `timer_get_closest_freq()`
2025-04-02 14:45:14 +00:00
Marian Buschsieweke
8b77df4270
tests/periph/timer: test timer_get_closest_freq()
2025-04-02 16:21:07 +02:00
Marian Buschsieweke
5b600d3a8e
drivers/periph_timer: add timer_get_closest_freq
...
Add an API to search for the frequency supported by a timer that
is closest to the given target frequency.
This is in fact non-trivial to get right, as pre-scaler registers can
be 16 bit or even 32 bit in size, making a naive loop over all possible
pre-scalers too expensive (computationally).
Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-04-02 16:21:07 +02:00
Marian Buschsieweke
b1932dd1f5
Merge pull request #21230 from crasbe/pr/stm32f0g0c0_adc
...
cpu/stm32{f0,g0,c0}: fix ADC initialization sequence
2025-04-02 12:56:35 +00:00
Martine Lenders
c69ef85e41
Merge pull request #21345 from mguetschow/doc-file-macros-deprecate
...
doc: deprecate RIOT_FILE_* macros
2025-04-02 12:36:40 +00:00
Mikolai Gütschow
3c12ee0950
doc: deprecate RIOT_FILE_* macros
2025-04-02 13:05:01 +02:00
Marian Buschsieweke
1f3a693473
Merge pull request #21338 from crasbe/pr/nucleo64-spiled-warning
...
boards/nucleo64: Add Compile Warning about LED0 when using SPI
2025-04-02 09:18:03 +00:00
Marian Buschsieweke
ca781c2f12
Merge pull request #21242 from mguetschow/native-alias
...
boards: introduce board alias and make native default to host target
2025-04-02 09:14:12 +00:00
benpicco
85dc9be1c9
Merge pull request #20872 from benpicco/stdio_null-frontend
...
core: add stdio.h to replace stdout functions with stdio_null
2025-04-01 15:30:08 +00:00
crasbe
a74927ff5b
boards/nucleo64: add compile warning about LED0 when using SPI
2025-04-01 14:42:33 +02:00
Benjamin Valentin
f840d80473
cpu/avr8_common: don't implement perror() with stdio_null
2025-04-01 14:29:28 +02:00
Benjamin Valentin
082a37b17f
dist/tools/headerguards: ignore if #include_next is used
...
We can't use the same header guard if we include two files with the same name.
2025-04-01 14:29:28 +02:00
Benjamin Valentin
6a08bff2f0
pkg/jerryscript: don't be pedantic
2025-04-01 14:29:28 +02:00
Benjamin Valentin
8c25666267
cpu/native: don't implement stdout functions with stdio_null
2025-04-01 14:29:28 +02:00
Benjamin Valentin
35005c3e85
core: add stdio.h to replace stdout functions with stdio_null
2025-04-01 14:29:28 +02:00
mguetschow
0afe99ce29
Merge pull request #21332 from crasbe/pr/xiao-nrf52-sense
...
boards/seeedstudio-xiao-nrf52840-sense: Add Initial Support
2025-04-01 11:33:58 +00:00
mguetschow
a3a53fbc7e
Merge pull request #21319 from kfessel/p-m-doc-md
...
add *.doc.md to doxygen sources
2025-04-01 11:20:21 +00:00
mguetschow
d6a0260c94
Merge pull request #21333 from krzysztof-cabaj/examples-nanocoap-lwip
...
examples/nanocoap_server: enable LWIP IPv4
2025-04-01 11:01:11 +00:00
Mikolai Gütschow
96694ab31a
doc/porting-boards: document board alias feature
2025-04-01 12:41:55 +02:00
Mikolai Gütschow
f565eacfce
boards/native*: select native variant based on host platform
...
Co-Authored-By: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2025-04-01 12:39:42 +02:00
Mikolai Gütschow
cf3a84ddfa
boards/native*: update documentation
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
110bb2ff44
boards/native64/doc.md: migrate to markdown
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
41852f98b2
boards/native32/doc.md: migrate to markdown
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
24305ff663
boards/doc.md: migrate to markdown
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
4b52679fd7
tests/build_system: test board aliases
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
ed19204fb5
boards/native*: move common code to boards/common/native
...
Co-Authored-By: Oleg Hahm <oleg@riot-os.org>
2025-04-01 12:39:14 +02:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32
2025-04-01 12:39:06 +02:00
Karl Fessel
1446aeab24
core/mutex: separate documentation
2025-04-01 11:30:15 +02:00
mguetschow
32642d60a3
Merge pull request #21341 from maribu/build_system/create-cargo-folders
...
build system: create cargo folders more robustly
2025-04-01 07:56:07 +00:00
fabian18
9e55e5611f
Merge pull request #21270 from fabian18/pr/nanocoap_static_buffers
...
nanocoap: avoid non `static` buffers of configurable size
2025-03-31 22:46:38 +00:00
Marian Buschsieweke
5feacf284d
build system: create cargo folders more robustly
...
On some systems, `$(shell mkdir -p ~/.cargo/registry)` ended up not
replacing `~` with the home directory, but rather created a directory
named `~`.
The new approach should be a bit more robust.
2025-03-31 21:32:58 +02:00
Fabian Hüßler
49243a5ef2
nanocoap/sock: move request header buffer to socket
2025-03-31 19:12:19 +02:00
Fabian Hüßler
7e4afa4436
nanocoap: supply response buffer for nanocoap_link_format_get
2025-03-31 19:12:19 +02:00