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

26509 Commits

Author SHA1 Message Date
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
Jean Pierre Dudey
a73f3809cc
cpu/cc13x2: rename cc13x2 cpu to cc26x2_cc13x2
The CC26x2 and CC13x2 share the same register definitions, and both are
treated equally in the TI's technical reference manual. [1]

- To avoid confusions in the future I renamed it to `cc26x2_cc13x2`.
- Documentation was updated.
- The `cc1312-launchpad` board that uses the `cc13x2` MCU was updated.
- The `cc1352-launchpad` board that uses the `cc13x2` MCU was updated.

[1]: https://www.ti.com/lit/ug/swcu185d/swcu185d.pdf

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 09:31:48 -05: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
Francisco Molina
8cba8bdb16 makefiles/tools/openocd-adapters: add iotlab-usb 2020-01-19 20:24:55 +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
PeterKietzmann
582779a7a0 net/gnrc/sixlowpan/frag/rb:Move del. timer macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
811facfa15 net/gnrc/sixlowpan/frag/rb:Move timeout macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
9389d5b90f net/gnrc/sixlowpan/frag/rb:Move size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
89af238eec net/gnrc/sixlowpan/frag/fb:Move size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
b5ea3122e7 net/gnrc/sixlowpan:Move queue size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
de99b99b35 Kconfig: Expose gnrc/sixlowpan configurations 2020-01-17 18:09:14 +01:00
Peter Kietzmann
cf5356df24
Merge pull request #13040 from leandrolanzieri/pr/doc/kconfig_in_riot
doc: Add Kconfig section
2020-01-17 13:13:51 +01:00
benpicco
24559ed3ea
Merge pull request #13142 from gschorcht/cpu/esp32/fix_compilation_esp_gdb
cpu/esp32: fix compilation when esp_gdb is enabled
2020-01-17 13:07:48 +01:00
Leandro Lanzieri
56240bf071
Merge pull request #13147 from jia200x/pr/kconfig_drivers
Kconfig: add Drivers menu
2020-01-17 11:43:08 +01:00