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

25259 Commits

Author SHA1 Message Date
Gunar Schorcht
f397a74948 cpu/esp8266: FreeRTOS adaption layer added for RTOS SDK 2019-11-13 19:00:39 +01:00
Francisco
9691cb68d6
Merge pull request #12662 from aabadie/pr/boards/hifive1_port_fix
boards/hifive1b: fix Linux default serial port
2019-11-13 18:04:22 +01:00
Gunar Schorcht
c57156cf57
Merge pull request #12464 from haukepetersen/add_driver_qmc5883l
drivers: add support for QMC5883L
2019-11-13 16:00:54 +01:00
benpicco
71d1eb2cd4
Merge pull request #12485 from benpicco/make-add_insufficient_memory
tools: add add_insufficient_memory_board.sh
2019-11-13 14:31:47 +01:00
Hauke Petersen
4bf14822cb nrf5x: move nimble_ble feat. to cpu 2019-11-13 13:43:55 +01:00
Hauke Petersen
18a133944c pkg/nimble: depend netif on ble_nimble_netif feat. 2019-11-13 13:10:12 +01:00
Hauke Petersen
d87228dab1 cpu/nrf52: add feature 'ble_nimble_netif' 2019-11-13 13:05:34 +01:00
Hauke Petersen
28acb901ab tests: add nimble_autoconn_ccnl test 2019-11-13 12:59:35 +01:00
Hauke Petersen
046c6f3e8e tests: add nimble_autoconn_gnrc test 2019-11-13 12:59:35 +01:00
Hauke Petersen
38d2690a37 shell/sc_nimble_netif: restrict when using autoconn 2019-11-13 12:59:35 +01:00
Hauke Petersen
004eb5e0b6 pkg/nimble: add 'autoconn' connection manager 2019-11-13 12:59:35 +01:00
Hauke Petersen
a49dada291 tests: add test for qmc5883l driver 2019-11-13 12:56:26 +01:00
Hauke Petersen
b75418fff4 sys/auto_init: map SAUL init for qmc5883l 2019-11-13 12:56:26 +01:00
Hauke Petersen
ca7578073a drivers: add support for QMC5883L mag sensors 2019-11-13 12:56:26 +01:00
Hauke Petersen
a7d951a0d7 net/ble.h: add custom NDN support service UUID 2019-11-13 11:28:01 +01:00
Dylan Laduranty
0e736b8879
Merge pull request #12675 from benpicco/sam0-rtt-fix
cpu/sam0_common: rtt: enable COUNTSYNC in CTRLA
2019-11-13 10:12:07 +01:00
Bas Stottelaar
0c18ef4f23
Merge pull request #12278 from benemorius/pr/efm32-uart-rx_cb
cpu/efm32/uart: fix handling of RX when no RX callback is configured
2019-11-12 21:33:07 +01:00
Dylan Laduranty
6ec6aaf4b0
Merge pull request #12393 from benpicco/sam0-spi_reconfig
sam0/spi: Don't re-configure SPI device when not needed
2019-11-12 20:51:53 +01:00
Marian Buschsieweke
ba26aed107
cpu/atmega_common: Restructured code
Moved macros and static inline helper functions needed to access ATmega GPIOs
to cpu/atmega_common/include/atmega_gpio.h in order to reuse them for the
platform specific low level part of the Neopixel driver.
2019-11-12 20:15:59 +01:00
Bas Stottelaar
229a01b60b netdev: don't allocate DEBUG_EXTRA_STACKSIZE twice 2019-11-12 20:00:05 +01:00
a42bdaeecd
Merge pull request #12694 from miri64/tests/enh/periph_cpuid
tests/periph_cpuid: read CPUID_LEN from app instead of environment
2019-11-12 19:57:22 +01:00
Martine Lenders
b5465402b5
Merge pull request #12678 from miri64/tests/enh/gnrc_sock+gnrc_neterr
tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr
2019-11-12 19:29:02 +01:00
Martine S. Lenders
06f26146d0 tests/periph_cpuid: check if correct number of bytes was printed 2019-11-12 19:24:09 +01:00
Martine S. Lenders
a33857bf29 tests/periph_cpuid: read CPUID_LEN from app instead of environment 2019-11-12 19:24:09 +01:00
Martine Lenders
d33548243a
Merge pull request #12698 from miri64/gnrc_sixlowpan_frag_vrb/fix/empty-with-frag
gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
2019-11-12 18:42:10 +01:00
Martine Lenders
02295ce5c7
Merge pull request #12593 from miri64/gnrc_sixlowpan_frag_rb/enh/deletion-timer
gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
2019-11-12 17:54:15 +01:00
Martine S. Lenders
e4d95c568b gnrc_sixlowpan_frag_vrb: set src_len to 0 on remove
45f7966 made the `src_len` field the "emptiness signifier" for the VRB.
However, when `gnrc_sixlowpan_frag` is compiled in, the remove function
`gnrc_sixlowpan_frag_vrb_rm()` does not set the `src_len` to zero,
resulting in already deleted entry to be recognized as non-empty.
2019-11-12 17:13:45 +01:00
Martine S. Lenders
11669d9bdc gnrc_sixlowpan_frag_rb: add missing \n at end of DEBUG line 2019-11-12 17:06:52 +01:00
Martine S. Lenders
40138fdce8 gnrc_sixlowpan_frag_rb: allow for deletion timer after completion
This allows to set a timer between the completion of a datagram in the
reassembly buffer and the deletion of the corresponding reassembly
buffer entry. This allows to ignore potentially late incoming link-layer
duplicates of fragments of the datagram that then will have the
reassembly buffer entry be blocked.

This was noted in this [discussion] for classic 6LoWPAN reassembly (and
minimal fragment forwarding) and is recommended in the current
[selective fragment recovery draft][SFR draft].

[discussion]: https://mailarchive.ietf.org/arch/msg/6lo/Ez0tzZDqawVn6AFhYzAFWUOtJns
[SFR draft]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-07#section-6
2019-11-12 17:06:52 +01:00
Benjamin Valentin
bff06a4d64 tools: add add_insufficient_memory_board.sh script
This adds a script that automatically compiles all examples & tests for a given
board and updates Makefile.ci if necessary.
2019-11-12 13:52:15 +01:00
Martine Lenders
918a4ac04d
Merge pull request #12682 from miri64/gnrc_sock/fix/consider-all-snips-for-error
gnrc_sock: consider all pktsnip for gnrc_neterr reporting
2019-11-12 11:45:50 +01:00
Martine Lenders
6b50db1713 tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
benpicco
341d23dded
Merge pull request #12504 from bergzand/pr/usbus/descr_terminology
usbus: Unify terminology to use 'descriptor' everywhere
2019-11-12 11:41:10 +01:00
benpicco
f77e5a6c6a
Merge pull request #12673 from benpicco/purge-rtc_numof
boards: remove RTT_NUMOF/RTC_NUMOF
2019-11-12 11:33:16 +01:00
Benjamin Valentin
d21dc25cfe sam0/spi: Don't re-configure SPI device when not needed
Currently, spi_acquire() will always re-configure the SPI bus.
If the configuration did not change, this is entirely uneccecary
and makes SPI operations take longer than needed.

Instead, compare the current configuration with the new configuration
and skip the initialisation if it didn't change since the last call.
2019-11-12 11:31:41 +01:00
Benjamin Valentin
db2fa33660 sam0_common: rtc: use GCLK4 on SAMD21
The RTC expects to be clocked from a 1kHz source.
Previously it would re-configure GCLK2 from 32kHz to 1kHz when used.

Since GCLK2 is also used by EIC, this would break external interrupts
in strange and unexpected ways.

Dedicate a 1kHz clock to it to avoid the damage.
2019-11-12 11:30:02 +01:00
Benjamin Valentin
5fa234e435 sam0_common: wdt: use GCLK4 on SAMD21
GCLK4 will always run at 1kHz on SAMD21, so use it directly.
2019-11-12 11:29:25 +01:00
Benjamin Valentin
d92c079a90 cpu/samd21: configure GCLK4 with 1024 Hz
Both WDT and RTC expect a 1 kHz clock.
Source it from the same generator as the 32 kHz GCLK2.
2019-11-12 11:29:17 +01:00
Benjamin Valentin
89b987494e cpu/sam0_common: rtt: enable COUNTSYNC in CTRLA
From the data sheet:

> The COUNT register requires synchronization when reading.
> Disabling the synchronization will prevent reading valid
> values from the COUNT register.

Without this bit enabled, rtt_get_counter() will always return 0.
2019-11-12 11:28:08 +01:00
Martine S. Lenders
2f0187e076 tests/periph_cpuid: print CPUID_LEN 2019-11-12 10:42:23 +01:00
3db4678384
usbus: Unify terminology to use 'descriptor' everywhere 2019-11-12 10:29:19 +01:00
Francisco
9352b88da4
Merge pull request #12417 from cladmi/pr/make/boards/cpu_cpu_model_to_features
Makefile.features: assert CPU is defined by BOARD/Makefile.features
2019-11-12 10:09:23 +01:00
benpicco
4a02bdf883
Merge pull request #12692 from aabadie/pr/tests/periph_cpuid_autotest
tests/periph_cpuid: add automatic test script
2019-11-11 22:14:53 +01:00
9b02b9d042
tests/periph_cpuid: add automatic test script 2019-11-11 21:18:13 +01:00
Marian Buschsieweke
614d81f6bb
Merge pull request #12690 from benpicco/atmega_cpu_id-fixup
cpu/atmega_common: cpuid: add a word of warning
2019-11-11 19:00:13 +01:00
Leandro Lanzieri
5febd49c84
Merge pull request #12689 from aabadie/pr/pkg/lora-serialization_update_8bit
pkg/lora-serialization: bump to latest version and update test for AVR
2019-11-11 18:08:27 +01:00
Benjamin Valentin
3ce6ddcdb2 cpu/atmega_common: cpuid: add a word of warning
The CPU ID only differs in byte 4 (RC calibration) between devices.

Add a word of warning to the documentation that this may not be very unique.
2019-11-11 18:07:09 +01:00
774a19621b
tests/pkg_lora-serialization: fix C-style comments 2019-11-11 17:31:49 +01:00
7e7c49a109
tests/pkg_lora-serialization: fix test 02 on AVR 2019-11-11 17:31:22 +01:00
d6f11a4c3c
pkg/lora-serialization: bump to latest versio 2019-11-11 17:30:31 +01:00