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

25460 Commits

Author SHA1 Message Date
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
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
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
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
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
benpicco
af0c6e9319
Merge pull request #12772 from daexel/bme280_bugfix
drivers/bmx280: add temp_measurement to methods
2019-11-25 18:26:50 +01:00
Marian Buschsieweke
b12292603b
Merge pull request #12797 from maribu/tests_micro-ecc
tests/pkg_micro-ecc: Cleanup and AVR fixes
2019-11-25 17:57:27 +01:00
eb08dab78d
Merge pull request #12801 from jasdeepgill/patch-1
Minor readability fixes to CONTRIBUTING.md
2019-11-25 16:54:51 +01:00
ea716e69e0
Merge pull request #12806 from maribu/atmega-fix-reset
tools/avrdude: Fix `make reset` with bootloader
2019-11-25 16:44:52 +01:00
Marian Buschsieweke
0bb31590e6
tests/pkg_micro-ecc: Cleanup and AVR fixes
- Moved huge allocations from stack to data / bss
- Increased verbosity of messages (one line per round)
- Adapted test script to new output format
2019-11-25 16:36:23 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
benpicco
63e4d8ffa5
Merge pull request #12803 from gschorcht/cpu/esp32/fix_little_fs
cpu/esp32: fix to be able to use SPI flash drive with pkg_littlefs
2019-11-25 15:49:13 +01:00
benpicco
7f40b13d05
Merge pull request #12697 from maribu/stm32-programmer
boards: Common STM32 programmer/debugger/serial config
2019-11-25 15:27:22 +01:00
Marian Buschsieweke
f44dd00276
tools/avrdude: Fix make reset with bootloader
The generic approach of calling avrdude to perform a reset with `make reset`
does also work on board with a bootloader, but only if no other process is
also accessing the serial (e.g. via `make term`). `make test` first accesses
the serial and then performs `make reset` to not miss any output on the serial.
This however blocks when `make reset` also wants to access that serial.

As workaround, `make reset` is no only provided if the ATmega device is not
programmed via bootloader. Normally, those boards reset anyway upon `make term`,
which allows `make test` to work normally again.
2019-11-25 14:39:25 +01:00
Michel Gerlach
973d9fd54b driver/bme280: add dependencies on temperature for pressure and humidity 2019-11-25 13:13:24 +01:00
d0d6e53ff4
Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw
cpu/msp430_common: add flashpage_raw
2019-11-25 12:48:48 +01:00
Marian Buschsieweke
3264106a2f
Merge pull request #12704 from benpicco/AT86RFR2_smart_idle
drivers/at86rf2xx: enable Smart Reduced Power Consumption for AT86RFR2
2019-11-25 11:57:44 +01:00
Martine Lenders
95c6a785de
Merge pull request #12695 from leandrolanzieri/pr/dist/tools/add_kconfiglib
dist/tools: Add Kconfiglib
2019-11-25 11:51:02 +01:00
Marian Buschsieweke
20ce384f52
Merge pull request #12800 from benpicco/arm7-puf_sram
cpu/arm7_common: hook up puf_sram
2019-11-25 11:10:55 +01:00
Marian Buschsieweke
837e9c1ddc
drivers/saul: Improved stringification
- Changed declaration of SAUL classes (while keeping the format)
    - Termed "class of SAUL classes" category of SAUL classes in the doc to
      avoid confusion. (E.g. a SAUL class will now be in category sensor or
      actuator.)
    - Separate enums for SAUL category and intra-category ID. Numbers will now
      but auto-assigned by the compiler
- Use constant look-up tables for stringification (one table per SAUL category).
  ==> This saves 512B in .data section of AVR
2019-11-25 10:09:11 +01:00