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

29579 Commits

Author SHA1 Message Date
29739be13a
stm32/spi: Use new DMA setup/prepare functions 2020-06-09 10:20:50 +02:00
b7d0cbcd57
stm32/spi: Remove superfluous DMA stop call
The DMA stream will automatically disable itself as soon as the transfer
is finished. No need to do this an additional time after the transfer is
finished
2020-06-09 10:20:49 +02:00
fddf0897e8
stm32/spi: Acquire/release the DMA during the SPI acquire/release 2020-06-09 10:20:49 +02:00
3a8dd32265
stm32/spi: Reduce register writes in hot path
This combines a number of register writes in the SPI
acquire and transfer code. The DMA enable for SPI is moved to the
acquire function, switching between DMA and regular transfer between
acquires is not possible.
2020-06-09 10:20:49 +02:00
11ee5ff2cf
stdio_semihosting: Add shell-based test application 2020-06-09 10:15:49 +02:00
99ca736b53
stdio_semihosting: Initial include of Semihosting-based STDIO 2020-06-09 10:15:49 +02:00
aff18b9599
tools/openocd: add OPENOCD_DBG_EXTRA_CMD 2020-06-09 10:14:57 +02:00
Akshai M
27e0d7cf11 gnrc/pktdump : Add 'CONFIG_' & expose to Kconfig
Introduced 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to hold exponent
value and made GNRC_PKTDUMP_MSG_QUEUE_SIZE dependant on
GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP.

Moved 'GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP' to 'CONFIG_' namespace.

Exposed configurations to Kconfig

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-09 13:31:29 +05:30
Akshai M
6b0f822783 gnrc/pktdump : Update documentation
Add compile configuration 'GNRC_PKTDUMP_MSG_QUEUE_SIZE' to
'net_gnrc_conf' group
2020-06-09 13:31:29 +05:30
Thomas Stilwell
bbdba4dad1 sys/shell/commands: alias ping=ping6 2020-06-08 23:07:45 -05:00
PeterKietzmann
852c58b82b sys/hashes/sha256: extract common code 2020-06-08 23:12:11 +02:00
3e39eb851b
Merge pull request #14181 from keestux/fix-test-thread-flood
tests/thread_flood: account for all threads already in use
2020-06-08 17:18:06 +02:00
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