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

35108 Commits

Author SHA1 Message Date
Gerson Fernando Budke
8c1203c646 cpu/avr8_common: Add xmega reset cause register
Add missing ATxmega reset cause register.  This shares same definitions
from ATmega CPU.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
1a88f0bad6 cpu: Introduce Atmel xmega cpu
Add ATxmega common files and cpu definitions.

This works was originally developed by @Josar.  The 2018 version
were port to 2021 mainline.

This version changes original port to have only the atxmega CPU
definition. With that, all family can be accomodated.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
d041199825 cpu/avr8_common: Move irq_enable from board to cpu
Some mega boards enabling global irq at board_init.  This moves that
responsability to cpu/avr8_common to create a common point to all
variants.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
9081a3b7c7 cpu/avr8_common/include/cpu.h: Increase number of uart
The ATxmega can have up to 8 UARTs.  This increase from 2 up to 7 to
keep avr8_state flags with 8 bits wide.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
dylad
187b79fa74 boards: use BTNx_MODE when defined 2021-03-15 21:26:50 +01:00
Martine S. Lenders
6507d04a83 tests/unittests: extend tests for gnrc_netif_pktq_usage() 2021-03-15 15:13:59 +01:00
Martine S. Lenders
db8415b5b6 gnrc_netif_pktq: add function to check usage 2021-03-15 15:13:27 +01:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
2e5ff00386 dist/tools/uncrustify: Add turo module 2021-03-15 10:36:46 +01:00
MrKevinWeiss
e7cc489b14 tests/turo: Add automated turo test for json 2021-03-15 10:36:46 +01:00
MrKevinWeiss
e9b65306ea tests/unittests/turo: Add turo unittest 2021-03-15 10:36:46 +01:00
MrKevinWeiss
38884d24b2 sys/result_output: Add kconfig 2021-03-15 10:36:46 +01:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper 2021-03-15 09:48:42 +01:00
05224adc96
sys/net/loramac: move lora time on air compute helper in loramac.h 2021-03-14 11:09:39 +01:00
Marian Buschsieweke
42df56ff08
tests/periph_ptp_clock: fix bug in debug print
The API doc of ptp_clock_adjust_speed says regarding the correction
parameter:

    1. A call with @p correction set to `0` restores the nominal clock speed.
    2. A call with a positive value for @p correction speeds the clock up
       by `correction / (1 << 32)` (so up to ~50% for `INT32_MAX`).
    3. A call with a negative value for @p correction slows the clock down by
       `-correction / (1 << 32)` (so up to 50% for `INT32_MIN`).

So we need to divide by 2^32, not 2^32 - 1 (or `UINT32_MAX`).
2021-03-12 20:43:01 +01:00
MrKevinWeiss
6a3eb46d5e sys/result_output: Expose result output 2021-03-12 16:20:33 +01:00
MrKevinWeiss
2c2be2636d sys/result_output: Add initial structure check 2021-03-12 16:17:12 +01:00
MrKevinWeiss
d17829311c sys/result_output: Add initial text implementation 2021-03-12 16:16:28 +01:00
MrKevinWeiss
3cbd8a356b sys/result_output: Add initial json implementation 2021-03-12 16:15:07 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x 2021-03-12 14:40:12 +01:00
f5ef94c86c
examples/lorawan: adapt to new loramac initialization 2021-03-12 14:40:12 +01:00
e4c54de2a6
sys/auto_init/loramac: initialize sx127x radio there 2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface 2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state 2021-03-12 11:38:14 +01:00
0ea3b0bac1
drivers/sx127x: expose RSSI value via netdev 2021-03-12 10:29:45 +01:00
Martine Lenders
e768a85f62
Merge pull request #15798 from miri64/dist/enh/annotations-moved-by-offset
static_tests: move diff annotations by offset.
2021-03-11 14:12:02 +01:00
Martine Lenders
254af225c9
uncrustify: move annotation by offset 2021-03-11 13:32:33 +01:00
Martine Lenders
b52ddefccd
headerguards: move annotation by offset 2021-03-11 13:32:33 +01:00
Martine Lenders
c6260f29b3
coccinelle: move annotation by offset 2021-03-11 13:32:32 +01:00
Martine Lenders
5521492a75
Merge pull request #15886 from leandrolanzieri/pr/netdev_remove_radio_hal_pseudomodule
drivers/netdev: cleanup dependencies and remove ieee802154_radio_hal pseudomodule
2021-03-10 16:42:55 +01:00
Leandro Lanzieri
5af48d2969
tests/netstats_neighbor: use gnrc_netdev_default module 2021-03-10 15:22:03 +01:00
Leandro Lanzieri
c54d680664
examples/gnrc_networking: remove reference to netdev_ieee802154_legacy 2021-03-10 14:18:13 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule 2021-03-10 14:18:13 +01:00
Leandro Lanzieri
246391a9fa
cpu/nrf52/nrf802154: use driver specific legacy pseudomodule
This introduces the nrf802154_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the nrf802154 radio driver.
2021-03-10 14:18:12 +01:00
Leandro Lanzieri
f0e7dfdf76
cpu/cc2538/radio: use driver specific legacy pseudomodule
This introduces the cc2538_rf_netdev_legacy pseudomodule that switches
to the netdev-based implementation of the cc2538 radio driver.
2021-03-10 14:18:12 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Leandro Lanzieri
79fe7274ca
doc: add documentation on default configurations 2021-03-10 14:18:09 +01:00
010ba56174
Merge pull request #16061 from kaspar030/xfa_shell
sys/shell: add XFA support
2021-03-09 14:47:43 +01:00
Martine Lenders
d27ea0237e
Merge pull request #16119 from miri64/riotctrl_shell/feat/congure_test
riotctrl_shell: add ShellInteraction for `congure_test`
2021-03-09 12:27:10 +01:00
Kevin "Tristate Tom" Weiss
9d579a34d0
Merge pull request #16116 from leandrolanzieri/pr/sys/ztimer/kconfig_change_default_backend
sys/ztimer/kconfig: add defaults for backends
2021-03-09 12:22:10 +01:00
d31934223c tests/periph_spi_dma: blacklist samd10-xmini 2021-03-09 11:50:46 +01:00
f454cb7a24 tests/shell: uncrustify main.c 2021-03-09 11:50:46 +01:00
Benjamin Valentin
dde3ca5f46 cpu/stm32: candev: derive number of CAN interfaces from vendor header
We can deduce the number of available CAN interfaces from the vendor headers
so no need to hard-code this number for individual part numbers.
2021-03-09 11:30:21 +01:00
Martine Lenders
5ceffde662
tests/congure_test: add tests for CongureTest ShellInteraction 2021-03-09 11:24:23 +01:00
Marian Buschsieweke
89e11977b2
Merge pull request #15998 from nandojve/avr8_fix_gdb_debian
dist/tools/avarice/debug.sh: Change gdb check order
2021-03-09 10:27:02 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
Leandro Lanzieri
37419b2b3e
Merge pull request #16157 from MrKevinWeiss/pr/kconfig/posixinet
sys/posix/inet: Add posix_inet and dependencies to Kconfig
2021-03-09 10:00:09 +01:00
1588dd8e46
Merge pull request #16166 from fjmolinas/pr_flashpage_dep_riotbooty
sys/riotboot: remove remaining FLASHPAGE_SIZE dep
2021-03-09 09:43:43 +01:00
MrKevinWeiss
0fd3cbfa0b sys/posix: Add posix_inet module to kconfig 2021-03-09 09:15:59 +01:00