8f93e42e9c
Merge pull request #16225 from jnohlgard/tests-includes
...
tests: Fix some pedantic mistakes
2021-03-24 14:15:36 +01:00
aea7b78326
Merge pull request #16224 from jnohlgard/core-msg-printf
...
core/msg: Fix mismatched printf formats
2021-03-24 13:45:15 +01:00
Joakim Nohlgård
821eb21861
tests/fault_handler: Fix pedantic warnings about signed/unsigned
2021-03-24 12:07:26 +01:00
Joakim Nohlgård
f24e835c71
tests/cpu_efm32_features: Add missing include stdio.h
...
for puts
2021-03-24 12:07:20 +01:00
Joakim Nohlgård
1f710f94e6
tests/cortexm_address_check: Add missing include inttypes.h
...
for PRIx32
2021-03-24 12:07:15 +01:00
Joakim Nohlgård
87727febd7
core/msg: Fix mismatched printf bool format
...
_Bool will be extended to int when calling the variadic printf function.
2021-03-24 12:01:23 +01:00
Joakim Nohlgård
783c407787
core/msg: Fix mismatched printf signed/unsigned format
...
enum signedness depends on the platform settings, use explicit casts for robustness
2021-03-24 12:01:18 +01:00
Joakim Nohlgård
a83516b2f6
core/msg: Fix mismatched printf signed/unsigned format
...
cib_avail returns unsigned int
2021-03-24 12:01:07 +01:00
Joakim Nohlgård
f941782442
devfs: Split devfs-random into two files using submodules
2021-03-24 11:57:44 +01:00
chrysn
4596f79c95
tests/dac_dds: Fix sine wave to fit in PCM range
...
The previous sine wave cast signed integers into the PCM range, causing
jumps at zero transitions. This shifts everything up by the respective
maximum signed integer, so that the signed idle zero becomes the
unsigned PCM signal's idle half-point and can continuously cover the
whole unsigned range.
2021-03-24 00:35:19 +01:00
Marian Buschsieweke
650559276f
cpu/stm32/periph_ptp: bugfix & better debug output
...
- Clear the PTP timer interrupt *after* the user callback is executed
- Otherwise it would be possible that the ISR sets another super
short timeout that triggers during ISR, which also gets cleared
- This is a pretty nasty race condition :-/
- The debug output was a bit too verbose to be generally useful. Some
noise is now silenced unless `DEBUG_VERBOSE` is `#define`d to 1
2021-03-23 22:58:10 +01:00
chrysn
5b44d7e5b0
Merge pull request #16219 from chrysn-pull-requests/saul-shell-no-null-percents
...
sys/shell/saul: Don't print from NULL
2021-03-23 19:11:43 +01:00
chrysn
00af946aef
Merge pull request #16220 from chrysn-pull-requests/microbit-doc-links
...
boards/microbit-v2: Add links to schematics etc.
2021-03-23 17:27:07 +01:00
chrysn
e711e96f9d
boards/microbit-v2: Add links to schematics etc.
2021-03-23 16:16:39 +01:00
chrysn
9eaaa68641
sys/shell/saul: Don't print from NULL
...
SAUL devices can legitimately be unnamed; catching all attempts to read
their names with a generic "(no name)" name.
2021-03-22 21:53:49 +01:00
Marian Buschsieweke
bcc899f2db
Merge pull request #16100 from maribu/netopt_tx_end_irq
...
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
2021-03-22 21:17:45 +01:00
chrysn
bf571ad7b2
riotboot: Build ARCHIVES
...
Like /Makefile.include builds ARCHIVES before ELFFILES.
2021-03-22 20:43:41 +01:00
Benjamin Valentin
2d910dcc53
examples/gnrc_border_router: default to DHCPv6 for CDC ECM
2021-03-22 16:24:07 +01:00
Benjamin Valentin
b48acc2573
tests/bench_msg_pingpong: cleanup
...
Drop the global volatile variable, clean up the code.
2021-03-22 12:42:46 +01:00
José Alamos
c5d620add8
Merge pull request #16206 from akshaim/lorawan-netif_dr_fix
...
gnrc_netif_lorawan: Validate DR
2021-03-22 11:03:30 +01:00
Marian Buschsieweke
4cfcc4ee9e
tests/driver_xbee: Update Makefile.ci
...
The additional warning message increases the size of the .rodata
section. For the Arduino Mega2560 this is placed in RAM (and flash), as
flash is not mapped into the data address space.
2021-03-22 08:15:55 +01:00
Marian Buschsieweke
3a378c24a2
drivers/cc2420: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
1d0ee42046
drivers/at86rf2xx: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
08063bebfe
drivers/at86rf215: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
134f323fb1
drivers/kw41zrf: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
fba104c2ce
drivers/kw2xrf: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
a18ec987bf
drivers/mrf24j40: make TX/RX IRQs read only
...
This brings the implementation in sync with the API.
2021-03-22 08:15:54 +01:00
Marian Buschsieweke
52c8be9da9
drivers/mrf24j40: drop unused define
...
MRF24J40_OPT_REQ_AUTO_ACK is never used and wrongly documented. Let's
just drop it.
2021-03-22 08:15:53 +01:00
Marian Buschsieweke
80d56488cc
sys/net/gnrc/netif: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if the needed events are supported (with DEVELHELP).
2021-03-22 08:15:52 +01:00
Marian Buschsieweke
ff08139263
sys/net/gnrc/lwmac: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:28 +01:00
Marian Buschsieweke
94e0ef47c7
sys/net/gnrc/gomach: update use of NETOPT_TX_END_IRQ and friends
...
With the API change, it is no longer possible to enable these IRQs at
run time. Instead, query if those are supported (with DEVELHELP).
2021-03-22 08:14:27 +01:00
Marian Buschsieweke
d86df5b217
sys/net/netopt: make NETOPT_TX_END_IRQ and friends read-only
...
Reasoning:
- Many drivers already just generate these events regardless of configuration.
This will make behavior more consistent
- Run time configuration increases ROM, complexity and maintaining
effort
- At least NETOPT_TX_END_IRQ is now de facto mandatory, as the new
netdev driver API requires NETDEV_EVENT_TX_COMPLETE to always be
generated.
2021-03-22 08:14:27 +01:00
Leandro Lanzieri
889983697e
Merge pull request #16215 from fjmolinas/pr_tests_ccs811
...
tests/driver_ccs811%: fix read return code check
2021-03-21 21:15:52 +01:00
Francisco Molina
4a4a159cb6
tests/driver_ccs811%: fix read return code check
2021-03-21 20:45:57 +01:00
Benjamin Valentin
0eef9b3a75
examples/gnrc_border_router: enable ethernet uplink
...
Boards with an ethernet interface already have this as their `netdev_default`
so we don't have to enable anything here.
2021-03-21 17:47:19 +01:00
chrysn
cf194d1bf7
Merge pull request #16213 from chrysn-pull-requests/saul-not-from-isr
...
doc/SAUL: State expectations on blocking and interrupts
2021-03-21 14:49:06 +01:00
chrysn
3a719c69c7
doc/SAUL: State expectations on blocking and interrupts
2021-03-21 14:35:01 +01:00
chrysn
163e2b013c
Merge pull request #16028 from chrysn-pull-requests/bootloader-docs-dfu
...
riotboot_dfu: Add documentation
2021-03-20 23:11:34 +01:00
benpicco
ee5b70730b
Merge pull request #15758 from nandojve/avr8_xmega
...
Introduce ATxmega CPU and Boards
2021-03-20 22:09:07 +01:00
chrysn
e0b1bfbf71
riotboot_dfu: Add user documentation
2021-03-20 21:51:22 +01:00
Dylan Laduranty
160251b0b3
Merge pull request #16011 from chrysn-pull-requests/riotboot-modeselect
...
riotboot: Mode selection for boards
2021-03-20 21:44:00 +01:00
Marian Buschsieweke
654d841f66
Merge pull request #16192 from maribu/tests/periph_ptp_clock
...
tests/periph_ptp_clock: fix bug in debug print
2021-03-20 06:51:31 +01:00
Leandro Lanzieri
99c7ec57cf
Merge pull request #15943 from jia200x/pr/gnrc_lorawan_channel_mask
...
net/gnrc_lorawan: implement channel mask support
2021-03-19 16:23:13 +01:00
Akshai M
efdefaa7db
gnrc_netif_lorawan: Validate DR
...
Co-authored-by: José Alamos <jialamos@uc.cl>
2021-03-19 12:17:44 +01:00
Jose Alamos
166ee57a5a
net/gnrc_lorawan: implement funcion to set channel mask
2021-03-19 12:15:03 +01:00
Martine Lenders
64f34381c5
Merge pull request #15938 from iosabi/patch-1
...
Fix typo in release notes.
2021-03-19 10:44:30 +01:00
madokapeng
6ef41356bc
boards/nucleo-f767zi: Add periph_can support
2021-03-18 20:57:22 -04:00
Martine Lenders
214fdf007d
Merge pull request #16193 from miri64/gnrc_netif_pktq/feat/usage
...
gnrc_netif_pktq: add function to check usage
2021-03-18 23:05:27 +01:00
chrysn
d770917e49
riotboot_dfu: Stay in DFU mode if button is pressed
...
Boards can override this; by default it's BTN0
2021-03-18 19:32:16 +01:00
Leandro Lanzieri
842ea31151
Merge pull request #16201 from maribu/periph_spi_doc_fix
...
drivers/periph_spi: fix Doxygen commands
2021-03-18 19:26:11 +01:00