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

30204 Commits

Author SHA1 Message Date
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
Leandro Lanzieri
339432583c
cpu/ezr32wg: Add Kconfig symbols
Also define CPU_FAM in Makefile.features
2020-06-29 14:01:01 +02:00
Leandro Lanzieri
b8486782f0
doc/kconfig: Add guide to model features, CPUs and boards 2020-06-29 13:35:32 +02:00
Sven Herrmann
4469d8f0fb pkg/fatfs/fatfs_vfs: fix flag translation in _open 2020-06-29 10:06:28 +00:00
Sven Herrmann
05352b63e4 tests/pkg_fatfs_vfs: add tests
* vfs_open with `O_WRONLY | O_CREAT` if file exists
* of fopen etc. with newlib
2020-06-29 10:06:28 +00:00
Leandro Lanzieri
ef4835a092
Merge pull request #14384 from basilfx/feature/silabs_cleanup
boards/sltb001a+slstk3402a: minor updates to headers
2020-06-29 08:45:21 +02:00
benpicco
f372beb405
Merge pull request #12363 from maribu/dfplayer
drivers/dfplayer: New driver for the DFPlayer Mini MP3 player
2020-06-28 23:24:36 +02:00
benpicco
0789b29ae6
Merge pull request #13039 from aabadie/pr/pkg/emlearn
pkg/emlearn: add support to RIOT
2020-06-28 23:24:26 +02:00
benpicco
7515b718cf
Merge pull request #14383 from basilfx/feature/sltb001a_ccs811
boards/sltb001a: enable CCS811 sensor
2020-06-28 23:24:16 +02:00
Bas Stottelaar
f72f276899 boards/slstk3402a: remove SI7021_ENABLED
Other boards do not have this in favor of MODULE_SI7021.
2020-06-28 23:01:10 +02:00
Bas Stottelaar
3433a32cce boards/sltb001a: Si7201A does not exists
Its just the Si7210: https://www.silabs.com/sensors/magnetic/si7210.
2020-06-28 22:57:29 +02:00
Bas Stottelaar
e4217f1b0f boards/sltb001a: enable CCS811 sensor 2020-06-28 22:42:32 +02:00
1987a29773
tests/pkg_emlearn: exclude low memory boards 2020-06-28 21:50:51 +02:00
b5dd94d223
tests/pkg_emlearn: add sample application 2020-06-28 21:50:51 +02:00
5325233928
pkg/emlearn: add support to RIOT 2020-06-28 21:50:51 +02:00
Marian Buschsieweke
2f17c1cd97
tests: Added test for the dfplayer driver 2020-06-28 21:06:49 +02:00
Marian Buschsieweke
2f858a2c0a
sys/shell: Added shell command "dfplayer"
Added a shell command that is added if the modules shell_commands and dfplayer
are both used. It allows to control the DFPlayer Mini MP3 player.
2020-06-28 21:06:49 +02:00
Marian Buschsieweke
82bfb66cb8
drivers: Added driver for the DFPlayer MP3 player 2020-06-28 21:06:43 +02:00
Marian Buschsieweke
d2f3cafa45
sys/auto_init: Added auto-init for multimedia
Added auto-init hook for multimedia device drivers
2020-06-28 21:06:14 +02:00
18b0bdaa81
Merge pull request #14374 from gschorcht/drivers/atwinc15x0_fix_lwip_netdev
pkg/lwip: fixes the netif handling for the atwinc15x0 driver
2020-06-28 18:45:29 +02:00
88452abfcf
ci/build_system_check: ensure no export of APPDEPS/BUILDDEPS/DEBUGDEPS 2020-06-28 12:15:18 +02:00
df51ff7617
makefiles/vars.inc.mk: don't export APPDEPS globally 2020-06-28 12:14:31 +02:00