048e8446ef
cpu/stm32f0: remove old clock configuration header
2020-12-17 08:38:40 +01:00
45c2b19f25
cpu/stm32: merge f0f1f3 clock configuration headers
2020-12-17 08:38:40 +01:00
Marian Buschsieweke
815fc9107f
Merge pull request #15647 from maribu/atomic_utils_unittests
...
tests/sys_atomic_utils_unittests: spice up test
2020-12-16 14:33:46 +01:00
Marian Buschsieweke
c015e64e8e
tests/sys_atomic_utils_unittests: spice up test
...
Initializing the state variables per loop with a value where some bits are set
and some are cleared makes much more sense. E.g. previously the bitwise and
applied on the state variable initialized with zero was unlikely to detect
implementation issues, as the state value never changed. So if the bitwise
and would be incorrectly implemented as a nop, it would have passed the unit
test.
2020-12-16 10:13:43 +01:00
ab477a94b0
Merge pull request #15635 from bergzand/pr/cortex_m0/pendsv_r12_clobber
...
cpu/cortexm_common: fix r12 clobber in pendsv for Cortex-M0
2020-12-15 22:58:25 +01:00
Kevin "Tristate Tom" Weiss
5a1dabc025
Merge pull request #15639 from dylad/pr/saml11/fix_iobus_gpio
...
cpu/saml11: fix GPIO/IOBUS management
2020-12-15 20:52:29 +01:00
benpicco
c25cb8467b
Merge pull request #15628 from ML-PA-Consulting-GmbH/feat/20201214__native_rtc_settime
...
cpu/native/rtc: add rtc_set_time implementation
2020-12-15 19:52:57 +01:00
Marian Buschsieweke
76630ee3cb
Merge pull request #15633 from benpicco/sys/base64-urlsafe_fix
...
sys/base64: drop padding for base64url encoding
2020-12-15 19:36:09 +01:00
dylad
e98459f414
cpu/saml11: fix GPIO/IOBUS management
2020-12-15 17:00:54 +01:00
benpicco
2b110e3248
Merge pull request #15597 from maribu/mutex-cxx
...
core/mutex: compatibility with non-C languages
2020-12-15 14:02:36 +01:00
8f1a42cbbf
cpu/cortexm_common: fix r12 clobber in pendsv for Cortex-M0
2020-12-15 13:16:02 +01:00
Martine Lenders
b0b1c251c0
Merge pull request #15603 from miri64/uhcp/fix/prefix-len
...
uhcp: check maximum for prefix length
2020-12-15 13:06:08 +01:00
Daniel Lockau
e7054b4f53
tests/periph_rtc: test clear alarm
2020-12-15 12:52:35 +01:00
Daniel Lockau
33afc0ddab
cpu/native/rtc: add rtc_set_time implementation
2020-12-15 12:52:35 +01:00
Dylan Laduranty
aec905d697
Merge pull request #15620 from benpicco/cpu/sam0_common/dac_startup
...
cpu/sam0_common: DAC: wait for DAC to be ready
2020-12-15 12:25:32 +01:00
Benjamin Valentin
48c33ae0a2
sys/base64: drop padding for base64url encoding
...
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Martine Lenders
99a55c4777
Merge pull request #15631 from maribu/architecture-min-max
...
sys/architecture: add UWORD_MIN, UWORD_MAX, SWORD_MIN, SWORD_MAX
2020-12-15 11:34:46 +01:00
Martine Lenders
44a94dd91e
uhcp: check maximum for prefix length
2020-12-15 10:42:40 +01:00
Marian Buschsieweke
80b43605d4
sys/architecture: add comment on pronunciation
2020-12-15 10:29:58 +01:00
José Alamos
4661948bd1
Merge pull request #15630 from benpicco/makefiles/pseudomodules.inc.mk-netdev_ieee802154_legacy
...
makefiles/pseudomodules.inc.mk: netdev_ieee802154_legacy is a pseudomodule
2020-12-15 10:27:31 +01:00
Marian Buschsieweke
d3bd3ff48c
tests/sys_architecture: also test UWORD_MAX, ...
...
Also verify correct values for UWORD_MAX, UWORD_MIN, SWORD_MAX, SWORD_MIN via
static_assert().
2020-12-15 10:13:52 +01:00
Marian Buschsieweke
3d9e7ca4d4
sys/architecture: Add UWORD_MIN, UWORD_MAX, ...
...
Allow accessing the highest and lowest number an uword_t and an sword_t can hold
via a preprocessor macro with a speaking name.
2020-12-15 10:13:47 +01:00
Benjamin Valentin
44acfc54cb
makefiles/pseudomodules.inc.mk: netdev_ieee802154_legacy is a pseudomodule
...
`netdev_ieee802154_legacy` is not a real module, don't add it to `NO_PSEUDOMODULES`.
2020-12-14 18:01:23 +01:00
Martine Lenders
41a844f323
Merge pull request #12648 from miri64/gnrc_sixlowpan_frag_sfr/feat/initial
...
gnrc_sixlowpan_frag: initial import of Selective Fragment Recovery
2020-12-14 14:32:04 +01:00
Martine Lenders
dae714ce81
Merge pull request #15627 from maribu/ztimer_xtimer_compat
...
sys/ztimer: fix xtimer_compat
2020-12-14 13:16:15 +01:00
Martine S. Lenders
e980405cbc
gnrc_sixlowpan_frag_sfr: provide statistics sub-module
2020-12-14 13:00:37 +01:00
Martine S. Lenders
ed4ac70887
tests: provide tests for gnrc_sixlowpan_frag_sfr
2020-12-14 13:00:36 +01:00
Martine S. Lenders
1cd1716280
gnrc_sixlowpan_frag: initial import of Selective Fragment Recovery
2020-12-14 13:00:36 +01:00
benpicco
145c863ed1
Merge pull request #15511 from firas-hamdi/feat/Add_flashwrite_revert
...
sys/riotboot/flashwrite: add functions to invalid slots
2020-12-14 11:08:49 +01:00
Marian Buschsieweke
2f7470b3fe
sys/ztimer: fix xtimer_compat
2020-12-14 10:46:51 +01:00
Martine S. Lenders
ec436e99d9
gnrc_sixlowpan_frag_rb: add handling for RFRAG packets
2020-12-14 10:17:57 +01:00
Firas Hamdi
d4c32caaaa
sys/riotboot: add revert and invalidate slot functions
...
Update the function description
update write function
refactor riotboot_flashwrite_invalidate function
minor changes
minor nitpicks
2020-12-14 09:33:56 +01:00
Martine S. Lenders
d393008b9f
gnrc_sixlowpan_frag_rb: externalize get_by_tag function
2020-12-14 09:30:04 +01:00
Martine S. Lenders
bd300a3cc0
gnrc_sixlowpan_frag_rb: add check function for empty interval pool
2020-12-14 09:30:04 +01:00
Martine S. Lenders
80ff517eba
gnrc_netif: 6lo.h: add flags to indicate SRF capability
2020-12-14 09:30:03 +01:00
Martine S. Lenders
82c4d263e8
gnrc_sixlowpan_config: rename SRF parameters for Kconfig
2020-12-14 09:30:03 +01:00
Martine S. Lenders
0af8a1600a
sixlowpan|gnrc_sixlowpan: change SFR draft to RFC in doc
2020-12-14 09:00:26 +01:00
Martine S. Lenders
27f4939211
gnrc_sixlowpan_frag_vrb: add reverse look-up
...
To label switch ACKs for fragments back to the originator, a reverse
look-up in the VRB is required.
2020-12-14 09:00:25 +01:00
Martine Lenders
581cc641ef
Merge pull request #15625 from miri64/riot_ctrl/doc/fix-class
...
riotctrl_shell.gnrc: fix documentation for GNRCICMPv6EchoParser.parse()
2020-12-14 08:46:26 +01:00
benpicco
770bda165a
Merge pull request #15571 from iosabi/drv_si1133
...
drivers/si1133: New SI1133 UV/IR/Ambient light driver
2020-12-14 08:41:00 +01:00
Martine Lenders
9b431f70d5
riotctrl_shell.gnrc: fix documentation for GNRCICMPv6EchoParser.parse()
...
This seems to be a copy-paste error. The `GNRCICMPv6EchoParser` parse
function parses of course the output of the `ping6` command, not the
`nib neigh show` command.
2020-12-14 08:23:24 +01:00
benpicco
5f7a7bc6f1
Merge pull request #15572 from dylad/pr/cpu/sam0/ethernet
...
cpu/sam0: add initial ethernet support
2020-12-14 08:17:01 +01:00
iosabi
ce76125a22
drivers/si1133: New SI1133 UV/IR/Ambient light driver
...
The SI1133 from Silicon Labs is a UV Index Sensor and Ambient Light
Sensor in a small 2x2 mm DFN package. The sensor can measure
independently ultra violet (UV) light, infra red (IR) light and
ambient light, however the ambient light is also influenced by the
IR light requiring compensation from the IR readings.
The SI1133 is quite different from other Silicon Labs chips in RIOT OS
and therefore needs its own driver. In particular, the SI1133 has 7
different photodiode configurations to read but only 6 channels to
read them in parallel so only some channels can be read each time.
This patch implements a new driver allowing to read the data directly
and a saul interface for the three kinds of light source. There are
many configuration options including interrupts and continous modes
that are left out of this initial driver.
2020-12-14 03:13:23 +00:00
benpicco
cc55d4c0a6
Merge pull request #15605 from maribu/ztimer_xtimer_compat
...
sys/ztimer: increase xtimer_compat coverage
2020-12-14 00:24:34 +01:00
dylad
c934d5dde3
kconfig: add PERIPH_ETH feature to samd5x
2020-12-13 22:30:54 +01:00
dylad
aa3a718656
examples: add same54-xpro to board provides netif group
2020-12-13 22:01:50 +01:00
dylad
5b7961b747
sys/net: add sam0 eth auto init
2020-12-13 22:01:50 +01:00
dylad
3937aff923
board/same54-xpro: add Ethernet configuration
2020-12-13 22:01:50 +01:00
dylad
a1f5b6182d
cpu/sam0: add initial Ethernet support
2020-12-13 22:01:50 +01:00
dylad
7cbaa3f890
net/netdev: create SAM0 Ethernet entry in netdev_type_t
2020-12-13 21:41:20 +01:00