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

31608 Commits

Author SHA1 Message Date
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
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
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
Jose Alamos
d523ae35a4 tests/ieee802154_hal: add nrf802154 2020-09-10 17:01:14 +02:00
Jose Alamos
377560f5cc nrf52840: add radio hal implementation 2020-09-10 17:01:14 +02:00
Jose Alamos
c74ee68674 net/ieee802154.h: add IFS constants 2020-09-10 17:01:13 +02:00
benpicco
8a2080ab91
Merge pull request #14997 from jia200x/pr/hal/reg_retention
ieee802154_hal: add cap for register retention during `off`
2020-09-10 14:53:10 +02:00
Jose Alamos
4944d136c2 ieee802154_hal: add cap for register retention during off 2020-09-10 14:07:49 +02:00
Jose Alamos
4db4d44304 ieee802154_hal: remove misplaced note 2020-09-10 13:42:20 +02:00
42f2fbef71
Merge pull request #14905 from fjmolinas/pr_openwsn_riot_sched
pkg/openwsn: add riot based openwsn scheduler
2020-09-10 13:23:12 +02:00
Jim O'Brien
bd149e7db9 thread: Add THREAD_NAMES make flag
Separate thread names from DEVELHELP so thread names can be
enabled in non-development/debug builds when required/desired.
THREAD_NAMES will be enabled by default then DEVELHELP is set to 1.
2020-09-10 10:08:27 +02:00
Francisco Molina
19494a4db3
pkg/openwsn: add riot based openwsn scheduler 2020-09-10 09:37:43 +02:00
Cenk Gündoğan
0d0bc91553
Merge pull request #14754 from leandrolanzieri/pr/no_archives
build system: link object files
2020-09-10 09:36:29 +02:00
Francisco Molina
006cdeb37e
pkg/openwsn: bump version 2020-09-10 08:58:31 +02:00
Benjamin Valentin
58dc106309 nrf802154: register with netdev 2020-09-10 00:05:25 +02:00
benpicco
be3667bfdd
Merge pull request #14678 from dylad/cpu/saml1x/rtt-init-fix
cpu/saml1x: fix RTT issue in init process
2020-09-09 22:47:51 +02:00
Dylan Laduranty
35536233f9 cpu/saml1x: fix RTT issue in init process
RTT module may get stuck during the init process if the RTC was running from
a previous boot. Unsure we don't remove the peripheral clock during the CPU
init if RTC is active from a previous boot and add a workaround to disable
this module as it will be re-init at some point later by the auto_init module
or by the user's application.
2020-09-09 21:27:48 +02:00
benpicco
2ba037ad4a
Merge pull request #14977 from benpicco/CLOCK_CORECLOCK
always define CLOCK_CORECLOCK
2020-09-09 21:25:53 +02:00
benpicco
4a1c33c323
Merge pull request #14993 from benpicco/driver/mtd-fix_erase
mtd: fix return in mtd_erase()
2020-09-09 21:23:35 +02:00
Benjamin Valentin
90751bcec1 mtd: fix return in mtd_erase()
If `.erase` is implemented we must return, not execute the
fallback code path

fixes #14988
2020-09-09 19:38:40 +02:00
5516b3d6c7
Merge pull request #14990 from MrKevinWeiss/pr/fix/lpcuart
cpu/lpc1768: Fix uart initialization
2020-09-09 18:09:33 +02:00
MrKevinWeiss
966527d168 cpu/lpc1768: Fix uart initialization
The pinsel_shift should be multiplied by 2 as each bitfield is 2 bits
2020-09-09 17:44:25 +02:00
benpicco
7bd933f1ce
Merge pull request #14991 from leandrolanzieri/pr/cpu/native/fix_rtc_dependency
cpu/native: pull xtimer when RTC is used
2020-09-09 17:43:49 +02:00
benpicco
84e36e6fcc
Merge pull request #14985 from jia200x/pr/hal/cc2538_rf/fix_style_issues
cc2538_rf_hal: fix style issues
2020-09-09 17:41:02 +02:00
Benjamin Valentin
3931250791 boards/seeeduino_arch-pro: define CLOCK_CORECLOCK 2020-09-09 17:04:59 +02:00