83215befd9
sam0: change ADC periph to return -1 on wrong resolution
...
The common ADC API dictates that a sample call must return -1 on an
incorrect resolution. The sam0 ADC implementation instead threw an
assertion failure.
2019-11-27 21:09:02 +01:00
7d2e10335d
sam0: remove duplicate _done()
call
2019-11-27 21:08:28 +01:00
chudov
0a151a78da
boards/derfmega*: initial support
2019-11-27 20:53:14 +01:00
Dylan Laduranty
5287e1c052
Merge pull request #12782 from ML-PA-Consulting-GmbH/fix/20191122__sam0common_spi_release
...
cpu/sam0_common/periph/spi: power off spi bus on release
2019-11-27 19:13:19 +01:00
Benjamin Valentin
0d977b3b3c
cpu/sam0_common/periph/uart: implement buffered write
...
Implement interrupt based uart_write() using a tsrb for the TX buffer.
To enable it, add
USEMODULE += periph_uart_nonblocking
to your Makefile.
2019-11-27 19:01:00 +01:00
1271274964
Merge pull request #12824 from fjmolinas/pr_pexpect_doc
...
tests/README: add automated tests guidelines
2019-11-27 18:52:09 +01:00
6e2513a724
Merge pull request #12461 from fjmolinas/pr_apply_interactive_sync_tests
...
tests: use test_interactive_test_util when possible
2019-11-27 17:57:04 +01:00
f318572d8a
Merge pull request #12823 from gschorcht/make/fix_log_level
...
makefiles: fix LOG_LEVEL handling
2019-11-27 17:55:10 +01:00
Francisco Molina
5212e86226
doc/doxygen: add build-system-basics.md
2019-11-27 17:32:03 +01:00
d5cf54a674
Merge pull request #12826 from fjmolinas/pr_unexport_programmer
...
boards: unexport PROGRAMMER
2019-11-27 17:00:34 +01:00
Francisco Molina
264b323c66
tests/README: add automated tests guidelines
2019-11-27 15:26:08 +01:00
Francisco Molina
175c48f8d4
tests/gnrc_ndp: add z1 to insufficient memory
2019-11-27 15:07:43 +01:00
Francisco Molina
0996fb87fd
tests: insufficient mem. atmega328p based boards
...
- When using test_interactive_sync_utils, stdin and many more
prints/puts are included. These all go into .bss/.data which
quickly fills up RAM.
2019-11-27 15:07:43 +01:00
Francisco Molina
34c6063520
tests/README.md: add automated test guideline
2019-11-27 15:07:43 +01:00
Francisco Molina
416c048737
tests: add test_utils_interactive_sync when possible
...
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
sudo, `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
Gaëtan Harter
eb9cb198a0
testrunner: auto sync with test_utils_interactive_sync if present
...
Automatically call the test_utils_interactive_sync synchronization if it
is used.
2019-11-27 15:07:42 +01:00
Francisco Molina
838a88f122
sys/shell/commands: add interactive_sync commands
2019-11-27 15:07:42 +01:00
Martine Lenders
dbbdd703ea
Merge pull request #12821 from kaspar030/fix_tests_malloc
...
tests/malloc: fix test regexp to consider whole line
2019-11-27 14:54:42 +01:00
JulianHolzwarth
7cd3e8b73e
xtimer/xtimer.c:_mutex_timeout() improved
...
no longer into the "if" when the mutex is free
2019-11-27 14:49:16 +01:00
Pieter Willemsen
f3b13cf90c
xtimer: check in timeout callback if thread blocked on mutex
...
Prevent a possible race condition when _mutex_timeout fires just after the
mutex was locked but before the xtimer was removed
The flow
int xtimer_mutex_lock_timeout(mutex_t *mutex, uint64_t timeout) {
...
mutex_lock(mutex);
/* mutex locked */
/* _mutex_timeout fires and tries to remove thread from mutex queue */
/* DEBUG: simulate callback call between lock and remove */
xtimer_spin(xtimer_ticks_from_usec(timeout*2));
xtimer_remove(&t);
...
}
2019-11-27 14:48:51 +01:00
Francisco Molina
90bcb016bb
boards: unexport PROGRAMMER
2019-11-27 14:31:01 +01:00
Jannes
e88bbb0d6e
cpu/stm32_common: Edit documentation
2019-11-27 14:15:57 +01:00
Francisco Molina
3db9eab6d9
tests: expect match \r\n or \s
...
- Since `printf()` is buffered it might not arrive in a single
read to pexpect. Regex which terminate in a group match might
match only some elements, this might break tests that depend
on exact group matching.
2019-11-27 14:12:12 +01:00
Jannes
675bb0fe57
tests/conn_can: Edit README
2019-11-27 13:35:57 +01:00
Jannes
0acf55af53
drivers/ncv7356: Add documentation
2019-11-27 13:35:57 +01:00
Gunar Schorcht
5e22de215d
makefiles: fix LOG_LEVEL handling
2019-11-27 12:50:47 +01:00
fb8428cb6d
tests/malloc: fix test regexp to consider whole line
2019-11-27 10:41:33 +01:00
MichelRottleuthner
bf676d4728
Merge pull request #11022 from jia200x/pr/gnrc_lorawan
...
gnrc_lorawan: add support for GNRC based LoRaWAN stack
2019-11-27 09:25:20 +01:00
Daniel Lockau
5ea4fcd9c8
cpu/sam0_common/periph/spi: uncrustify
2019-11-27 07:16:22 +01:00
Daniel Lockau
c5ad13cb18
cpu/sam0_common/periph/spi: power off spi bus on release
2019-11-27 07:16:22 +01:00
Marian Buschsieweke
97f727349b
cpu/atmega_common: Fixed atmega_exit_isr
...
A context switch at the end of the ISR should only occur, if requested.
This fixes this.
2019-11-27 01:39:33 +01:00
Cenk Gündoğan
574c7d52d9
Merge pull request #12818 from kaspar030/add_dotclangd_to_dotgitignore
...
.gitignore: add .clangd/
2019-11-26 22:33:17 +01:00
Jose Alamos
43b7164796
gnrc_pktdump: add NETTYPE_LORAWAN
2019-11-26 21:52:06 +01:00
Jose Alamos
9c5cfa3d5d
gnrc_lorawan: add test application
2019-11-26 21:52:06 +01:00
Jose Alamos
b3593e58cb
sc_netif: add lorawan config commands to shell
2019-11-26 21:52:06 +01:00
Jose Alamos
d3777d8ed8
auto_init/netif: add gnrc_lorawan startup routine
2019-11-26 21:52:06 +01:00
Jose Alamos
2edaead13e
gnrc_netif: add gnrc_lorawan adaption layer
2019-11-26 21:52:06 +01:00
Jose Alamos
39951b8f70
gnrc_lorawan: add initial support for LoRaWAN stack
2019-11-26 21:52:06 +01:00
Jose Alamos
e03f7278bc
gnrc_netif.h: add lorawan component
2019-11-26 21:52:05 +01:00
Jose Alamos
a70b1858c4
netopt: add NETOPTs required for gnrc_lorawan
2019-11-26 21:52:05 +01:00
Jose Alamos
523d1af490
netdev: add netdev types for GNRC_LORAWAN
2019-11-26 21:52:05 +01:00
Jose Alamos
e8bf26f7f3
gnrc_nettype: add GNRC_NETTYPE_LORAWAN type
2019-11-26 21:52:05 +01:00
Jose Alamos
845944e092
gnrc_netif_lorawan: add headers
2019-11-26 21:52:05 +01:00
Jose Alamos
4192cd5578
gnrc_lorawan: add public headers
2019-11-26 21:52:05 +01:00
d552987080
.gitignore: add .clangd/
2019-11-26 21:20:43 +01:00
Bas Stottelaar
05bdab80e0
tests: minimal: use stdio_null
2019-11-26 21:12:41 +01:00
Bas Stottelaar
810a06903a
sys: stdio_null: add null driver
2019-11-26 21:12:41 +01:00
37dc677cb6
Merge pull request #12813 from aabadie/pr/tests/malloc_lowmemory
...
tests/malloc: reduce default chunk size
2019-11-26 16:44:37 +01:00
abc99024df
tools/ethos: fix compilation warning in strncpy
2019-11-26 16:26:35 +01:00
Hauke Petersen
06b507bbcc
Merge pull request #12774 from haukepetersen/fix_gcoap_removerxbuffromstack
...
net/gcoap: do not allocate RX buf on stack
2019-11-26 16:09:05 +01:00