1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

33928 Commits

Author SHA1 Message Date
8331c30339
.circleci: use riot/static-test-tools Docker image 2021-01-14 19:08:15 +01:00
1343bfbf26
.github/static-test: use riot/static-test-tools Docker image 2021-01-14 14:45:05 +01:00
Martine Lenders
42c1070387
Merge pull request #15767 from miri64/dist/fix/uncrustify-file
uncrustify: use unified diff to generate GH annotation
2021-01-14 13:00:20 +01:00
José Alamos
0b16c298ea
Merge pull request #15766 from jia200x/pr/nrf802154/spurious_emission
nrf802154/hal: fix unwanted emissions at the end of ACK frame
2021-01-14 12:35:47 +01:00
Martine Lenders
6dfdde9b81
Merge pull request #15768 from miri64/dist/fix/headerguards-comment
dist/tools/headerguards: fix comment for current code
2021-01-14 12:34:55 +01:00
Martine Lenders
0a99a018c2
dist/tools/headerguards: fix comment for current code 2021-01-14 12:26:58 +01:00
Martine Lenders
629d3cd39d
uncrustify: use unified diff to generate GH annotation
`git diff` creates diffs where the file name starts with `a/` or `b/`
respectively. These are obviously not in path, so the Github annotations
point to nowhere when the path is used without accounting for this.

This fixes the GH annotation parsing to account for that.
2021-01-14 12:19:53 +01:00
benpicco
bd5b195433
Merge pull request #15726 from jia200x/pr/cc2538_fix
cc2538_rf/radio_hal: fix transmit function
2021-01-14 11:42:42 +01:00
Jose Alamos
698df63cfb
nrf802154/hal: fix unwanted emissions at the end of ACK frame
This commit turns off the transceiver immediately after sending an ACK
frame in order to avoid unwanted emissions (see ERRATA ID 204).
When the radio stays in TX_ON without an explicit transition, the radio
keeps sending a spurious signal for some milliseconds.
2021-01-14 11:06:11 +01:00
Jose Alamos
3c56cdf0c0
cc2538_rf/radio_hal: fix transmit function
This commit sets the correct value to the MCU_CTRL bit for the
cc2538_rf. This variable is used to detect when the radio is doing
transmission with CCA. Since this was not set to 1 when sending without
CCA, the `confirm_transmit` function returned -EAGAIN after the TX_DONE
event (which violates the HAL API).

This error was discovered using some Radio HAL riotctrl scripts by @LarsKowoll.
2021-01-14 10:34:50 +01:00
José Alamos
2bf10413d0
Merge pull request #15397 from fjmolinas/pr_ieee802154_crc_error
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-14 10:29:17 +01:00
Martine Lenders
09463b73cb
Merge pull request #15756 from miri64/dist/enh/shellcheck-enabled
static_tests: enable shellcheck and annote its output
2021-01-14 01:21:45 +01:00
Francisco Molina
960e0c5f43
sys/ieee802154/submac: add handling of invalid CRC frames 2021-01-13 23:42:45 +01:00
Francisco Molina
5cbb8093cf
tests/ieee802154_hal: add CRC_ERROR handling 2021-01-13 23:42:44 +01:00
Francisco Molina
83fbe6d100
pkg/openwsn: use IEEE802154_RADIO_INDICATION_CRC_ERROR 2021-01-13 23:42:43 +01:00
Francisco Molina
fe1e16cdc7
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR 2021-01-13 23:42:41 +01:00
Martine Lenders
89418e4277
dist/tools/ci/static_tests.sh: fix shellcheck warnings 2021-01-13 22:03:11 +01:00
Martine Lenders
f6290c1c02
shellcheck: annotate errors in Github Action 2021-01-13 22:03:11 +01:00
Martine Lenders
79301c623d
static-tests: add shellcheck (but don't fail) 2021-01-13 22:02:49 +01:00
José Alamos
db449673f2
Merge pull request #15616 from fjmolinas/pr_ieee802154_rssi_conversion
sys/inet/ieee802154/radio: fix wrong rssi conversions treewide
2021-01-13 20:38:22 +01:00
Francisco Molina
49c90cd517
pkg/openwsn/contrib/radio_hal: fix rssi conversion 2021-01-13 19:45:13 +01:00
Francisco Molina
6d4d00ebe9
cpu/nrf52/nrf802154_radio: fix rssi calculation 2021-01-13 19:45:13 +01:00
Francisco Molina
f8bc934785
cpu/cc2538/radio/cc2538_rf_radio_ops: fix rssi reporting 2021-01-13 19:45:11 +01:00
daf5a7d6b4
Merge pull request #15585 from aabadie/pr/doc/emulator
doc/emulators: add emulators documentation in Doxygen
2021-01-13 17:43:02 +01:00
Martine Lenders
5457105fe0
Merge pull request #15751 from miri64/dist/enh/codespell-annotate
dist/tools/codespell: annotate errors in Github Action
2021-01-13 17:27:19 +01:00
Martine Lenders
7b3b01659f
dist/tools/codespell: annotate errors in Github Action 2021-01-13 17:16:59 +01:00
4b90d93fc0
dist/tools/renode: remove documentation
The documentation was moved to doc/doxygen/src/emulators.md
2021-01-13 17:14:40 +01:00
c9e0604612
doc: add emulator documentation 2021-01-13 17:14:39 +01:00
Francisco
4736a881fc
Merge pull request #15512 from aabadie/pr/tools/emulator_term
tools/emulator: allow use with *term targets + introduce EMULATE=1 instead of emulate target
2021-01-13 17:12:00 +01:00
Martine Lenders
ff0e41ff9f
Merge pull request #15750 from miri64/dist/enh/buildsystem-sanity-check-annotate
dist/tools/buildsystem_sanity_check: minor fixes and annotate errors in Github Action
2021-01-13 16:42:36 +01:00
Martine Lenders
688b89ba40
Merge pull request #15748 from miri64/dist/enh/uncrustify-annotate
dist/tools/uncrustify: annotate errors in Github Action
2021-01-13 15:30:14 +01:00
Kevin "Tristate Tom" Weiss
aa19614a6c
Merge pull request #15731 from miri64/dist/enh/pr_check-annotate
dist/tools/pr_check: cleanup and annotate errors in Github Action
2021-01-13 15:24:13 +01:00
Martine Lenders
d4628dc07f
dist/tools/pr_check: annotate errors in Github Action 2021-01-13 15:18:06 +01:00
José Alamos
ae841519cb
Merge pull request #15629 from jia200x/pr/ieee802154_rssi_dbm
ieee802154: add helpers for RSSI and dBm conversion
2021-01-13 14:53:56 +01:00
Jose Alamos
728b84dc69
netdev_ieee802154_submac: use RSSI in dBm 2021-01-13 14:14:45 +01:00
Jose Alamos
59d5a808a7
tests/unittest/ieee802154: add tests for RSSI and dBm conversion 2021-01-13 14:14:45 +01:00
Jose Alamos
49f4ecc595
ieee802154: add helpers for RSSI and dBm conversion 2021-01-13 14:14:45 +01:00
Marian Buschsieweke
605220ce06
Merge pull request #15736 from bergzand/pr/riscv/use_ecall
cpu/fe310: Use ecall instruction for thread yield
2021-01-13 14:03:19 +01:00
Marian Buschsieweke
582f8d8430
Merge pull request #15754 from maribu/rssi
sys/net/gnrc: fix in-band signaling of no RSSI
2021-01-13 13:28:06 +01:00
5a203413a1
cpu/fe310: Remove software IRQ handling 2021-01-13 12:51:32 +01:00
1b2adb4821
cpu/fe310: Use ecall instruction for thread yield 2021-01-13 12:51:25 +01:00
Martine Lenders
3c688e31ad
Merge pull request #15753 from miri64/dist/enh/vera++-annotate
dist/tools/vera++: annotate errors in Github Action
2021-01-13 12:13:24 +01:00
Martine S. Lenders
bb310ec644
dist/tools/vera++: annotate errors in Github Action 2021-01-13 12:06:48 +01:00
Martine Lenders
375df5740a
pr_check: remove label check 2021-01-13 12:02:18 +01:00
Martine Lenders
741aaf9a38
pr_check: fix README 2021-01-13 12:02:18 +01:00
2e0e5a5477
Merge pull request #15759 from basilfx/feature/bmx280_release
drivers/bmx280: add missing _release
2021-01-13 09:04:47 +01:00
Marian Buschsieweke
b50964f6fc
sys/net/gnrc: fix in-band signaling of no RSSI
Previously a value of 0 was used for the RSSI to signal that this value is not
present in `gnrc_netif_hdr_t`. However, an RSSI of 0 dBm is legal and even very
plausible data.

This commit defines `GNRC_NETIF_HDR_NO_RSSI` as `INT16_MIN`, which is below the
noise floor in the vacuum of outer space and hence impossible to receive.
For consistency, also GNRC_NETIF_HDR_NO_LQI is defined.
2021-01-13 08:53:33 +01:00
Marian Buschsieweke
e2c5467d09
cpu/nrf5x_common/radio/nrfmin: drop duplicated code
`gnrc_netif_hdr_build()` calls internally `gnrc_netif_hdr_init()`, which does
initialize `gnrc_netif_hdr_t::rssi` and `gnrc_netif_hdr_t::lqi`. So no need to
do this twice.
2021-01-13 08:53:17 +01:00
Bas Stottelaar
c42c3475bf drivers/bmx280: add missing _release 2021-01-12 23:47:08 +01:00
Marian Buschsieweke
9029d6f7c2
Merge pull request #15757 from maribu/sock-aux-cleanup
sys/net/gnrc/sock: cleanup & fix aux handling
2021-01-12 22:57:21 +01:00