1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net
bors[bot] 9d1d4bb1b2
Merge #19119 #19313
19119: makefiles/tools/serial.inc.mk: Allow detection of debug adapter r=benpicco a=maribu

### Contribution description

This PR adds the ability to automatically detect the debug adapter for boards with an integrated programmer/debugger, if that debugger also provides the TTY.

This extends the TTY detection that can be enabled with `MOST_RECENT_PORT=1` to set `DEBUG_ADAPTER_ID` to the TTY's serial, but only if `DEBUG_ADAPTER_ID_IS_TTY_SERIAL` is set to `1` by the board (as not all boards have an integrated programmer/debugger).

### Testing procedure

Connect a HiFive-1B and a nRF52840DK at the same time and try `make BOARD=<nrf52840dk|hifive1b> MOST_RECENT_PORT=1 -C examples/default flash term` for both. The programmer will not reliably select the correct programmer in `master`. With this PR, it will.

### Issues/PRs references

None

19313: gnrc_static: don't parse address as prefix r=benpicco a=benpicco



Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de>
2023-02-24 17:46:10 +00:00
..
application_layer nanocoap_link_format: fix off-by-one error 2023-02-23 16:34:56 +01:00
ble net/ble/skald: let itvl be configured per context 2022-05-24 13:02:10 +02:00
credman sys/net/credman: fix insecure memory wiping 2022-09-20 17:44:24 +02:00
crosslayer sys/net/crosslayer/inet_csum: add missing "modules.h" include 2023-02-02 16:37:21 +01:00
dsm sys/net/dsm: add missing dependencies 2022-02-21 15:15:02 +01:00
gnrc gnrc_static: don't parse address as prefix 2023-02-24 16:03:16 +01:00
link_layer ieee802154/submac/Kconfig: select ZTIMER 2023-01-19 15:34:20 +01:00
lora net/lora: add module to Kconfig 2021-01-21 11:22:33 +01:00
netdev_test netdev_test: avoid explicit cast to netdev 2021-07-09 11:35:19 +02:00
netif sys/net/netif: add helpers for IPv6 addresses 2022-06-06 20:46:48 +02:00
netstats sys/include/net/netstats: move xtimer header where it is needed 2021-02-16 18:18:21 +01:00
netutils net/util: make use of dns_query() 2022-07-29 17:48:26 +02:00
network_layer Merge #18477 #19101 #19155 2023-01-16 14:03:15 +00:00
sock sys/net/sock_util: add sock_dtls_establish_session() 2023-02-08 15:57:22 +01:00
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: add net to sys group 2015-08-30 14:00:33 +02:00
ieee802154.txt net/iee802154: fix typo in docs 2022-08-04 15:09:20 +02:00
Kconfig sys/net/netopt: model in Kconfig 2022-07-25 11:08:31 +02:00