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

31655 Commits

Author SHA1 Message Date
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
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
Benjamin Valentin
64cbc44d52 boards/mbed_lpc1768: define CLOCK_CORECLOCK 2020-09-09 17:04:59 +02:00
Leandro Lanzieri
24d2578606
cpu/native: pull xtimer when RTC is used 2020-09-09 16:59:18 +02:00
Benjamin Valentin
7d29d85ddd cpu/efm32: define CLOCK_CORECLOCK 2020-09-09 16:44:12 +02:00
Benjamin Valentin
9fe1c6d0e1 boards/ek-lm4f120xl: define CLOCK_CORECLOCK 2020-09-09 16:44:12 +02:00
benpicco
21fbf62e4e
Merge pull request #14989 from aabadie/pr/cpu/stm32l4wb_apbx_div2_fix
cpu/stm32l4wb: fix APBx bitfields for divider factor 2
2020-09-09 16:42:57 +02:00
4e235b8e76
cpu/stm32l4wb: fix APBx bitfields for divider factor 2 2020-09-09 15:59:38 +02:00
Leandro Lanzieri
7d680046c6
Merge pull request #14896 from aabadie/pr/boards/hifive_clock_cleanup
boards/hifive*: improve clock configuration and initialization
2020-09-09 15:40:22 +02:00
cdbb3e025a
cpu/fe310: boards/hifive1*: use IS_ACTIVE where possible 2020-09-09 14:14:39 +02:00
ace160a2a3
boards/hifive1: use MHZ utility macro for clock frequency 2020-09-09 14:14:39 +02:00
c190426a0e
boards/hifive1*: fix clock configuration 2020-09-09 14:14:39 +02:00