Martine Lenders
aaa9512d50
doc/porting-boards.md: improve with porting graph and reference section
2021-09-16 16:54:42 +02:00
Akshai M
b9d84e0b3e
doc/porting-cpus.md: initial import of a CPU porting guide
2021-02-10 15:45:59 +01:00
Marian Buschsieweke
d7f3e92c30
Merge pull request #15975 from maribu/ztimer-doc
...
sys/ztimer: clearify doc on clock ops
2021-02-10 12:23:55 +01:00
6d0942a863
Merge pull request #15963 from aabadie/pr/tests/driver_bq2429_bug
...
tests/driver_bq2429x: fix implicit conversion in helper function
2021-02-10 10:55:07 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
...
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
Martine Lenders
1db480006c
Merge pull request #15939 from namib-project/dhcp-mud-fix
...
sys/net/dhcpv6: Fixes for MUD URL option
2021-02-10 08:30:06 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
...
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
Francisco
92bc4c1b0b
Merge pull request #15974 from maribu/bugfix-features-required-any
...
build system: fix feature resolution
2021-02-10 00:01:29 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
...
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3
boards: add cc1350-launchpad
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Jean Pierre Dudey
b289c698b8
cpu/cc26xx_cc13xx: define GPIO_PIN macro
...
This allows using the macro inside the periph_conf.h board files since the
periph/gpio.h header can't be included on the peripheral configuration.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Marian Buschsieweke
e241b43d3f
sys/ztimer: clearify doc on clock ops
2021-02-09 22:34:04 +01:00
807b154fc4
Merge pull request #15956 from fjmolinas/pr_riotboot_uncrustify
...
sys/riotboot: uncrustify
2021-02-09 22:14:50 +01:00
Francisco Molina
3d6d8b1872
pkg/openwsn/sock: drop messages in mbox on close
2021-02-09 21:28:22 +01:00
Marian Buschsieweke
47035fbc2a
build system: fix feature resolution
...
Fix FEATURES_REQUIRED_ANY using more features than needed.
2021-02-09 21:24:03 +01:00
698a09f29d
Merge pull request #15964 from aabadie/pr/tests/driver_hih6130_fix_integer_absolute
...
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 20:48:14 +01:00
Martine Lenders
7bb706356a
Merge pull request #15962 from miri64/pyterm/fix/space-after-prompt
...
pyterm: read space after prompt into prompt
2021-02-09 20:34:34 +01:00
Jan Romann
9af849387c
tests/gnrc_dhcpv6_client_6lbr: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
b382de1693
tests/gnrc_dhcpv6: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
6a2aa7ad52
sys/net/dhcpv6: Fix MUD URL option
2021-02-09 19:47:47 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
...
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
...
boards: add zigduino
2021-02-09 18:40:48 +01:00
Marian Buschsieweke
633dc78fa2
Merge pull request #15957 from maribu/features_required_any_order_fix
...
build system: fix FEATURES_REQUIRED_ANY
2021-02-09 17:34:25 +01:00
Martine Lenders
bd96e4b400
tests/shell: add command with empty output
2021-02-09 17:17:25 +01:00
Martine Lenders
271d1ae3a2
pyterm: read space after prompt into prompt
...
Currently, when the prompt is read in `pyterm` the space after it is
ignored for the prompt and the output command just adds its own prompt.
This leads to the next output always having a leading space, see e.g.
this output from `tests/shell` using `RIOT_TERMINAL=pyterm`:
```
make: Entering directory '/home/mlenders/Repositories/RIOT-OS/RIOT2/tests/shell'
/home/mlenders/Repositories/RIOT-OS/RIOT2/dist/tools/pyterm/pyterm -p "/dev/ttyUSB1" -b "500000"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2021-02-09 14:47:15,071 # Connect to serial port /dev/ttyUSB1
Welcome to pyterm!
Type '/exit' to exit.
bufsize
2021-02-09 14:47:19,712 # bufsize
2021-02-09 14:47:19,712 # 128
> bufsize
2021-02-09 14:47:21,535 # bufsize
2021-02-09 14:47:21,536 # 128
>
```
While this isn't necessarily a problem in most cases, it becomes a
problem when the prompt is expected and the output of a command is
empty. In that case, the space is added to the empty output, making it
" ", so the prompt output command is never triggered and the prompt is
added to the next command in the log output. To demonstrate I added a
command `empty` to `tests/shell` that just does nothing and deactivated
the command echoing using `CFLAGS=-DCONFIG_SHELL_NO_ECHO=1`:
```
empty
> empty
empty
bufsize
2021-02-09 14:54:33,753 # > > 128
>
```
This fixes that problem by also reading the assumed space (we already
assume the prompt, so I don't see no harm in that) and if it is not a
space to skip the reading of the next char in the next iteration of the
reader loop.
2021-02-09 17:17:25 +01:00
Francisco Molina
ca2e59d6a2
pkg/openwsn/sock: add mutex around linked list access
...
Fix possible race conditions when sock is closed while iterating
through the linked list.
2021-02-09 17:04:25 +01:00
Francisco Molina
75d53b0c46
tests/pkg_openwsn_sock_udp: add test for sock_udp_close
...
Basic sock_udp_close() functionality is tested durin teardown,
but teardown does not test that there are no messages lingering
for the closed sock.
2021-02-09 17:04:24 +01:00
Martine Lenders
40da80085e
pyterm: move char reading and reconnect to their own private functions
2021-02-09 16:51:52 +01:00
Benjamin Valentin
735d22ea1b
pkg/wolfssl: add SAMD51 to name collision hack
...
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Benjamin Valentin
b130142785
boards: add adafruit-itsybitsy-m4
2021-02-09 16:15:34 +01:00
Benjamin Valentin
73f58bfa04
cpu/samd5x: Kconfig: don't provide periph_eth on CPU level
...
It's up to the board to expose it.
2021-02-09 16:15:33 +01:00
Benjamin Valentin
1d638bf017
boards/samd21-arduino-bootloader: increase preflash delay
...
The USB bootloader can take a while to be ready / Linux takes a while
to set up the interface.
1s is right at the edge, leading to races and often failed flashing.
Bump the delay to 2s for a wider safety margin, with this flashing is
a lot more reliable.
2021-02-09 16:13:23 +01:00
Benjamin Valentin
91e863f616
boards/samd21-arduino-bootloader: add support for samd51
2021-02-09 16:13:07 +01:00
2e3488154c
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 15:57:48 +01:00
eea04fd81f
tests/driver_bq2429x: fix implicit conversion in helper function
...
The parameter expects a bq2429x_chrg_fault_t but is declared as bq2429x_chrg_stat_t
2021-02-09 15:37:58 +01:00
Benjamin Valentin
ae4d7ee116
Makefile.ci: add zigduino
2021-02-09 15:26:03 +01:00
Benjamin Valentin
5fdbd09187
boards: add zigduino
...
This adds support for the ATmega128RFA1 based Zigduino.
The board is available on the Strasbourg site of the IoT lab for testing.
2021-02-09 15:26:03 +01:00
benpicco
5fba2c8387
Merge pull request #14448 from benpicco/l2-peerstats-rebased
...
net/netstats: L1/L2 per neighbor statistics
2021-02-09 14:54:53 +01:00
benpicco
bd79f573c7
Merge pull request #15935 from benpicco/cpu/native-flashpage
...
cpu/native: add periph/flashpage implementation
2021-02-09 14:54:08 +01:00
Marian Buschsieweke
cf36439b58
Merge pull request #15797 from fjmolinas/pr_cpp11_condition_variable_test
...
tests/cpp11_condition_variable: reduce thread number
2021-02-09 14:49:42 +01:00
Francisco Molina
6a79d94f1a
sys/riotboot: uncrustify
2021-02-09 13:38:31 +01:00
benpicco
27c5978710
Merge pull request #15912 from fjmolinas/pr_riotboot_flashwrite_invalidate_checksum
...
sys/riotboot/flashwrite: when invalidating erase checksum as well
2021-02-09 13:36:19 +01:00
Benjamin Valentin
cc9c58aae3
nrfmin: depend on gnrc_netif instead of gnrc_netdev_default
...
`gnrc_netdev_default` is a pseudomodule, what this driver really wants
is gnrc_netif.
2021-02-09 12:27:58 +01:00
Benjamin Valentin
b7b6beb65c
tests/netstats_neighbor: add compile-test for netstats_neighbor
2021-02-09 12:27:58 +01:00
Benjamin Valentin
75bb317eba
l2util: add l2util_addr_equal()
2021-02-09 12:27:58 +01:00
Benjamin Valentin
37dbbd969b
shell_commands: provide command for neighbor statistics
2021-02-09 12:27:58 +01:00
3b7e852773
net/gnrc/netif: hook up netstats_neighbor
2021-02-09 12:27:58 +01:00
f97267ba68
sys/net: add netstats_neighbor
2021-02-09 12:27:58 +01:00
Francisco Molina
6baadad152
sys/riotboot/flashwrite: when invalidating erase checksum as well
2021-02-09 11:11:47 +01:00
Francisco Molina
85caf7cbc7
drivers/flashpage: add FLASHPAGE_ERASE_STATE definition
2021-02-09 11:11:46 +01:00