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

29350 Commits

Author SHA1 Message Date
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
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
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
benpicco
0290064044
Merge pull request #14199 from maribu/at86rf215-cleanup
drivers/at86rf215: Fix documentation
2020-06-04 10:10:35 +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
Akshai M
879263c1d2 doc/kconfig.md : Added Appendix D
Added a new section, Appendix D, to describe a few key aspects
while exposing a macro to Kconfig.

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-03 20:04:38 +05:30
a770bf0f89
Merge pull request #13530 from benpicco/core/util
sys: add units.h for helper macros
2020-06-03 16:24:04 +02:00
Benjamin Valentin
036d2e2d81 shell_commands: provide command to reboot to bootloader
Make the triggering of the bootloader available as a shell command.
2020-06-03 16:10:31 +02:00
Benjamin Valentin
8e83584f1c core/include: add macros for common units
I got tired of counting zeros in frequency defines, so add a few
helper macros to make defining frequency and sizes easier.
2020-06-03 16:00:19 +02:00
Benjamin Valentin
164e239160 at86rf215: remove obsolete at86rf215_switch_mode() 2020-06-03 15:58:50 +02:00
Benjamin Valentin
8a63ca5088 tests/driver_at86rf215: update Makefile.ci
With the added features, the driver doesn't fit onto those
ATmega boards anymore.
2020-06-03 15:58:50 +02:00
Benjamin Valentin
cc5fbdf9f8 drivers/at86rf215: implement MR-OFDM 2020-06-03 15:58:50 +02:00
Benjamin Valentin
25a34a1897 ieee802154: add definitions & config options for MR-OFDM
Define options for IEEE 802.15.4g MR-OFDM as well as shell commands
to set them via ifconfig.
2020-06-03 15:58:50 +02:00
benpicco
daae5a1f51
Merge pull request #14192 from maribu/gitignore-vim
.gitignore: Ignore temporary vim files
2020-06-03 13:32:03 +02:00
Thx And Bye
9cd31ce17d drivers/lis3dh: fix mask in lis3dh_set_aux_adc() 2020-06-03 12:09:40 +02:00
Marian Buschsieweke
00620e90db
.gitignore: Ignore temporary vim files 2020-06-03 10:47:04 +02:00
Kevin "Tristate Tom" Weiss
972d9441ce
Merge pull request #13404 from leandrolanzieri/pr/boards/samr21-xpro/features_kconfig
boards/samr21-xpro: Model features in Kconfig
2020-06-03 09:39:41 +02:00