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
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
Marian Buschsieweke
dd68fb7273
tests/gnrc_sock_{ip,udp}: fix copy paste error
2021-01-12 22:00:43 +01:00
Marian Buschsieweke
8f24cc840c
sys/net/gnrc/sock: cleanup & fix aux handling
...
The logic used to check whether the RX timestamp was provided in the GNRC
implementation of `sock_ip_recv_buf_aux()` is incorrect: It still uses in-band
signalling via a timestamp of zero, but a dedicated flag was added to allow for
timestamps of zero.
Additionally, it is not necessary to check if a bit is set only to clear it -
clearing it unconditionally is faster and smaller.
2021-01-12 21:31:24 +01:00
Martine Lenders
3fdf9f925e
Merge pull request #15745 from aabadie/pr/ci/tests-on-iotlab-fix
...
ci/test-on-iotlab: fix unsupported set-env command
2021-01-12 19:20:01 +01:00
703c33fd3e
Merge pull request #15752 from aabadie/pr/tests/usbus_hid_cleanup
...
tests/usbus_hid: uncrustify and cleanup Makefile
2021-01-12 18:52:32 +01:00
benpicco
20f2ab44ac
Merge pull request #15556 from benpicco/cpu/samd51-spurious_tamper
...
cpu/samd5x: RTC: add timeout to spurious tamper event
2021-01-12 18:22:49 +01:00
Benjamin Valentin
3a7aa5d09a
cpu/sam0_common: RTC: add timeout to spurious tamper event
...
Errate 2.17.4 says:
> Upon enabling the RTC tamper detection feature, a false tamper
> detection *can* be reported by the RTC.
It turns out that this spurious event is not always generated.
If RTC alarm is used and the CPU was previously woken from hibernate
by RTC, it *can* happen that the false tamper event is *not* generated.
In this case, we will block indefinitely on the mutex.
To solve this, add a timeout to the event.
Also poll the event instead of using a mutex, as we have already set
`PM->SLEEPCFG.bit.SLEEPMODE` at this point.
2021-01-12 17:36:40 +01:00
Martine Lenders
7a6dec464e
Merge pull request #15644 from miri64/dist/enh/externc-annotate
...
dist/tools/externc: annotate errors in Github Action
2021-01-12 17:24:57 +01:00
Martine Lenders
750e656b6f
Merge pull request #15645 from miri64/dist/enh/cppcheck-annotate
...
dist/tools/cppcheck: annotate errors in Github Action
2021-01-12 17:24:40 +01:00
60688d15c7
tests/usbus_hid: cleanup USB variable access in Makefile
2021-01-12 17:24:00 +01:00
c7781189b7
tests/usbus_hid: uncrustify main.c
2021-01-12 17:23:10 +01:00
Martine Lenders
d5ec8494ec
Merge pull request #15749 from miri64/dist/fix/headerguards-multi-patch
...
dist/tools/headerguards: fix annotation for multiple patches per file
2021-01-12 17:22:01 +01:00
benpicco
acd846653a
Merge pull request #15728 from leandrolanzieri/pr/cpu/kinetis/fix_lptmr_timer
...
cpu/kinetis: fix compile issue in LPTMR timer
2021-01-12 16:29:49 +01:00
a469942ecf
Merge pull request #15747 from miri64/dist/enh/coccinelle-annotate
...
dist/tools/coccinelle: annotate errors in Github Action
2021-01-12 15:38:42 +01:00
Leandro Lanzieri
2cf3c603c7
cpu/kinetis/timer: consider no LPTMR when no config present
2021-01-12 15:31:37 +01:00
Leandro Lanzieri
c516832211
boards/pba-d-01-kw2x: not define LPTMR_ISR_1
2021-01-12 15:31:34 +01:00
Martine Lenders
b711515e76
dist/tools/headerguards: fix annotation for multiple patches per file
2021-01-12 15:04:02 +01:00
Martine Lenders
b5a0dd5ab7
dist/tools/coccinelle: annotate errors in Github Action
2021-01-12 14:51:51 +01:00
daa75c9ccd
Merge pull request #15746 from miri64/dist/enh/headerguard-annotate
...
dist/tools/headerguards: annotate errors in Github Action
2021-01-12 14:17:54 +01:00
Martine Lenders
3ffe6f665f
dist/tools/headerguards: annotate errors in Github Action
2021-01-12 12:52:54 +01:00
Martine Lenders
94d9555b72
Merge pull request #15737 from miri64/readme/enh/merge-chance
...
README: Add merge-chance badge
2021-01-12 12:21:59 +01:00
2e2f950ca7
Merge pull request #15460 from dylad/pr/usbus/dfu_riotboot
...
usbus/dfu: add Device Firmware Upgrade support for USBUS (2nd attempt)
2021-01-12 12:04:58 +01:00
benpicco
eb26cd83c4
Merge pull request #15743 from benpicco/tests/periph_flashpage-print_offset
...
tests/periph_flashpage: print config page address
2021-01-12 11:49:01 +01:00
dylad
7fc5bb483b
makefiles/dfu-util: automatically generate DFU_USB_ID
2021-01-12 11:34:22 +01:00
dylad
bca340d338
cpu/nrf52: update RIOTBOOT_LEN w/ MODULE_USBUS_DFU
2021-01-12 11:34:22 +01:00
dylad
25d0dffa61
Kconfig: add Kconfig support for DFU
2021-01-12 11:34:22 +01:00
dylad
e87bb6a0f9
bootloader: create new bootloader application with DFU support
2021-01-12 11:34:22 +01:00
dylad
beb0fb752c
sys/riotboot: add DFU support to riotboot
2021-01-12 11:34:22 +01:00
dylad
f3908bed9f
sys/auto_init: add support for USB DFU
2021-01-12 11:34:22 +01:00
dylad
9d02efb4ea
cpu/cortexm_common: increase RIOTBOOT_LEN size when usbus_dfu is used
2021-01-12 11:34:22 +01:00
dylad
669a8ec7b3
usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS
2021-01-12 11:34:22 +01:00
4363b3ea2e
ci/test-on-iotlab: fix unsupported set-env function
2021-01-12 11:23:12 +01:00
Marian Buschsieweke
ca34879a91
Merge pull request #15744 from aabadie/pr/ci/gh_actions_block_feature_freeze
...
ci/check-labels: fail for PR blocked by feature freeze label
2021-01-12 11:19:58 +01:00
42f6f028eb
ci/check-labels: fail for PR blocked by feature freeze label
2021-01-12 10:45:55 +01:00
Martine Lenders
2eec26a0f8
Merge pull request #15740 from aabadie/pr/tools/headerguards_check_fix
...
tools/headerguards: also catch messages from stderr
2021-01-12 10:31:46 +01:00
Martine Lenders
19565f4aea
Merge pull request #15741 from aabadie/pr/boards/lpc1768_common_conf
...
boards/lpc1768: move vendor conf code to CPU level
2021-01-12 10:30:03 +01:00
1be0a29f62
Merge pull request #15742 from aabadie/pr/sys/posix_fcntl_headerguard_fix
...
[RFC] sys/posix/fcntl: fix headerguard
2021-01-12 10:12:19 +01:00
Benjamin Valentin
4e1ee2253f
tests/periph_flashpage: print config page offset
2021-01-12 08:43:38 +01:00
benpicco
fee3a8540f
Merge pull request #15725 from seeseemelk/bugfix/stm32-uart-fw
...
stm32/periph/uart: set flow control bits before enabling uart
2021-01-12 08:38:45 +01:00