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

38708 Commits

Author SHA1 Message Date
Emmanuel Baccelli
56d343de6e release-notes.txt: add 2022.01 release notes 2022-01-28 15:48:31 +01:00
93ac9d91d1
tests/drivers_at86rf215: Exclude z1 2022-01-28 14:04:47 +01:00
fe0b297aec
tests/gnrc_netif_ipv6_wait_for_global_address: convert to ztimer 2022-01-28 13:38:56 +01:00
3b5662e116
gnrc/netif: convert to ztimer 2022-01-28 13:38:50 +01:00
Juergen Fitschen
617eb359c0
Merge pull request #17565 from fjmolinas/pr_dose_to_ztimer
drivers/dose: migrate to ztimer_usec
2022-01-28 13:04:44 +01:00
Marian Buschsieweke
755652b6cf
tests/sched_change_priority: add test app 2022-01-28 11:29:18 +01:00
benpicco
39ad2012ba
Merge pull request #17583 from benpicco/cpu/native-afl_gcc_fix
cpu/native: fix build with afl-gcc 11.2
2022-01-28 10:19:32 +01:00
Benjamin Valentin
4c9f1e0ca4 cpu/native: fix build with afl-gcc 11.2
Building `fuzzing/gcoap` with afl-gcc 11.2 gives

/home/benpicco/dev/RIOT/cpu/native/native_cpu.c: In function ‘thread_stack_init’:
/home/benpicco/dev/RIOT/cpu/native/native_cpu.c:120:11: error: variable ‘stk’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
  120 |     char *stk = NULL;
      |           ^~~
/home/benpicco/dev/RIOT/cpu/native/native_cpu.c:118:72: error: argument ‘stack_start’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
  118 | char *thread_stack_init(thread_task_func_t task_func, void *arg, void *stack_start, int stacksize)
      |

We can re-write the function to not use this temporary variable and the error goes away.
2022-01-27 21:09:59 +01:00
b795a26781
Merge pull request #17582 from aabadie/pr/boards/p-nucleo-doc-update
boards/p-nucleo-wb55: update documentation
2022-01-27 20:20:26 +01:00
6371051bc3
Merge pull request #17545 from fjmolinas/pr_iotlab_node_docker_riotci_build
Makefile.include: pass IOTLAB_NODE to docker
2022-01-27 20:20:03 +01:00
benpicco
f90bc7e827
Merge pull request #17576 from benpicco/boards/wlr089-xpro
boards/samr34-xpro: add minimal support for WLR089 Xplained Pro
2022-01-27 18:06:47 +01:00
benpicco
4ed9d8fd5c
Merge pull request #17581 from nmeum/riscv-linker-rom-region
cpu/riscv_common: fix undeclared memory region linker error
2022-01-27 17:06:43 +01:00
1768b46f81
boards/p-nucleo-wb55: add new supported features 2022-01-27 16:04:36 +01:00
a7d71930c9
boards/p-nucleo-wb55: update notes about OpenOCD version 2022-01-27 16:04:27 +01:00
0d2b58bdfb
boards/p-nucleo-wb55: fix doxygen parent group 2022-01-27 16:03:56 +01:00
chrysn
f7dfa2f84d
Merge pull request #17133 from chrysn-pull-requests/doc-develhelp-stackoverflow-precision
doc: Start documenting pseudomodules
2022-01-27 15:09:22 +01:00
Sören Tempel
e41063d40e cpu/riscv_common: fix undeclared memory region linker error
Since commit 3a11b1fbd2 (#16972)
building RIOT applications with `BOARD=hifive1` causes the following
linker error to be emitted on my system:

	/opt/rv32imc/lib/gcc/riscv32-unknown-elf/10.2.0/../../../../riscv32-unknown-elf/bin/ld:riscv_base.ld:220: warning: memory region `rom' not declared

This is due to the fact that the RISC-V linker script doesn't have a rom
memory region. While many other ARM-based boards have a rom memory
region defined in the linker script, the corresponding region name in
the RISC-V linker script is flash and rom is not declared as a memory
region hence the warning.

I think this was accidentally overlooked in
3a11b1fbd2. It is fixed in this commit by
replacing the rom region with the flash region. The linker script
identifiers (e.g. _srom and _erom) are not renamed.
2022-01-27 15:02:50 +01:00
Francisco Molina
d2b9b4ce8c Makefile.include: pass IOTLAB_NODE to docker
By default if IoT-LAB Cli Tools V3 is used then BINFILE is used to
flash on IoT-LAB. But BINFILE is not built by default when RIOT_CI_BUILD
is set as a ci optimization.

But since before IOTLAB_NODE was not passed to docker when building it
did not know that it should BUILD BINFILE as well, which led to failures
if doing:

$ IOTLAB_NODE=iotlab-m3.grenoble.iot-lab.info BOARD=iotlab-m3 \
  RIOT_CI_BUILD=1 BUILD_IN_DOCKER=1 make -C examples/hello-world/ flash

But if IOTLAB_NODE is passed at is checks for IoT-LAB cli Tools also
happen in the docker container which leads to a make error since those
are not present in docker.

Therefore add BINFILE to BUILD_FILES if RIOT_CI_BUILD is set, but unset
IOTLAB_NODE once INSIDE_DOCKER.
2022-01-27 14:56:00 +01:00
chrysn
4f085222cf
Merge pull request #17577 from chrysn-pull-requests/compile_commands-updates
tools/compile_commands: Update --clangd set
2022-01-27 14:29:26 +01:00
Francisco
137d99de42
Merge pull request #17578 from aabadie/pr/testbed/iotlab_nodes
testbed/iotlab: add mapping for samr34-xpro and nucleo-wl55jc
2022-01-27 14:08:30 +01:00
chrysn
1e8209f80e pseudomodules: Documentation for board_software_reset 2022-01-27 13:49:25 +01:00
chrysn
15398a53cb doc: Sharpen list of pseudomodules in documentation
Not all pseudomodules should go here; this is mainly for those that
don't belon anywhere else.
2022-01-27 13:49:25 +01:00
chrysn
dcd08c257b doc: Link concrete measures from DEVELHELP documentation 2022-01-27 13:49:25 +01:00
chrysn
bb8402fc0b doc: Document the MPU pseudomodules 2022-01-27 13:49:25 +01:00
chrysn
68d0c291a9 doc: Initial documentation of pseudomodules
Co-authored-by: Francisco <femolina@uc.cl>
2022-01-27 13:49:14 +01:00
Benjamin Valentin
a471f3583e drivers/sx127x: add support for WLR089/SAM R34
The device ID returned on WLR089 is 0x13 instead of 0x12, but it appears to
work just like sx1276.

Also check for the other device ID to make the driver work on this module.
2022-01-27 13:36:26 +01:00
Benjamin Valentin
b67de309a4 boards/samr34-xpro: add doc.txt 2022-01-27 13:36:26 +01:00
8a869217f3
gh_action/test-on-iotlab: add nucleo-wl55jc and samr34-xpro 2022-01-27 11:47:06 +01:00
a18c95e524
testbed-support: add iotlab mapping for nucleo-wl55jc and samr34-xpro 2022-01-27 11:46:39 +01:00
541b23ce03
gh_action/test-on-iotlab: fix alphabetical order in boards list 2022-01-27 11:45:51 +01:00
J. David Ibáñez
ffb49ad622 boards/feather-m0: sx127x params only valid for lora vairiant
In the feather-m0 board the sx127x pin parameters are hardcoded for the
feather-m0-lora variant, but this is not compatible with other
configurations.

For example in the feather-m0 adalogger PA06 and PA08 are used for the
SD card. When combined with the RFM95W FeatherWing the IRQ/CS/RST pins
must be wired, and then the sx127x pins must be configured to match the
wiring (which will be necessarily different from the lora variant
configuration).
2022-01-27 11:29:40 +01:00
Hauke Petersen
f57e813429 tests/nimble_rpble: fix NIMBLE_MAX_CONN 2022-01-27 10:30:30 +01:00
Hauke Petersen
41f3863b87 tests: add test for nimble_rpble_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
b95b63a7b9 tests: add test for nimble_statconn_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
9106e31fac tests: add test for nimble_autoconn_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
f39950f185 tests: add test for nimble_netif_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
c7b3d8416d nimble/autoconn: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
0a4585d4c8 nimble/rpble: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
7c3f4e0fe9 shell/sc_nimble_statconn: allow to set PHY mode 2022-01-27 10:30:29 +01:00
Hauke Petersen
2634063f5f nimble/statconn: allow to define PHY mode 2022-01-27 10:30:29 +01:00
Hauke Petersen
f9386b4af7 shell/sc_nimble_netif: extend to support PHY modes 2022-01-27 10:30:29 +01:00
Hauke Petersen
0ea7bf33d0 nimble/netif: support ext adv and BLE 5 PHY modes 2022-01-27 10:30:29 +01:00
Hauke Petersen
56c4460785 nimble/scanner: include CODED PHY only if featured 2022-01-27 10:10:09 +01:00
Hauke Petersen
1b15b203cc pkt/nimble/contrib: add enum for PHY modes 2022-01-27 10:10:09 +01:00
Hauke Petersen
618898ce76 tests/nimble_ext_adv: cleanup PHY mode selection 2022-01-27 10:10:09 +01:00
Hauke Petersen
f5aba5301d pkg/nimble: cleanup dep resolution for PHY modes 2022-01-27 10:10:09 +01:00
chrysn
4fb9f46e62 tools/compile_commands: use -Wno-unknown-warning-option
... instead of manual filtering

Some -Wwarning-type flags were removed because in combination with
-Werror they caused clang to fail when the warning type was unknown.
Rather than enumerating them (a manual process with the extra risk of
leaving warnings disabled longer than necessary), this adds
`-Wno-unknown-arning-option` which disables the warnings (that are
becoming erors through -Werror) raised when a warning's name is unknown.
2022-01-27 09:10:49 +01:00
chrysn
c3fa026226 tools/compile_commands: Filter out -msmall-data-limit=8
It is not available in the libclang version currently shipped with
riotdocker.
2022-01-27 08:58:35 +01:00
chrysn
99d245f538
Merge pull request #17520 from chrysn-pull-requests/rust-enable-riscv
cpu/riscv_common: Enable Rust applications
2022-01-26 19:14:50 +01:00
chrysn
07a4756242
Merge pull request #17569 from chrysn-pull-requests/unit-tesla
phydat: Add Tesla unit
2022-01-25 16:43:16 +01:00