Marian Buschsieweke
8a5d301caa
sys/net/gnrc/netif: Fix compilation on waspmote-pro
...
xtimer.h must not be included, when the xtimer module is not use. Otherwise
compilation on the waspmote-pro with https://github.com/RIOT-OS/RIOT/pull/14799
will not longer work. gnrc_netif_pktq includes xtimer.h and uses xtimer, but
gnrc_netif includes gnrc_netif_pktq.h regardless of whether gnrc_netif_pktq
is used. This makes sure that gnrc_netif_pktq.h is only included when actually
used.
2020-09-22 11:51:09 +02:00
Marian Buschsieweke
1d1b446d6b
sys/net/gnrc/netif: use IS_USED macro
2020-09-22 11:50:18 +02:00
ec65e8a776
tests/xtimer_usleep: fix test to allow zero (perfect) offset
2020-09-22 11:50:02 +02:00
86a045845e
tests/ztimer_overhead: update to clock->adjust_set
2020-09-22 11:50:02 +02:00
Hauke Petersen
3b424858de
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 11:43:00 +02:00
Francisco
bcd2b3e369
Merge pull request #14030 from benpicco/cpu/sam0_common-rtc_tamper
...
cpu/sam0_common: GPIO: use tamper detection to wake from Deep Sleep
2020-09-22 11:41:48 +02:00
c270aadc00
Merge pull request #15049 from aabadie/pr/drivers/lsm303dlhc_enh_init
...
drivers/lsm303dlhc: slightly enhance the initialization code
2020-09-21 11:44:08 +02:00
99238370a2
drivers/lsm303dlhc: remove useless release/acquire sequence
2020-09-21 11:16:14 +02:00
55ef882860
drivers/lsm303dlhc: improve debug message during init
2020-09-21 11:16:13 +02:00
Francisco
11d51def4b
Merge pull request #14965 from haukepetersen/fix_nimnetif_deadlockonconndrop
...
pkt/nimble/netif: fix deadlock on connection loss
2020-09-21 10:18:42 +02:00
MichelRottleuthner
cdd1cd3ea2
Merge pull request #14978 from pokgak/xtimer/remove_set_absolute
...
xtimer: remove _xtimer_set_absolute
2020-09-21 10:03:25 +02:00
Francisco
64f6b7ffa4
Merge pull request #14702 from maribu/sched_active_thread
...
treewide: Fix direct access to scheduler internals
2020-09-21 09:09:59 +02:00
Marian Buschsieweke
7946eb766e
Merge pull request #15047 from kaspar030/fix_cdc_ecm_recv_return
...
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
2020-09-18 22:45:13 +02:00
70d480c301
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
...
Previously, the function would always return the max_len parameter.
This poses two issues:
1. the API requires to return the actual packet size
2. the API requires that if the packet is larger than max_len, the
packet is flushed and -ENOBUFS is returned
3. this basically bypasses the packet flushing, consequtive _recv()
would return the last packet again
This commit fixes those issues.
2020-09-18 21:04:15 +02:00
Benjamin Valentin
2e35eb9229
tests/periph_gpio: enable tamper wake
2020-09-17 18:47:10 +02:00
Benjamin Valentin
310eb4970c
cpu/sam0_common: GPIO: use tamper detection to wake from Deep Sleep
...
On samd5x only the RTC can wake the CPU from Deep Sleep (pm modes 0 & 1).
The external interrupt controller is disabled, but we can use the tamper
detection of the RTC.
If an gpio interrupt is configured on one of the five tamper detect pins,
those can be used to wake the CPU from Deep Sleep / Hibernate.
2020-09-17 18:46:25 +02:00
Benjamin Valentin
0499d016ad
cpu/sam0_common: implement RTC tamper detection
2020-09-17 18:45:50 +02:00
Juergen Fitschen
90e7879ef2
tests/evtimer_msg: use evtimer_now_msec() to get current time
2020-09-17 16:58:32 +02:00
Juergen Fitschen
0440d27d76
tests/evtimer_msg: require xtimer explicitly
2020-09-17 16:58:31 +02:00
benpicco
acf14f8a2b
Merge pull request #15035 from maribu/test_periph_timer_etc
...
tests/periph_timer_{periodic, short_relative_set}: Drop include of `xtimer.h`
2020-09-17 16:29:36 +02:00
benpicco
2e89cf3398
Merge pull request #15034 from maribu/xtimer_shift_fallback
...
tests/xtimer_{rmutex,mutex}_lock_timeout: Fix compilation
2020-09-17 16:29:13 +02:00
benpicco
0916d34365
Merge pull request #15033 from maribu/xtimer_includes
...
{drivers/apds99xx, sys/net/gnrc/netreg}: Drop xtimer includes
2020-09-17 10:37:09 +02:00
José Alamos
9c130cd2fd
Merge pull request #15032 from jia200x/pr/at86rf2xx/fix_overflow
...
drivers/at86rf2xx: fix at86rf2xx_set_rxsensitivity
2020-09-17 10:32:06 +02:00
Marian Buschsieweke
344407921f
Merge pull request #14807 from aabadie/pr/tests/periph_timer_typo
...
tests/periph_timer: fix typo for boards using 250kHz timer
2020-09-16 20:34:06 +02:00
Marian Buschsieweke
39ae9ec399
tests/periph_timer_periodic: Don't include xtimer.h
...
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
2020-09-16 20:28:11 +02:00
Marian Buschsieweke
84f49bb4c8
tests/periph_timer_short_relative_set: Don't include xtimer.h
...
Including xtimer.h without using the xtimer module results in issues on the
waspmote-pro. Thus, drop the include.
2020-09-16 20:26:01 +02:00
Marian Buschsieweke
ca96ebc882
tests/xtimer_rmutex_lock_timeout: Fix compilation
...
Let XTIMER_SHIFT fall back to zero to allow compilation with the waspmote-pro
2020-09-16 20:09:50 +02:00
Marian Buschsieweke
4bb1e530bf
tests/xtimer_mutex_lock_timeout: Fix compilation
...
Let XTIMER_SHIFT fall back to zero to allow compilation with the waspmote-pro
2020-09-16 20:09:42 +02:00
Marian Buschsieweke
0cb274c1eb
sys/net/gnrc: Fix include of xtimer.h
...
Make sure xtimer.h is only included if the xtimer module is actually used, as
otherwise compilation for the waspmote-pro fails.
2020-09-16 19:55:43 +02:00
4d1ed718a1
tests/periph_timer: fix typo for boards using 250kHz timer
2020-09-16 19:55:33 +02:00
Marian Buschsieweke
2690b272d9
drivers/apds99xx: Fix includes
...
The driver does not depend on or use the xtimer module, it should therefore
not include `xtimer.h`. Same for the test, which additionally missed an
include of `mutex.h` (previously implicitly included through `xtimer.h`).
2020-09-16 19:55:22 +02:00
970fdff2c6
Merge pull request #15029 from leandrolanzieri/pr/boards/hifive1/clock_kconfig_define_symbols
...
boards/hifive1[b]: always set Kconfig values for clock configuration
2020-09-16 15:09:33 +02:00
Jose Alamos
074dc8d328
drivers/at86rf2xx: fix at86rf2xx_set_rxsensitivity
2020-09-16 14:47:51 +02:00
Francisco
6a826555cf
Merge pull request #14877 from maribu/stm32-eth-fix
...
cpu/stm32/periph/eth: Fix transmission bug
2020-09-16 14:30:44 +02:00
Cenk Gündoğan
b09fd7c78d
Merge pull request #14947 from leandrolanzieri/pr/kconfig/add_empty_recipies_dependencies
...
tools/genconfig: add empty recipes in dependency file
2020-09-16 11:00:45 +02:00
Leandro Lanzieri
3829963c73
boards/hifive1b: change clock Kconfig parameter to always have a value
...
As clock.c uses C conditionals for its code, the configuration macros
should always be defined. This is done by moving the dependencies to a
condition in the prompt, making them configurable only when applicable.
2020-09-16 09:10:50 +02:00
Leandro Lanzieri
5d96a6383d
boards/hifive1: change clock Kconfig parameter to always have a value
...
As clock.c uses C conditionals for its code, the configuration macros
should always be defined. This is done by moving the dependencies to a
condition in the prompt, making them configurable only when applicable.
2020-09-16 09:08:42 +02:00
170b3efddd
Merge pull request #15013 from fjmolinas/pr_malefile_features_check
...
Makefile.include: intial features check before dependency resolution
2020-09-15 22:04:51 +02:00
benpicco
aac05cb393
Merge pull request #15024 from chrysn-pull-requests/declare-ull-constant
...
ipv6: Declare unsigned long long literal
2020-09-15 16:57:24 +02:00
benpicco
d1c548ea5e
Merge pull request #15027 from chrysn-pull-requests/nrf52-no-poweroff
...
cpu/nrf52: Remove unused static inline USB poweroff
2020-09-15 16:30:11 +02:00
chrysn
5b97b49b1d
cpu/nrf52: Remove unused static inline USB poweroff
...
The function was never in used, and this is breaking builds using LLVM
that treats unused static inlines as an error.
2020-09-15 15:55:05 +02:00
Hauke Petersen
4420e86aa5
Merge pull request #15025 from haukepetersen/fix_at86_netdevsetassert
...
driver/at86rf2xx: fix asserts in _set func
2020-09-15 14:55:37 +02:00
Hauke Petersen
020642476e
driver/at86rf2xx: fix asserts in _set func
2020-09-15 13:57:15 +02:00
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
Marian Buschsieweke
d9e495fe83
build system: use riscv-none-elf as triplet
...
Use riscv-none-elf instead of legacy riscv-none-embed as target triplet for
RISC-V development. However, if ricsv-none-elf is not present, try
riscv64-unknown-elf and riscv-none-embed instead. If the legacy riscv-none-embed
is used, a warning is printed.
2020-09-15 11:18:33 +02:00
Marian Buschsieweke
f5398cf57b
Merge pull request #14940 from benpicco/cpu/cortexm_common-puf_sram
...
cpu/cortexm_common: advertise puf_sram feature
2020-09-15 10:58:41 +02:00
77d166b75e
Merge pull request #15021 from kaspar030/fix_ztimer_doc_typos
...
sys/ztimer: fix auto_init doc
2020-09-14 20:41:03 +02:00
Francisco Molina
c6b837b99e
makefiles/info-global.inc.mk: add initial default modules inclusion
2020-09-14 19:01:33 +02:00
Francisco Molina
90a4d77879
Makefile.include: intial features check before dependency resolution
2020-09-14 18:56:33 +02:00
0ee2a8fa5f
sys/ztimer: fix auto_init doc
2020-09-14 18:05:09 +02:00