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

29967 Commits

Author SHA1 Message Date
Benjamin Valentin
b71fde68e9 core/panic: launch USB bootloader for easy recovery
If a board was flashed via USB bootloader, a crash means the user has to
perform a procedure to manually enter the bootloader again for recovery.

To allow for easier recovery, automatically lauch the bootloader on crash
if `DEVELHELP` is enabled.
2020-07-01 20:36:59 +02:00
e8d8fd2f32
Merge pull request #14404 from benpicco/sys/usb_board_reset_in_bootloader
sys/usb_board_reset: add usb_board_reset_in_bootloader definition
2020-07-01 13:49:59 +02:00
chrysn
a787875cf8 usb_board_reset: Split headers into public and private
The private parts need USB definitions (and are thus preferably used
from USB_H_USER_IS_RIOT_INTERNAL compilation units). Functions like
usb_board_reset_in_bootloader do not depend on USB headers for their
definitions and are fair game throughout the application even for
generic RIOT USB devices.
2020-07-01 13:22:25 +02:00
Benjamin Valentin
33ef4f2902 sys/usb_board_reset: add usb_board_reset_in_bootloader definition
Move the definition of usb_board_reset_in_bootloader() to a common
location.
2020-07-01 10:30:17 +02:00
Francisco
772b638d2a
Merge pull request #14405 from aabadie/pr/cpu/mips_no_binfile
cpu/mips: disable BINFILE generation
2020-07-01 10:21:41 +02:00
Leandro Lanzieri
4cfa25f921
Merge pull request #11915 from fjmolinas/pr_loramac_tests
release/11-lorawan: add tests to target applications
2020-07-01 10:12:41 +02:00
Leandro Lanzieri
b2c0a8e67d
Merge pull request #14401 from benpicco/kconfiglib-v14.1.0
kconfiglib: bump to v14.1.0
2020-07-01 09:37:50 +02:00
Francisco
41888674a4
Merge pull request #14385 from aabadie/pr/make/appdeps_export
boards/mips: remove use of APPDEPS, un-export globally APPDEPS
2020-07-01 09:13:35 +02:00
Francisco Molina
f60e6e008d
tests/pkg_semtech-loramac: add automatic test 2020-07-01 09:08:08 +02:00
Francisco Molina
9e130be8a8
examples/lorawan: add automatic test 2020-07-01 09:08:07 +02:00
b3e566bcd8
cpu/mips: disable BINFILE generation 2020-07-01 08:08:23 +02:00
Martine Lenders
95fa7fbb4f
Merge pull request #14403 from pokgak/fix-cord-ep-netif
cord_ep: allow not specify netif if only one interface exist
2020-06-30 23:00:27 +02:00
M Aiman Ismail
edc95679cd cord_ep: allow not specify netif if only one interface exist 2020-06-30 22:36:23 +02:00
benpicco
e1d27cb7d5
Merge pull request #14394 from sven-hm/fatfs_vfs_fstat
pkg/fatfs/fatfs_vfs: fix _fstat
2020-06-30 18:30:26 +02:00
Peter Kietzmann
2250c67240
Merge pull request #14388 from leandrolanzieri/pr/kconfig/ezr32wg_board_symbols
boards/slwstk6220a: Model features provided in Kconfig
2020-06-30 18:24:44 +02:00
Benjamin Valentin
11fa839abb kconfiglib: bump to v14.1.0
The latest upstream version uses Python3 instead of Python2.
2020-06-30 17:32:42 +02:00
Francisco
7cdba86d2c
Merge pull request #14387 from leandrolanzieri/pr/doc/kconfig_prefixes
doc/kconfig: Add guide to model features, CPUs and boards
2020-06-30 17:08:07 +02:00
Francisco
325b7a8d8e
Merge pull request #13631 from benpicco/cpu/sam0_common/spi-deinit
drivers/periph/spi: add periph_spi_reconfigure feature & implementation for sam0
2020-06-30 15:34:53 +02:00
Francisco
960cca77b7
Merge pull request #13675 from benpicco/native_eof_exit
sys/shell: native: stop RIOT when the shell reads EOF
2020-06-30 15:29:52 +02:00
Francisco
59b58eaef2
Merge pull request #14389 from aabadie/pr/doc/package_enh
pkg/doc.txt: improve rendering of source location documentation
2020-06-30 15:13:52 +02:00
Francisco
e8389a5847
Merge pull request #12870 from benpicco/xtimer-doc-fix
sys/xtimer: fix documentation about XTIMER_BACKOFF
2020-06-30 15:07:09 +02:00
Benjamin Valentin
a6ca535955 sys/shell: native: stop RIOT when the shell reads EOF
Currently when the shell receives EOF on `native`, sending EOF
(ctrl + D) closes the stdin file descriptor, leading to all
consecutive reads to also return EOF.

The result is that `shell_run_forever()` will re-start the shell
forever in a loop, filling up the terminal with

    > > > > > > > > > > > > > > > > > > > > > > …

until the user hits ctrl + C.

This is annoying.

Instead, cleanly shutdown RIOT when receiving EOF on native, which
should match the expected behaviour of most users.
2020-06-30 14:52:53 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Gunar Schorcht
7554abd8e2
Merge pull request #14392 from benpicco/esptool-python3_only
esptool.py: use Python3
2020-06-30 13:57:27 +02:00
Francisco
1004fb3f83
Merge pull request #13382 from chrysn-pull-requests/usb-check-unification
usb: Warn on test-ID usage in a unified location
2020-06-30 13:30:14 +02:00
Francisco Molina
b0c5c3eaca
boards/samr21-xpro: add OpenWSN timing constants 2020-06-30 13:10:56 +02:00
Francisco Molina
7515f1152a
boards/common/iotlab: add OpenWSN timing constants 2020-06-30 13:10:56 +02:00
Francisco Molina
d01476a661
dist/tools/openvisualizer: inital support 2020-06-30 13:10:56 +02:00
Francisco Molina
985a706733
tests/pkg_openwsn: initial import
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
2020-06-30 13:08:37 +02:00
Francisco Molina
844ccfbeb3
pkg/OpenWSN: initial import
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
Co-authored-by: Jose Alamos <jose.alamos@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2020-06-30 13:08:36 +02:00
d132ef457d
Merge pull request #14327 from leandrolanzieri/pr/drivers/at_isr_urc
drivers/at: Add at_urc_isr module to process URCs upon arrival
2020-06-30 12:41:14 +02:00
Leandro Lanzieri
955efd85ff
drivers/at: Add at_urc_isr module to process URCs upon arrival 2020-06-30 11:41:13 +02:00
chrysn
85d7042732 usb Kconfig: Provide explicit defaults
See-Also: https://github.com/RIOT-OS/RIOT/pull/13382#discussion_r380506106
2020-06-30 10:51:42 +02:00
chrysn
fbd7b66f33 usb Kconfig: Remove conditional
The clause was left over from moving the lines into the main
configuration from an example config without understanding its
relevance.
2020-06-30 10:51:41 +02:00
chrysn
a181c0dbcd usb: Use separate Makefile for configuration and checks 2020-06-30 10:51:40 +02:00
chrysn
c0cc03a09a usb: Adapt error message to newly present build variables 2020-06-30 10:51:39 +02:00
chrysn
a1725b0b4b usb: Check against explicit use of 1209/7D00 VID/PID pair
That pair is reserved for cases when it can be set implicitly by the
build system.

The check could just as well be done in sys/include/usb.h, but this
gives prettier output.
2020-06-30 10:51:38 +02:00
chrysn
346093c290 usb: Move Kconfig/Makefile merging into main Makefile.include
This allows the check for test IDs to run independently of the
configuration source, and provides a canonical point for the
configurable (and tested) Makefile variable to enter CFLAGS.
2020-06-30 10:51:37 +02:00
chrysn
250f6fdfa3 usb: Warn on test-ID usage in a unified location
This

* renames DEFAULT_xID to USB_xID_TESTING as it is not really a default
  (if anyting, the 7D00 is, and it's not that)
* moves the check into Makefile
* generalizes the check to all test PID/VID pairs
  * in doing so, fixes the "or" (which would have ruled out warning-free
    use of an allocated pid.codes number), and compares to the actual
    testing PID rather than the RIOT-peripheral PID
* removes all occurrences of duplicated checks in examples or tests,
  leaving definitions only where they are needed
* moves the Kconfig defaults of the usbus_minimal example into the main
  Kconfig, as these are good defaults for all cases when USB is enabled
  manually

Closes: https://github.com/RIOT-OS/RIOT/issues/12273
2020-06-30 10:51:36 +02:00
Gunar Schorcht
028c0d4b3c
Merge pull request #14353 from fjmolinas/pr_reorder_makefiles_cleanup
Makefile: use normal conditionals
2020-06-30 09:59:02 +02:00
Sven Herrmann
75a9ad0be1 pkg/fatfs/fatfs_vfs: fix fstat 2020-06-30 07:45:08 +00:00
Sven Herrmann
6053a223fa tests/pkg_fatfs_vfs: add fstat test 2020-06-30 07:45:07 +00:00
benpicco
3af5efe5cd
Merge pull request #14175 from sven-hm/fatfs_vfs_open_flag_translation
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 23:40:55 +02:00
Benjamin Valentin
09c3ad5999 esptool.py: use Python3 2020-06-29 23:35:37 +02:00
Francisco Molina
e98341da93
Makefile: use normal conditionals 2020-06-29 22:40:29 +02:00
benpicco
a92dac5701
Merge pull request #14329 from Nishchay-sopho/drivers/sdp3x
driver/sdp3x : Add driver for sdp3x sensor
2020-06-29 21:16:39 +02:00
Dirk Ehmen
05980765f2 drivers/sdp3x: Driver for sensirion sdp3x sensor 2020-06-29 20:50:41 +02:00
5a9399e4c2
pkg/doc.txt: improve rendering of source location documentation 2020-06-29 15:53:25 +02:00
Leandro Lanzieri
cc7afa748a
tests/kconfig_features: Add slwstk6220a to whitelist 2020-06-29 14:03:02 +02:00
Leandro Lanzieri
992cd496b6
boards/slwstk6220a: Add Kconfig symbols 2020-06-29 14:01:44 +02:00