Benjamin Valentin
45270dada0
cpu/fe310: blacklist picolibc on CI
...
The RISC-V toolchain in riotdocker has issues with picolibc and
will still include newlib headers.
This leads to conflicts like
```
In file included from [01m[Knanostubs.c:22[m[K:
[01m[K/usr/local/picolibc/riscv-none-embed/include/stdio.h:270:23:[m[K [01;31m[Kerror: [m[Kconflicting types for '[01m[K__FILE[m[K'
typedef struct __file [01;31m[K__FILE[m[K;
[01;31m[K^~~~~~[m[K
In file included from [01m[K/opt/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/riscv-none-embed/include/reent.h:93[m[K,
from [01m[Knanostubs.c:20[m[K:
[01m[K/opt/gnu-mcu-eclipse/riscv-none-gcc/8.2.0-2.2-20190521-0004/riscv-none-embed/include/sys/reent.h:287:26:[m[K [01;36m[Knote: [m[Kprevious declaration of '[01m[K__FILE[m[K' was here
typedef struct __sFILE [01;36m[K__FILE[m[K;
[01;36m[K^~~~~~[m[K
```
The problem does not occur when installing both the toolchain and picolibc
directly from the Debian / Ubuntu repositories, but CI uses an older Ubuntu
version that does not have those packages yet, so it builds them manually.
Blacklist RISC-V until CI has been updated.
2020-10-14 16:32:01 +02:00
Benjamin Valentin
ec6d8d04cc
examples/gnrc_minimal: don't use picolibc with LLVM
2020-09-16 11:41:16 +02:00
Benjamin Valentin
69dd791cbd
examples/gnrc_minimal: use picolibc
...
On `samr21-xpro` this saves 5624 bytes of ROM and 108 bytes of RAM.
2020-09-15 22:11:21 +02:00
Benjamin Valentin
cff8e862b8
picolibc: model as a feature
2020-09-15 22:11:21 +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
Francisco Molina
ee379eb535
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 11:19:58 +02:00
474cde6046
Merge pull request #15004 from kaspar030/ztimer_periodic_wakeup_32bit
...
ztimer: use uint32_t in ztimer_periodic_wakeup
2020-09-11 11:13:19 +02:00
3e9081ed01
usbdev_mock: fix possible null pointer dereference
2020-09-11 11:07:15 +02:00
6c2459057f
Merge pull request #14910 from OTAkeys/pr/thread_names
...
thread: Add THREAD_NAMES make flag
2020-09-11 10:54:10 +02:00
cc735805c8
Merge pull request #15005 from kaspar030/ztimer_spin
...
ztimer: add ztimer_spin()
2020-09-11 10:45:47 +02:00
fb7e285acd
ztimer: add ztimer_spin()
...
This adds a simple busy waiting function intended for blocking, but very
precise short delays.
2020-09-11 00:18:59 +02:00
benpicco
5715f5776b
Merge pull request #14804 from bergzand/pr/sam0/gpio_iobus
...
sam0_common: Use Single-cycle I/O Port for GPIO when available
2020-09-10 23:45:43 +02:00
ff1ea0bfb1
ztimer: use uint32_t in ztimer_periodic_wakeup
...
This ensures compatibility with xtimer_periodic_wakeup() in case
ztimer_now64 is used.
2020-09-10 23:39:48 +02:00
Dylan Laduranty
4db8a1f602
Merge pull request #14478 from benpicco/cpu/sam0/tc_pwm
...
cpu/sam0_common: add support to run PWM off TC timers
2020-09-10 23:04:58 +02:00
7ef69ae79b
tests/periph_gpio: Add fast_read feature as optional dependency
2020-09-10 22:13:25 +02:00
6007a31813
sam0: Add periph_gpio_fast_read feature where applicable
2020-09-10 22:13:25 +02:00
ddb22a3c56
sam0_common: Use Single-cycle I/O Port for GPIO when available
...
The Cortex-m0 based ATSAM devices can use the Single-cycle I/O Port for
GPIO. This commit modifies the gpio_t type to use this port when
available. It is mapped back to the peripheral memory space for
configuration access. When it is not available, the _port_iobus() and
_port() functions behave identical, which is the case for the samd51.
2020-09-10 22:13:24 +02:00
Benjamin Valentin
fc6d1f9122
boards/common/saml1x: enable PWM
...
The PWM for the on-board LED can only be used if xTimer is not sourced
from TC0_TC1.
2020-09-10 21:47:03 +02:00
Benjamin Valentin
0437461812
cpu/sam0_common: PWM: add support to run PWM off TC timers
2020-09-10 21:47:03 +02:00
5db55360cc
cortexm_common: Determine next thread before unscheduling
2020-09-10 20:42:55 +02:00
benpicco
f75ca11968
Merge pull request #14802 from jia200x/pr/nrf52840_radio_hal
...
nrf52840: implement Radio HAL
2020-09-10 18:07:51 +02:00
Jose Alamos
5ec4a7fad7
tests/ieee802154_hal: use netdev_default
2020-09-10 17:23:54 +02:00