iosabi
7e7b6e1cfe
Allow to define reserved fields in CortexM vector table.
...
The ARM CortexM vector table has some reserved fields which are used by
some manufacturers to store their custom image information. In
particular, NXP QN908X stores the checksum, Code Read Protection, image
type and boot block pointer in this region.
This patch allows the cpu and board modules to define the value of these
fields at build time by defining a macro.
2020-04-10 10:37:41 +00:00
Francisco Molina
7a39e2e875
tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0
2020-04-10 10:41:01 +02:00
Francisco Molina
8372286591
sys/crypto/modes/ccm: accept input_len=0
...
CCM may be used on messages with no plaintext data.
2020-04-10 10:41:01 +02:00
Martine S. Lenders
212fe15786
xtimer: set now pointer correctly in _update_short_timers() loop
...
This fixes `xtimer` to use `xtimer_now64()` instead of `xtimer_now()`
for updating the `*now` variable during the iteration in
`_update_short_timers()` function. The same function is used to
initialize `*now` in `_timer_callback()` below.
While using `xtimer_now()` in this iteration step does not hinder the
proper execution of all timers in the short term timers (for those the
`xtimer` module only looks at the `start_time` member, not the
`long_start_time` member) at least for the current long term time window
(I did not test higher cases), it sets the `long_start_time` member to 0
for all timers following in the list of timers after this iteration
step. However, external modules that rely on this to be correct,
e.g. evtimer [1], fail their calculations when trying to compare to
the current value to `xtimer_now64()`.
[1] https://github.com/RIOT-OS/RIOT/blob/11f3d68/sys/evtimer/evtimer.c#L118-L121
Co-Authored-By: Cenk Gündoğan <mail+dev@gundogan.net>
2020-04-10 00:02:33 +02:00
11f3d68887
Merge pull request #13847 from bergzand/pr/littlefs2/bump_2.2.1
...
littlefs2: bump to version 2.2.1
2020-04-09 16:14:40 +02:00
3625fa9b95
littlefs2: bump to version 2.2.1
2020-04-09 15:39:14 +02:00
benpicco
3b5067b5d0
Merge pull request #13845 from maribu/ws281x
...
drivers/ws281x: Fix dependencies & doc
2020-04-09 15:25:51 +02:00
Marian Buschsieweke
9efd47952e
drivers/ws281x: Extended doc
...
Point out that automatic backend selection is performed, when no backend is
selected.
2020-04-09 13:34:51 +02:00
Marian Buschsieweke
d3d2cdae8a
drivers/ws281x: Fix dependencies
...
arch_esp32 was missing in FEATURES_REQUIRED_ANY for the ws281x, resulting in
ESP32 boards incorrectly being reported as unsupported.
2020-04-09 13:30:18 +02:00
Marian Buschsieweke
4e60eb9dd5
Merge pull request #13843 from mtreffers/doc-fixes
...
Doc: fix typo and extend ws281x documentation
2020-04-09 13:21:45 +02:00
mtreffers
1ca28b8181
drivers/ws281x: fix documentation
...
extend ws281x documentation with usage for ESP32 and VT100
fix indendation
2020-04-09 10:22:39 +02:00
Marian Buschsieweke
c989205d8f
boards/msbiot: Use common stm32 serial/programmer settings
2020-04-09 09:57:45 +02:00
Francisco
3177784039
Merge pull request #13798 from jia200x/pr/at86rf2x_basic_mode
...
at86rf2xx: implement basic mode (v2)
2020-04-09 09:21:15 +02:00
Leandro Lanzieri
a06d9bbb66
Merge pull request #13315 from jia200x/pr/kconfig/ieee802154
...
ieee802154: Expose configurations to Kconfig
2020-04-08 19:34:55 +02:00
José Alamos
bb4e34cab4
Merge pull request #13314 from leandrolanzieri/pr/kconfig_migrate/drivers/mrf24j40
...
drivers/mrf24j40: Expose configurations to Kconfig
2020-04-08 19:29:13 +02:00
Jean Pierre Dudey
d4084d6df9
cc26xx_cc13xx: fix UART1 initialization
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-08 12:24:02 -05:00
Jose Alamos
ab5418ebab
at86rf2xx: report CRC error in basic mode
2020-04-08 19:14:45 +02:00
Jose Alamos
d4b0aff8cf
at86rf2xx: implement basic mode
2020-04-08 19:14:45 +02:00
Jose Alamos
69eb3c7fe2
at86rf2xx: add basic mode PHY state
2020-04-08 19:14:44 +02:00
9f78132c4b
Merge pull request #13715 from leandrolanzieri/pr/kconfig/add_cpu_board_common_symbols
...
Kconfig: Add CPU and Board common symbols
2020-04-08 19:12:34 +02:00
Jose Alamos
77325b4cde
ieee802154: add CONFIG_ prefix to config macros
2020-04-08 19:08:25 +02:00
Jose Alamos
c712b72400
makefiles/default-radio-settings: disable if Kconfig
...
If Kconfig is used for configuring default parameters of radios, this
logic has to be disabled in order to avoid collisions of config macros
2020-04-08 19:07:33 +02:00
Leandro Lanzieri
6e49724a66
drivers/Makefile.dep: Set CONFIG_MRF24J40_USE_EXT_PA_LNA if not Kconfig
...
For the mrf24j40 check if Kconfig is being used before setting the
configuration CFLAG.
2020-04-08 18:49:32 +02:00
Leandro Lanzieri
f89514e466
drivers/mrf24j40: Expose configurations to Kconfig
2020-04-08 18:49:31 +02:00
Leandro Lanzieri
ede9117a1e
drivers/mrf24j40: Turn MRF24J40_USE_EXT_PA_LNA into bool config
...
MRF24J40_USE_EXT_PA_LNA is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:30 +02:00
Leandro Lanzieri
655ce69903
drivers/mrf24j40: Turn MRF24J40_TEST_SPI_CONNECTION into bool config
...
MRF24J40_TEST_SPI_CONNECTION is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:27 +02:00
Jose Alamos
d33e44a85c
ieee802154: Expose configurations to Kconfig
2020-04-08 18:28:23 +02:00
Leandro Lanzieri
4433b9bc7a
tests/usbus_cdc_ecm: Check if USB parameters are set via Kconfig
...
This also avoids running Kconfig by default, given that there is a
Kconfig file in the application folder.
2020-04-08 18:15:09 +02:00
Leandro Lanzieri
89bea02702
examples/usbus_minimal: Do not run Kconfig by default
2020-04-08 17:37:06 +02:00
Leandro Lanzieri
c36f2ee077
cpu/Kconfig: Declare common CPU symbols
...
The symbols used to define a CPU are:
- CPU
- CPU_MODEL
- CPU_FAMILY
- CPU_ARCH
2020-04-08 17:37:06 +02:00
Leandro Lanzieri
08ace5a353
boards/Kconfig: Declare common board symbol
2020-04-08 17:37:06 +02:00
Leandro Lanzieri
9ebfcdaa10
Kconfig: Include BOARD and CPU Kconfig files if present
2020-04-08 17:37:05 +02:00
Leandro Lanzieri
4ae944bac2
makefiles/kconfig: Output out.config with generated configuration
...
'merged.config' may not always be present (e.g. when no files to merge
are present). In order to always have an up-to-date configuration file
'out.config' will be generated mirroring the content of 'autoconf.h'.
This is the file that the build system will include to read the current
configuration symbols.
2020-04-08 17:37:05 +02:00
benpicco
45afaa0faf
Merge pull request #13716 from benpicco/Makefile.features-cpu
...
Makefile.features: provide CPU as a feature
2020-04-08 16:43:29 +02:00
Leandro Lanzieri
dddeb54e7d
usbus/cdc/ecm: Expose configurations to Kconfig
2020-04-08 16:31:46 +02:00
Leandro Lanzieri
8b857844fc
usbus/cdc/ecm: Move USBUS_CDC_ECM_CONFIG_SPEED to 'CONFIG_'
2020-04-08 16:30:58 +02:00
Leandro Lanzieri
335b0ceb50
usbus/cdc/ecm: Move USBUS_CDC_ECM_CONFIG_SPEED_UPSTREAM to 'CONFIG_'
2020-04-08 16:27:04 +02:00
Leandro Lanzieri
88e50658f3
usbus/cdc/ecm: Move USBUS_CDC_ECM_CONFIG_SPEED_DOWNSTREAM to 'CONFIG_'
2020-04-08 16:24:59 +02:00
Leandro Lanzieri
037f746120
Merge pull request #13836 from miri64/tests/enh/gnrc_rpl_srh-asyncsniffer
...
gnrc_rpl_srh: use AsyncSniffer for sniffing
2020-04-08 15:56:47 +02:00
Dylan Laduranty
f9a4c509b1
Merge pull request #13797 from benpicco/cpu/samd21-pwm
...
cpu/samd21: pwm: allow to use channels > 3
2020-04-08 15:45:22 +02:00
Martine S. Lenders
bb947f750a
gnrc_rpl_srh: use AsyncSniffer for sniffing
...
The sniffer in `tests/gnrc_rpl_srh` always had stability issues, since
it uses some badly synchronized threading of mine. Since v2.4.3 scapy
has its own [asynchronous sniffer] (which is already used in
`tests/gnrc_dhcpv6_client_6lbr`), so I ported my sniffer implementation
to use that instead.
[asynchronous sniffer]: https://scapy.readthedocs.io/en/latest/usage.html#asynchronous-sniffing
2020-04-08 15:36:34 +02:00
Benjamin Valentin
4d90a9c6b5
cpu/samd21: pwm: fix GCLK_ID & APBCMASK calculation
...
GCLK_ID and APBCMASK entries are not always uniform.
The previous hack would already break for TCC3.
Just explosively write down the cases, there are only 5 at most.
2020-04-08 15:24:05 +02:00
benpicco
ecd266f3d3
Merge pull request #13801 from miri64/tools/fix/start_network-interface-init
...
dist/tools/*/start_network.sh: ensure TUN/TAP interface
2020-04-08 12:51:03 +02:00
Martine Lenders
6ef0bf9410
Merge pull request #13835 from miri64/tests/fix/gnrc_netif_single
...
tests: fix for `GNRC_NETIF_SINGLE`
2020-04-08 12:03:55 +02:00
Martine S. Lenders
9bf0a2253a
tests/gnrc_sock_dns: set GNRC_NETIF_SINGLE
2020-04-08 11:11:41 +02:00
a5cf43da09
Merge pull request #13800 from benpicco/pkg/littlefs2-2.2
...
pkg/littlefs2: bump version to 2.2
2020-04-08 10:53:33 +02:00
14706d7423
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net/nanocoap
...
net/nanocoap: Expose configurations to Kconfig
2020-04-08 10:51:54 +02:00
Leandro Lanzieri
1f24698a2a
Merge pull request #13792 from benpicco/pkg/nanopb-fixes
...
pkg/nanopb: fix for proto files with includes
2020-04-08 10:37:20 +02:00
Francisco
3b423a959d
Merge pull request #13194 from aabadie/pr/board/arduino-nano-33-ble
...
board/arduino-nano-33-ble: add initial support
2020-04-08 10:26:06 +02:00
Benjamin Valentin
7227b00b97
pkg/nanopb: extend the documentation
2020-04-08 10:18:56 +02:00