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

31652 Commits

Author SHA1 Message Date
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
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
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
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
Francisco
a301e81b47
Merge pull request #15017 from benpicco/periph/timer-doc-fix
drivers/periph/timer: amend documentation for timer_set_periodic()
2020-09-13 21:30:47 +02:00
Benjamin Valentin
696ddf3dbb drivers/periph/timer: amend documentation for timer_set_periodic()
The function needs the `periph_timer_periodic` feature.
Add a `@note` about that to the documentation.
2020-09-13 19:06:28 +02:00
d76abc7543
Merge pull request #15014 from silkeh/pr/fix-se-badge
README: replace StackOverflow badge
2020-09-11 18:59:08 +02:00
18cda40fb5
Merge pull request #14710 from bergzand/pr/cortexm/thread_remove_nop_ctx_switch
cortexm_common: Skip context save/restore on scheduling the previous thread
2020-09-11 18:28:43 +02:00
benpicco
819dc7de90
Merge pull request #14843 from benpicco/picolibc_stdio_offset
picolibc: enable read()/write() with !VFS, implement missing fs functions
2020-09-11 18:04:01 +02:00
Silke Hofstra
3838d0b673 README: replace StackOverflow badge
The current StackOverflow badge sometimes shows as 'invalid'.
This is, of course, not really wanted.

Replace it by one that is a bit more reliable.
2020-09-11 17:27:16 +02:00
Benjamin Valentin
d9116684e5 cpu/cortexm_common: advertise puf_sram feature
`puf_sram` is a feature of the linker script, it does not need vendor
specific hardware support.
2020-09-11 16:30:45 +02:00
benpicco
842933855f
Merge pull request #14995 from benpicco/cpu/cc2538-register
cc2538_rf: register with netdev
2020-09-11 16:03:08 +02:00
benpicco
d7edd8cb71
Merge pull request #14986 from benpicco/sys/luid-shuffle
sys/luid: shuffle bytes
2020-09-11 16:02:52 +02:00
Benjamin Valentin
a1a67265cd cc2538_rf: use prefix for global function name 2020-09-11 13:33:37 +02:00
Benjamin Valentin
ddb2f17cb2 boards: include cc2538_eui_primary.h in cc2538 boards 2020-09-11 13:33:37 +02:00
Benjamin Valentin
8ac3332cb6 cc2538_rf: add EUI provoder for primary EUI-64 2020-09-11 13:33:37 +02:00
Benjamin Valentin
1811686540 cc2538_rf: register with netdev 2020-09-11 13:33:37 +02:00
Benjamin Valentin
6675c5f5c0 cc2538_rf: pass address via pointer 2020-09-11 13:33:37 +02:00
Benjamin Valentin
28d1936fae sys/luid: shuffle bytes
The CPU ID can have large parts that are identical between devices.
To add some more entropy to the generated IDs, shuffle the bytes.
2020-09-11 13:01:31 +02:00
Francisco
858533e68e
Merge pull request #14994 from benpicco/nrf802154-register
nrf802154: register with netdev
2020-09-11 12:48:40 +02:00
23fb19ad8d
Merge pull request #15009 from fjmolinas/pr_pipe_null_deref
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 12:29:49 +02:00
b4cc7e99f0
Merge pull request #15008 from bergzand/pr/usbdev_mock/null_deref
usbdev_mock: fix possible null pointer dereference
2020-09-11 11:55:16 +02:00