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

26468 Commits

Author SHA1 Message Date
benpicco
88f9d5870d
Merge pull request #13029 from jue89/feature/dose-optional-set-addr
drivers/dose: add setter for MAC address
2020-01-23 12:57:05 +01:00
c260d0466e
Merge pull request #13188 from smlng/pkg_mp_bump
pkg/micropython: bump version for FreeBSD fix
2020-01-23 12:49:56 +01:00
Sebastian Meiling
999f895672 pkg/micropython: bump version for FreeBSD fix 2020-01-23 11:58:59 +01:00
Marian Buschsieweke
f58b82bd39
Merge pull request #13163 from gschorcht/board/mega-xplained/fix_adc_lines
boards/mega-xplained: fix ADC line defintions
2020-01-23 11:34:38 +01:00
MichelRottleuthner
0950e018e8
Merge pull request #13185 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_fix_2
xtimer/xtimer.c:_mutex_timeout() improved
2020-01-23 10:47:05 +01:00
309995513e
Merge pull request #13181 from fjmolinas/pr_efm32_series1_rtc_normalize
cpu/efm32/periph/rtc_series1: normalize time
2020-01-22 19:07:13 +01:00
JulianHolzwarth
70923d0c1b xtimer/xtimer.c:_mutex_timeout() improved
no longer into the "if" when the mutex is free
2020-01-22 18:40:29 +01:00
65f0391b1e
Merge pull request #13184 from nmeum/pr/ssp_feature
Add CPU feature for stack smash protections
2020-01-22 16:47:08 +01:00
Sören Tempel
5ef5ab7e4b Add CPU feature for stack smash protections 2020-01-22 15:59:02 +01:00
Francisco
85984553c8
Merge pull request #13182 from kaspar030/fix_xtimer_now_irqdisable
sys/xtimer: _xtimer_now64(): fix irq_disable() return value type
2020-01-22 13:27:16 +01:00
885bb84ce5 sys/xtimer: _xtimer_now64(): fix irq_disable() return value type 2020-01-22 12:46:17 +01:00
Francisco Molina
e700a78cd3 cpu/efm32/periph/rtc_series1: normalize time 2020-01-22 10:03:49 +01:00
Peter Kietzmann
eb74811000
Merge pull request #13145 from jia200x/pr/nrf52_cca
nRF802154: implement CCA
2020-01-21 13:38:17 +01:00
Marian Buschsieweke
dbb9fd0db9
Merge pull request #13137 from PeterKietzmann/pr_puf_opt_softreset
sys/puf_sram: counter based seed after soft reset
2020-01-21 13:20:11 +01:00
Jose Alamos
709c1aac30 Kconfig: Expose NRF802154 configurations 2020-01-21 11:29:00 +01:00
Jose Alamos
f652564eb1 nrf802154: implement CCA 2020-01-21 11:06:20 +01:00
Jose Alamos
09c79f07e7 nrf802154: use correct ED_RSSIOFFS sign 2020-01-21 11:06:20 +01:00
f2329252b8
Merge pull request #13159 from jeandudey/2020_01_17-ccs-base
makefiles: tools: fix DEBUGSERVER value for uniflash.inc.mk
2020-01-21 07:58:04 +01:00
9ac5ab8bcd
Merge pull request #13172 from fjmolinas/pr_suit_docker
examples/suit_update: allways build slot bin files
2020-01-20 20:58:03 +01:00
8509e1e213
Merge pull request #13119 from nmeum/pr/ssp_random_canary
sys/spp: randomize canary value on each build
2020-01-20 20:56:16 +01:00
Francisco Molina
30895d0165 examples/suit_update: allways build slot bin files 2020-01-20 18:08:42 +01:00
Leandro Lanzieri
881f17a816
Merge pull request #13123 from PeterKietzmann/pr_kconf_6lo
Kconfig: Expose gnrc/sixlowpan configurations
2020-01-20 17:41:52 +01:00
4aacbce477
Merge pull request #13165 from jeandudey/2020_01_19-cc1315-launchpad-fixes
boards/cc1352-launchpad: add periph_gpio_irq feature.
2020-01-20 15:42:26 +01:00
Martine Lenders
9999cec199
Merge pull request #13170 from miri64/gnrc_nettype/clean/iovec
gnrc_nettype: deprecate IOVEC type
2020-01-20 15:19:29 +01:00
Sören Tempel
dbd5b4a402 sys/ssp: use a random value as the canary
This implements the randomization of canary values on each build as
mentioned in the comment above the STACK_CHK_GUARD macro. The canary
value is generated by the buildsystem and passed to the ssp module using
a `-D` compiler flag. The ssp object file, using this canary value, is
marked as PHONY to make sure it is rebuild on each make invocation,
thereby ensuring that each build uses a new random canary value.

Implementing this properly would require generating a cryptographically
secure random value on each boot of the RIOT operating system. This is
not deemed possible on some constrained devices, e.g. due to lack of
hardware random number generators. Besides, RIOT only seems to support a
PRNG (random module) currently. While this may be implemented in the
future for some devices the changes implemented in this commit may still
be used as a fallback then.

A hardcoded canary value is used when building software on the CI to not
break the CI test cache [1].

[1]: https://github.com/RIOT-OS/RIOT/pull/13119#issuecomment-574132932
2020-01-20 14:51:26 +01:00
Sören Tempel
1e52ac21e4 tools: add tool for generating random hexadecimal values
This tool generates a random hexadecimal value of a given maximum size.
This is useful for generating random canary values during compile-time
for the ssp module which currently uses a constant value.
2020-01-20 14:51:26 +01:00
Jean Pierre Dudey
894a868851
uniflash.inc.mk: add CCS_PATH variable.
This is used now to set the `DEBUGSSERVER` as the `gdb_agent_console`
file was removed from UniFlash.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:14:52 -05:00
PeterKietzmann
ecc7ee8255 tests/puf_sram: disable interactive sync 2020-01-20 14:14:25 +01:00
PeterKietzmann
9dd3219c3f sys/puf_sram: counter based reseed after soft reset 2020-01-20 14:14:09 +01:00
Jean Pierre Dudey
727dd05840
uniflash.inc.mk: remove export from UNIFLASH_PATH
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:11:46 -05:00
Jean Pierre Dudey
f96fc62369
cc1352-launchpad: fix documentation errors.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:05:52 -05:00
Jean Pierre Dudey
cc170e9987
cc1352-launchpad: remove export from XDEBUGGER
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:54 -05:00
Jean Pierre Dudey
a6117ff0a2
cc1352-launchpad: enable periph_gpio_irq.
This feature is supported by the processor.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:02 -05:00
Martine S. Lenders
744f078b3a
gnrc_nettype: deprecate iovec type
It is unused since 9fb2f541ba and not
expected to be re-used in the future.
2020-01-20 13:39:24 +01:00
Francisco
9a568927e4
Merge pull request #13156 from miri64/gnrc_ipv6_frag_ext/fix/rm-nth-fh-on-1st-loss
gnrc_ipv6_ext_frag: remove fragment header when n-th fragment is first
2020-01-20 09:57:25 +01:00
696071de09
Merge pull request #13167 from fjmolinas/pr_disable_sync
tests/Makefile.tests_common: interactive_sync only with testrunner
2020-01-20 09:45:16 +01:00
97cb4c5707
Merge pull request #13134 from jeandudey/2020_01_15-cc1312-launchpad
boards: add cc1312-launchpad board.
2020-01-20 07:39:38 +01:00
Francisco Molina
33da57eac1 tests/Makefile.tests_common: interactive_sync only with testrunner 2020-01-19 20:38:39 +01:00
Jean Pierre Dudey
633aa8cd41
boards: add cc1312-launchpad board.
This is mostly based on the cc1352-launchpad boards, is essentially the same
buttons and leds pins, what changes is the CCXML files used to flash with
`make flash` and the UART pins.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-19 11:36:31 -05:00
f635bd5346
Merge pull request #13164 from gschorcht/tests/pkg_semtech_loramac_fix
tests/pkg_semtech_loramac: fix i-nucleo-lrwan1 board name
2020-01-19 15:54:06 +01:00
Gunar Schorcht
15b7f64db3 tests/pkg_semtech_loramac: fix i-nucleo-lrwan1 board name
Fixes i-nucleo-lrwan1 board name in the BOARD_WITHOUT_LORAMAC_RX which disables the RX function of pkg/semtech_loramac and saves 1302 bytes RAM and about 2 kByte of code.
2020-01-19 15:11:31 +01:00
0703449c0f
Merge pull request #13162 from bergzand/pr/pinetime/fix_adc
pinetime: Fix battery ADC line define
2020-01-18 16:59:51 +01:00
Gunar Schorcht
f53534ed44 boards/mega-xplained: fix ADC line defintions
For the ATmega platform the ADC lines are not defined according to the GPIOs. Instead, they are defined from 0 to ADC_NUMOF-1, which in turn represents the bit in the corresponding ADC registers.  The mapping from the line number to the corresponding ADC register/bit combination is done implicitly by the periph/adc implementation.
2020-01-18 13:19:11 +01:00
9ae80f56d1
pinetime: Fix battery ADC line define 2020-01-18 11:15:04 +01:00
Martine S. Lenders
28ef3b6b0b
gnrc_ipv6_ext_frag: remove fragment header when n-th fragment is first
The reassembly buffer only needs (and stores) the headers *before* the
fragment header (called per-fragment headers in RFC 8200, section 4.5).
Currently, when a subsequent IPv6 fragment is received before the first
fragment the fragment header is however not removed. With this fix it
does.
2020-01-17 18:54:37 +01:00
PeterKietzmann
df7a5d6df8 net/gnrc/sixlowpan/frag/rb:Move not override to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
55282a1b1d net/gnrc/sixlowpan/frag/vrb:Move timeout macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
cc6bee4986 net/gnrc/sixlowpan/frag/vrb:Move size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
a3f349c991 net/gnrc/sixlowpan/nd: remove duplicate definition 2020-01-17 18:09:19 +01:00
PeterKietzmann
7d2c9ef418 net/gnrc/sixlowpan/nd:Move ND time macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00