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

45336 Commits

Author SHA1 Message Date
Marian Buschsieweke
8b088c8d4a
doc: Add guide for dev setup on Windows
This adds a step-by-step guide to install a dev setup based on
WSL2 / Ubuntu and native VS Code with the WSL extension. The guide
uses screenshots and adds annotations on top using Inkscape, so that
every click is documented.

The Inkscape sources are also added to allow adjusting / fixing the
annotations later on without having to record a new set of screenshots.

Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-02-28 10:18:39 +01:00
benpicco
0b385c6c0d
Merge pull request #20418 from xnumad/6ln-onlink-pfx
gnrc_ipv6_nib: Ignore PIO with on-link flag
2024-02-22 18:41:22 +00:00
xnumad
23d3ccde6b gnrc_ipv6_nib: Ignore PIO with on-link flag 2024-02-22 17:52:17 +01:00
Marian Buschsieweke
f9de5fd13c
Merge pull request #20417 from maribu/vscode/hardcode_compile_commands
vscode: Add hard-coded path to compile_commands.json
2024-02-22 16:41:52 +00: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
Marian Buschsieweke
fb4c388d68
vscode: Add hard-coded path to compile_commands.json
When run from Windows via WSL, VS Code just won't find the
`compile_commands.json` otherwise.
2024-02-22 15:47:18 +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
Marian Buschsieweke
7ddae48408
Merge pull request #20408 from maribu/makefiles/features_check.inc.mk
build system: Improve failure mode for FEAUTRES_REQUIRED_ANY
2024-02-22 14:08:49 +00:00
benpicco
cb83a896ee
Merge pull request #20289 from derMihai/mir/at_cme
drivers/at: parse +CME/+CMS responses and save error value
2024-02-22 13:53:52 +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
Marian Buschsieweke
d29652350b
build system: Improve failure mode for FEAUTRES_REQUIRED_ANY
Failing to provide any of the required features can provide a message
such as:

    There are unsatisfied feature requirements: periph_uart|periph_lpuart

This can be confusing and may hide the actual. E.g. above message
was generated when using SPI on the `msb-430` and `stdio_uart`. However,
the MSB-430 board *does* provide `periph_uart`, so this looks like a bug
in the feature resolution. This changes the failure mode of
`FEATURES_REQUIRED_ANY` to just pick the first of the alternatives
given if none of the alternative is usable, which gives in the example
the following message instead:

    The following features may conflict: periph_spi periph_uart
    Rationale: Both SPI and UART are provided by the same USART
               peripheral

The output is less surprising and can provide non-obvious reasons
why `FEATURES_REQUIRED_ANY` failed to pick a feature. The downside is
that the alternatives are no longer visible. However, that output
likely was so confusing this might be for the best.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-02-22 14:02:53 +01:00
Mihai Renea
c58b71b899 drivers/at: parse +CME/+CMS responses and save error value 2024-02-22 12:21:25 +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
543c62f4e8
Merge pull request #20412 from maribu/roadmap/drop-hauke
doc/roadmap: update contacts
2024-02-22 08:30:42 +00:00
Marian Buschsieweke
3c5ae563d6
doc/roadmap: update contacts
Hauke has stopped working on RIOT for some time now and other
maintainers agreed to step up to take over the steering / contact job
during the VMA. This change replaces Hauke by benpicco and maribu as
contact as agreed upon.
2024-02-22 09:16:50 +01:00
Kasper Hjort Berthelsen
9e6276351d periph/eeprom: fix off-by-one error in debug statement
Since p is incremented DEBUG prints the next value instead of the current
I also took the liberty to add debugs to the `write` function
2024-02-21 13:26:36 +01:00
Marian Buschsieweke
8b832804e8
Merge pull request #20403 from bergzand/pr/roadmap_hass
Roadmap: Add Home-Assistant integration on the roadmap
2024-02-21 11:38:16 +00:00
Marian Buschsieweke
db26f23793
Merge pull request #20405 from bergzand/pr/readme_no_caps
README: Change from all caps to regular
2024-02-21 11:08:37 +00:00
60bca08e6b
README: Change from all caps to regular 2024-02-21 11:57:07 +01:00
7b92a1beb2
Roadmap: Add Home-Assistant integration on the roadmap 2024-02-21 11:40:54 +01:00
Marian Buschsieweke
8c3c48e4e2
Merge pull request #20351 from chrysn-pull-requests/6lbr-roadmap
doc/roadmap: Make working 6LBR a goal
2024-02-21 09:55:45 +00:00
benpicco
9504e07378
Merge pull request #20392 from maribu/sys/newlib_syscalls_default
sys/newlib_syscalls_default: fix race condition in __sinit()
2024-02-20 12:22:24 +00:00
Marian Buschsieweke
34de5286b7
Merge pull request #20401 from maribu/tests/sys/posix_semaphore/disable_native_on_ci
examples, tests: disable native and native64 for more flaky tests
2024-02-20 12:21:25 +00:00
Marian Buschsieweke
251cffa2c5
examples/micropython: disable on native64
This was already disabled on native, but it is also flaky on
native64 under load due to sleeps potentially taking longer.
2024-02-20 13:12:20 +01:00
Marian Buschsieweke
463eef1c55
tests/sys/posix_semaphore: disable native,native64 on CI
The CI tests may fail under load with:

    first: waited too long 1001711 usec => FAILED
2024-02-20 12:30:23 +01:00
Marian Buschsieweke
609ad44f39
Merge pull request #20245 from benpicco/nanocoap_sock-pathquery
nanocoap_sock: always use coap_opt_put_uri_pathquery()
2024-02-19 18:28:38 +00:00
8cca5bec30
Merge pull request #20382 from maribu/ci/disable_flaky_tests
tests: disable flaky tests on `native` in the CI
2024-02-19 14:10:55 +00:00
chrysn
fe2d590d35
Merge pull request #20397 from chrysn-pull-requests/remove-mcu
makefiles, treewide: Remove MCU variable
2024-02-18 23:23:20 +00:00
chrysn
9716510598 pkg/micropython: Adjust to removed RIOT_MCU
Replacing RIOT_MCU with RIOT_CPU is the only change between the old and
the new version.
2024-02-18 20:46:09 +01:00
chrysn
756a384442 makefiles, treewide: Remove MCU variable 2024-02-18 20:46:09 +01:00
50fbffbe1d
Merge pull request #20399 from whjochim/patch-1
exmple > example in Cargo.toml comment
2024-02-17 13:21:29 +00:00
Wilhelm Jochim
9b2b4064eb
exmple > example in Cargo.toml comment
This is a simple spelling error in a comment in the Cargo.tom
2024-02-17 13:08:16 +01:00
chrysn
c2457f23ee
Merge pull request #20396 from chrysn-pull-requests/fix-info-boards-supporte
makefile: Don't $(info) when the output can break info-build-json
2024-02-17 07:04:42 +00:00
benpicco
a0c15149a0
Merge pull request #20394 from benpicco/no_thread_cleanup
core/init: clean up !core_thread init path
2024-02-16 22:18:12 +00:00
chrysn
5b6ae6b766 makefile: Don't $(info) when the output can break info-build-json 2024-02-16 20:08:28 +01:00
Benjamin Valentin
d39dc587f5 core/init: clean up !core_thread init path 2024-02-16 17:14:57 +01:00
Marian Buschsieweke
375aed13e6
sys/newlib_syscalls_default: fix race condition in __sinit()
This eagerly calls `__sinit()` instead of lazy initialization upon the
first call to stdio (e.g. `puts()`, `printf()`). The issue is that
without locking (as is currently the case for all RIOT platforms but
ESP) two concurrent "first calls" may result in concurrent
initialization of the same structure and data corruption.

Fixes https://github.com/RIOT-OS/RIOT/issues/20067
2024-02-16 07:21:28 +01:00
benpicco
ef0e3fb54e
Merge pull request #20391 from maribu/cpu/stm32/periph_spi_reconfigure
cpu/stm32: implement periph_spi_reconfigure
2024-02-15 22:59:33 +00:00
Marian Buschsieweke
aeca9a52c6
cpu/stm32: implement periph_spi_reconfigure
Fixes https://github.com/RIOT-OS/RIOT/issues/20227
2024-02-15 19:11:37 +01:00
Marian Buschsieweke
a378c0b81f
Merge pull request #20217 from maribu/examples/dtls-sock/credman-capacity
examples/dtls-sock: fix credman capacity
2024-02-15 11:35:56 +00:00
Marian Buschsieweke
3f57b8cef7
examples/dtls-sock: fix credman capacity
It should be possible to test DTLS via `::1`, but this requires 4
slots in the credman instead of just two.
2024-02-15 12:28:48 +01:00
chrysn
a05cfcf6ed
Merge pull request #20389 from chrysn-pull-requests/thread-links
doc: Link OpenThread primer, cleanup
2024-02-14 18:42:30 +00:00
chrysn
b85a71acbd openthread/doc: Remove obsolete note
Since [14979], the submac has been supported.

[14979]: https://github.com/RIOT-OS/RIOT/pull/14979/files
2024-02-14 17:44:13 +01:00
chrysn
41816ed647 doc: Link to thread primer 2024-02-14 17:44:13 +01:00
benpicco
ee0f6d711f
Merge pull request #20387 from benpicco/tests/pkg/edhoc_c-fix_CoAP_stack
tests/pkg/edhoc_c: bump CoAP thread stack size
2024-02-14 12:01:43 +00:00
Benjamin Valentin
7e48606399 tests/pkg/edhoc_c: bump CoAP thread stack size
The CoAP thread stack size needs to be the same as the main
thread stack size to accommodate the EDHOC stack requirements.
This was lost when moving to the common CoAP server code.
2024-02-14 11:20:56 +01:00
Leandro Lanzieri
7745e233b3
Merge pull request #20073 from MichelRottleuthner/pr_gcoap_observe_improvments
gcoap: add some client-side observe handling
2024-02-14 10:01:31 +00:00
benpicco
ee624b5185
Merge pull request #20326 from leandrolanzieri/pr/pkg/wakaama_notify_resource_update
pkg/wakaama: Notify resource updates when writing to resources
2024-02-13 22:02:42 +00:00
Marian Buschsieweke
d61a468a3e
Merge pull request #20378 from benpicco/use-nanocoap_server_auto_init
make use of nanocoap_server_auto_init
2024-02-13 18:41:11 +00:00