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
561daaab81
tests/malloc: reduce defaut chunk size
...
This allows to automatically run the test on very constrained platforms such as arduino-uno (2KB RAM)
2019-11-26 15:21:47 +01:00
Hauke Petersen
17b1b19fda
net/gcoap: do not allocate RX buf on stack
2019-11-26 15:00:03 +01:00
benpicco
ffe208a3a4
Merge pull request #11394 from maribu/saul_stringification
...
drivers/saul: Improved stringification
2019-11-26 13:53:59 +01:00
Marian Buschsieweke
9d69adca33
Merge pull request #12812 from kaspar030/fix_tests_periph_cpuid
...
tests/periph_cpuid: fix test script regex
2019-11-26 13:42:51 +01:00
bcf39adb36
tests/periph_cpuid: fix test script regex
2019-11-26 12:54:06 +01:00
743d7170e2
Merge pull request #12804 from wosym/nucleo-f207zg_ethernet
...
boards/nucleo-f207zg: add ethernet configuration
2019-11-26 12:44:19 +01:00
Wouter
3072900ed6
boards/nucleo-f207zg: add Ethernet config
2019-11-26 11:11:41 +01:00
dd0d5f7fcf
Merge pull request #12811 from miri64/dist/enh/ci-print-ccache
...
dist/tools/ci/print_toolchain_versions.sh: add ccache
2019-11-26 10:06:12 +01:00
Marian Buschsieweke
a3965cc189
Merge pull request #12809 from benpicco/lpc2387-dac
...
cpu/lpc2387: implement periph/dac
2019-11-26 09:53:24 +01:00
Martine S. Lenders
ccc10432be
dist/tools/ci/print_toolchain_versions.sh: add ccache
2019-11-26 09:28:28 +01:00
Benjamin Valentin
964725259a
cpu/lpc2387: implement periph/dac
...
The 10 bit DAC on the lpc23xx is very simple.
It only has one channel and can only be mapped to a single pin (P0.26).
After setting the pin mode to DAC no further configuration in needed.
2019-11-26 01:49:45 +01:00