benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
...
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
benpicco
40a419baef
Merge pull request #12794 from gschorcht/cpu/esp32/cpu_clk_workaround
...
cpu/esp32: workaround for UART problems
2019-11-28 13:57:23 +01:00
benpicco
306319ae7a
Merge pull request #12748 from benpicco/lpc2387-lpram
...
cpu/lpc2387: add support for backup RAM
2019-11-28 13:51:52 +01:00
9eac4b8b75
Merge pull request #12825 from JannesVolkens/ncv7356_doc
...
drivers/ncv7356: Add documentation
2019-11-28 12:32:10 +01:00
benpicco
b9b7e652e2
Merge pull request #12833 from dylad/pr/tests/adc_fix_printf
...
tests/periph_adc: fix printf content on failure
2019-11-28 11:57:38 +01:00
Francisco
a0783afe6d
Merge pull request #12632 from aabadie/pr/tests/memarray_autotest
...
tests/memarray: add python script for automatic testing
2019-11-28 11:52:56 +01:00
Benjamin Valentin
3417cf7d8a
cpu/arm7_common: be less cryptic in setup code
...
There is no restriction in variable names in early boot, so use
better names then p1, p2 and p3 to name our pointers.
2019-11-28 11:34:59 +01:00
Benjamin Valentin
32bbba2fc5
cpu/lpc2387: add support for backup RAM
...
lpc23xx has 2k of battery RAM that is retained in Deep Power Down mode.
To not overwrite that data it must only be initialized on Power On Reset.
However, RSIR looks the same when waking up from Deep Power Down as it does
on the power-on case.
So use 4 bytes of the backup RAM to keep a signature that is only valid if
memory was retained (no power-on Reset).
A small change to the linker script is required so two sections can be
placed into flash.
2019-11-28 11:33:03 +01:00
Benjamin Valentin
15fcbe837a
cpu/lpc2387: add definition of RSIR bits
...
Add the bits of the Reset Source Identification Register
2019-11-28 11:30:38 +01:00
Dylan Laduranty
6a4259e48a
Merge pull request #12064 from benpicco/sam0-buffered_uart
...
cpu/sam0_common/periph/uart: implement non-blocking write
2019-11-28 10:07:11 +01:00
Benjamin Valentin
0c08abd19a
tests/periph_uart_nonblocking: add simple test application
...
The application is mainly to compile-test non-blocking UART
functionality, but some functional testing is also possible.
With non-blocking UART the total runtime of the program is 2100735 µs
on same54-xpro.
With blocking UART the total runtime is 2152407 µs.
2019-11-28 09:26:58 +01:00
Francisco
372ae95d28
Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup
...
make/develhelp: make usage consistent + add ci check
2019-11-28 09:26:52 +01:00
Dylan Laduranty
3f1027d0c2
tests/periph_adc: fix content printf on failure
2019-11-28 09:07:52 +01:00
Dylan Laduranty
53994bdfeb
Merge pull request #12828 from bergzand/pr/sam0/adc_api
...
sam0/periph_adc: Fix API to return `-1` on unsupported resolution
2019-11-28 09:05:39 +01:00
Gunar Schorcht
e3bb708e4d
cpu/esp32/periph: flush UART TX FIFO before a baudrate change
2019-11-28 08:57:26 +01:00
ae223308bf
tests/memarray: add automatic test script
2019-11-28 08:47:57 +01:00
60c922df1a
tests/memarray: allow overridable macros and print them
...
MAX_NUMBER_BLOCKS and NUMBER_OF_TESTS can be overriden via CFLAGS
2019-11-28 08:47:57 +01:00
7d046b6b8d
Merge pull request #12831 from fjmolinas/pr_fix_interactive_sync_shell
...
autoinit: interactive sync if no shell% in USEMODULE
2019-11-28 08:47:20 +01:00
4e07a26375
Merge pull request #12819 from maribu/atmega_fix
...
cpu/atmega_common: Fixed atmega_exit_isr
2019-11-28 08:43:10 +01:00
Gunar Schorcht
83892aa184
cpu/esp32/periph: workaround for UART clock problems
...
The UART peripheral clock seems to be sporadically set to wrong value when the CPU clock is changed. In this case, the UART clock is not set to 115.200 kbps but to 96 kbps, so that the output in the console seems like garbage. This can also cause automatic tests to fail. Therefore, the CPU clock is only changed if CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ defines a different default CPU clock than the one already used at boot time.
2019-11-28 08:22:30 +01:00
15d58760a9
Merge pull request #12822 from fjmolinas/pr_fix_eol
...
tests: fix tests matching varied sized group regex
2019-11-28 08:01:30 +01:00
Leandro Lanzieri
2733ef45d7
Merge pull request #12798 from kb2ma/gcoap/init_delay
...
net/gcoap: add macro to delay initialization of gcoap
2019-11-28 05:10:43 +01:00
Ken Bannister
e873e5814a
net/gcoap: add macro to delay initialization of gcoap
2019-11-27 17:56:55 -05:00
benpicco
7c9f2e1794
Merge pull request #12791 from maribu/test_isr_yield_higher
...
tests/isr_yield_higher: Make use of US_PER_MS
2019-11-27 23:21:12 +01:00
Francisco Molina
817df972b5
autoinit: interactive sync if no shell%
2019-11-27 23:19:48 +01:00
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
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
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