Kees Bakker
58bf725450
Merge pull request #14216 from keestux/relax-tests-uart-non-blocking
...
tests/periph_uart_nonblocking: relax time requirement a bit
2020-06-08 16:32:19 +02:00
Jean Pierre Dudey
e9a2dcd1e0
cpu/cc26x2_cc13x2: model features in Kconfig
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-08 08:23:45 -05:00
Jean Pierre Dudey
d9580514a3
cpu/cc26xx_cc13xx: model features in Kconfig
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-08 08:23:45 -05:00
7dd7a995e3
sys/auto_init/can: use shared auto_init makefile
2020-06-08 12:07:20 +02:00
45a862226e
sys/auto_init: remove useless #ifdef
2020-06-08 12:03:09 +02:00
Kees Bakker
bbd7c435c7
tests/thread_flood: use sched_num_threads to know the first thread ID
...
Before there were only two: "main" and "idle". But now there can also be
a thread for "usbus". The code will now use sched_num_threads and it
subtracts that number from MAXTHREADS.
This resolves issue #14180
2020-06-08 11:22:04 +02:00
Kees Bakker
d23afdda92
Merge pull request #14218 from keestux/add-sodaq-missing-xtimer_dev
...
boards/common/sodaq: add XTIMER_DEV and make it equal to other SAMD21
2020-06-08 11:20:23 +02:00
f585b53d03
drivers/saul/auto_init: remove useless preprocessor directives
...
The files are now built only when the corresponding module is used
2020-06-08 11:10:48 +02:00
e9a23325e1
drivers/saul/init_devs: only build files when related module is used
2020-06-08 11:10:39 +02:00
984c8eed49
drivers/saul: rename some auto_init files
...
In order to name them the same as the module they are related to
2020-06-08 11:10:39 +02:00
821eb5bc76
sys/net/auto_init: remove useless preprocessor directives
...
The files are now built only when the corresponding module is used
2020-06-08 11:10:39 +02:00
29c5c54fe2
sys/net/auto_init: only build files when related module is used
2020-06-08 11:10:22 +02:00
3fe35e755c
sys/net/auto_init: rename cdcecm source file
...
Use a name that corresponds to the related module name
2020-06-08 10:27:35 +02:00
b82c1e8707
makefiles: add common makefile for auto_init modules
2020-06-08 10:27:35 +02:00
Jean Pierre Dudey
60385d2c24
net/gnrc/netif: limit 6lo frag size
...
The 6Lo network interfaces can only support a max_frag_size of
SIXLOWPAN_FRAG_MAX_LEN (2047 bytes) as the length field is only 11-bits.
This limits the max_frag_size in the case that the L2-PDU is higher than
that.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-07 15:43:33 -05:00
Kees Bakker
723fe93850
boards/common/sodaq: add XTIMER_DEV and make it equal to other SAMD21
...
For some reason this was looked over a while back.
This resolves issue #14217
2020-06-07 22:25:30 +02:00
b3620b35b8
pkg/lwip: add support for nrf802154
2020-06-07 21:24:14 +02:00
Kees Bakker
de31aadf0d
tests/periph_uart_nonblocking: relax time requirement a bit
...
With SAMD21 + CDC ACM the test reports
== printed in 2103454/2100000 µs ==
Which failed to match the requirement of <1.0015.
This commit relaxes the requirement to <1.002
2020-06-07 16:48:55 +02:00
benpicco
d69ef1367b
Merge pull request #14215 from keestux/fix-issue-14184
...
usbus/cdc/acm: correct return expression of stdio_write
2020-06-07 15:54:08 +02:00
Kees Bakker
173098db9e
usbus/cdc/acm: correct return expression of stdio_write
...
This resolves issue #14184
2020-06-07 11:53:19 +02:00
Benjamin Valentin
43585804b7
tests/stm32_bootloader: add test for STM32 bootloader mode
2020-06-05 18:41:06 +02:00
Benjamin Valentin
0819f0eb39
cpu/stm32: implement reset to bootloader
...
The STM32 line of microcontrollers comes with a bootloader in the ROM.
It provides the option to flash the device firmware in DFU mode (USB)
or via UART or SPI.
To enter the bootloader we have to jump to a specific address in memory,
but before reset the CPU to make sure the system is in a known state.
This enables us to use the usb_board_reset module on all STM32 platforms.
2020-06-05 18:41:06 +02:00
benpicco
cb11b2d33f
Merge pull request #14198 from maribu/wemos-zero
...
boards: Add support for the wemos-zero board
2020-06-05 17:55:43 +02:00
Marian Buschsieweke
19bfb086ad
examples/lua_REPL: Add wemos-zero to Makefile.ci
2020-06-05 17:20:18 +02:00
Marian Buschsieweke
8ae3e5c29f
tests/bench_xtimer: Add wemos-zero, serpente to LOW_MEMORY_BOARDS
2020-06-05 17:19:50 +02:00
Jean Pierre Dudey
fea44e8b35
cpu/cortexm_common: add HAS_CORTEX_MPU feature
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 22:16:43 -05:00
Ken Bannister
f8dfa52b2d
Merge pull request #14075 from mjurczak/bugfix/nanocoap-token-overflow
...
nanocoap: bugfix token overflow
2020-06-04 22:01:18 -04:00
Jean Pierre Dudey
283aacbecd
boards/cc26x2_cc13x2-based: move config to common
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 17:12:52 -05:00
Jean Pierre Dudey
c0f6b3d58a
tools/uniflash.inc.mk: allow changing config dir
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 17:12:19 -05:00
Marian Buschsieweke
b44ac93558
boards/serpente: Deduplicate serial/programmer handling
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
17b890c16e
boards/{arduino,wemos}-zero: Dedpulicated code
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
98824df68b
makefiles/boards/sam0.inc.mk: Allow other programmers
...
Modified to allow including sam0.inc.mk even if none of the programmers handled
their is used. This is useful for boards that by default are programmed via a
bootloader. Still including sam0.inc.mk allows users to specify the `PROGRAMMER`
to use jlink, openocd, or edgb instead of the bootloader.
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
8b9a98233e
boards: Add support for the WeMos-Zero
...
This is an Arduino Zero clone without the embedded debugger. Thus, it will be
flashed by default using the U2F bootloader and uses by default USB CDC ACM for
STDIO.
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
de189a33f4
boards/arduino-zero: Factor out common code
2020-06-04 21:28:17 +02:00
e32c772eb4
Merge pull request #14202 from leandrolanzieri/pr/tests/kconfig_features_fix_target_deps
...
tests/kconfig_features: Fix target dependencies
2020-06-04 15:56:26 +02:00
Leandro Lanzieri
f708571617
tests/kconfig_features: Add out.config as dependency for features check
2020-06-04 15:31:40 +02:00
Leandro Lanzieri
5ba7ef6d6f
dist/tools/kconfiglib: Add remove command to delete files
...
The 'remove' target removes the downloaded files from the tool.
2020-06-04 15:31:40 +02:00
9210017a52
tests: rename tests/trace -> tests/backtrace
2020-06-04 14:37:41 +02:00
49375e1e10
cpu/native: rename trace -> backtrace
2020-06-04 14:37:01 +02:00
benpicco
f08a00312b
Merge pull request #14194 from ThxAndBye/master
...
drivers/lis3dh: fix mask in lis3dh_set_aux_adc()
2020-06-04 13:12:22 +02:00
Marian Buschsieweke
fc91e8019e
Merge pull request #12778 from benpicco/boards_WeAct-f411ce
...
boards: add WeAct-f411ce
2020-06-04 13:06:25 +02:00
Benjamin Valentin
b20ec93991
boards: add WeAct-f411ce board
...
The WeAct-F411CE is a blackpill-like board with a STM32F411CE.
It can be flashed using the vendor-provided bootloader.
2020-06-04 12:39:14 +02:00
Marian Buschsieweke
5eeb0725e0
boards/arduino-zero: Fix units & alignment in doc
2020-06-04 11:24:26 +02:00
Marian Buschsieweke
1408f29aa4
boards/airfy-beacon: Fix units & alignment in doc
2020-06-04 11:24:25 +02:00
benpicco
0290064044
Merge pull request #14199 from maribu/at86rf215-cleanup
...
drivers/at86rf215: Fix documentation
2020-06-04 10:10:35 +02:00
Marian Buschsieweke
b2b8639e19
boards/6lowpan-clicker: Fix units in doc
2020-06-04 09:31:59 +02:00
Marian Buschsieweke
7862baf348
drivers/at86rf215: Fix documentation
...
- Balance Doxygen groups
- Move drivers_at86rf215_oqpsk into drivers_at86rf215
2020-06-03 21:09:50 +02:00
Marian Buschsieweke
6a4e61f8c4
Merge pull request #14196 from benpicco/sc_bootloader
...
shell_commands: provide command to reboot to bootloader
2020-06-03 20:21:07 +02:00
Leandro Lanzieri
d6bdd69514
Merge pull request #14154 from akshaim/Kconfig_doc
...
doc/kconfig.md : Update documentation
2020-06-03 16:48:54 +02:00
benpicco
3a1ee4983c
Merge pull request #14010 from benpicco/at86rf215-mr-ofdm
...
drivers/at86rf215: implement MR-OFDM
2020-06-03 16:39:04 +02:00