1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

34447 Commits

Author SHA1 Message Date
Benjamin Valentin
1298518be9 boards/[cc13x0, cc26x0]: move programmer config to common folder 2021-02-09 23:48:53 +01:00
Benjamin Valentin
9f0ee88d51 boards/common/cc26x2_cc13x2: rename to cc26xx_cc13xx 2021-02-09 23:37:26 +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
807b154fc4
Merge pull request #15956 from fjmolinas/pr_riotboot_uncrustify
sys/riotboot: uncrustify
2021-02-09 22:14:50 +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
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
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
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
Marian Buschsieweke
f41dcc9a8d
build system: fix FEATURES_REQUIRED_ANY
Previously, FEATURES_REQUIRED_ANY didn't honor the order of the alternatives
provided, if none of the features were already in used and multiple options
are provided. This fixes this.
2021-02-09 10:45:03 +01:00
Francisco Molina
235e024483
tests/cpp11_condition_variable: reduce thread number 2021-02-09 10:16:01 +01:00
Francisco Molina
eb9d2fb5b4
tests/cpp11_condition_variable: nucleo-f334r8 reduce thread size 2021-02-09 10:16:01 +01:00
benpicco
64779b6f98
Merge pull request #15944 from jeandudey/2021_02_08-cc26x0-cc13x0
cpu/cc26x0: rename to cc26x0_cc13x0
2021-02-08 21:10:06 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00
Jean Pierre Dudey
aec0edbcb9 cpu/cc26x0_cc13x0: use SetupTrimDevice only on cc26x0
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-08 17:25:42 +01:00
Jean Pierre Dudey
7db791476e cpu/cc26x0: rename to cc26x0_cc13x0
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-08 17:25:42 +01:00
Marian Buschsieweke
bd37457e14
tests/gnrc_tx_sync: add test for gnrc_tx_sync 2021-02-08 16:13:11 +01:00
Marian Buschsieweke
9895b840cd
sys/net: gnrc_tx_sync not implemented for gnrc_sixlowpand_frag_sfr
It is currently not possible to use both gnrc_tx_sync and
gnrc_sixlowpand_frag_sfr at the same time - this will be added in a follow
up PR.
2021-02-08 16:13:11 +01:00
317534fe7b
Merge pull request #15942 from bergzand/pr/riscv_common/thread_yield_in_irq
riscv_common: make thread_yield_higher IRQ compatible
2021-02-08 14:59:56 +01:00
0b2810a856
riscv_common: make thread_yield_higher IRQ compatible 2021-02-08 11:04:18 +01:00
50cf93c719
Merge pull request #15718 from bergzand/pr/rv32i/fe310_rv32i_refactor
riscv_common: Refactor common fe310 code to riscv_common
2021-02-08 10:27:41 +01:00
Marian Buschsieweke
83fbde1e91
Merge pull request #15934 from leandrolanzieri/pr/pkg/wakaama_patch_native_exception
pkg/wakaama: add patch to cast macro to time_t
2021-02-06 13:12:37 +01:00
Benjamin Valentin
1acbd6e560 cpu/native: add periph/flashpage implementation
Add a simple RAM-backed flashpage implementation for native, to
allow for easier testing of flashpage based applications / features.
2021-02-05 23:31:46 +01:00
Martine Lenders
492000f232
Merge pull request #15909 from leandrolanzieri/pr/ieee802154_security_radio_hal
net/ieee802154_security: remove radio hal dependency and cleanup
2021-02-05 17:08:52 +01:00