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

25035 Commits

Author SHA1 Message Date
benpicco
035bac0bf4
Merge pull request #12639 from aabadie/pr/boards/atmega256rfr2
boards/atmega256rfr2-xpro: initial support
2019-11-05 19:03:49 +01:00
Marian Buschsieweke
4d279ae76e
Merge pull request #12055 from fabian18/driver-ina3221
Driver for INA3221 current and power and bus voltage monitor
2019-11-05 14:45:03 +01:00
benpicco
2390d494a9
Merge pull request #12640 from benpicco/rtc_tm_compare
periph_common/rtc: add rtc_tm_compare()
2019-11-05 13:20:49 +01:00
Benjamin Valentin
24ae298115 unittests: add rtc_tm_compare() to unittest 2019-11-05 12:52:45 +01:00
Benjamin Valentin
513a3a7d59 periph_common/rtc: add rtc_tm_compare()
Add an easy way to compare two points in time.
2019-11-05 12:52:45 +01:00
fabian18
7e8cce875a drivers/ina3221: Added SAUL integration 2019-11-05 12:37:41 +01:00
fabian18
5311de7131 tests/driver_ina3221: Test for INA3221 2019-11-05 12:33:06 +01:00
fabian18
195379a9b8 drivers/ina3221: INA3221 driver implementation 2019-11-05 12:29:42 +01:00
66f28d7694
examples/default: add atmega256rfr2-xpro to board with netif 2019-11-05 10:40:59 +01:00
602f9d7f9c
tests: exclude atmega256rfr2-xpro where required 2019-11-05 10:40:59 +01:00
f24a3802c7
boards/atmega256rfr2-xpro: configure debug 2019-11-05 10:40:32 +01:00
1a16ee8215
makefiles/avrdude: allow setting debug server interface 2019-11-05 10:40:32 +01:00
4751892ce9
boards/atmega256rfr2-xpro: initial support 2019-11-05 10:40:32 +01:00
c210658255
Merge pull request #12644 from aabadie/pr/pkg/oonf_api_features_blacklist
pkg/oonf_api: add avr8 and msp430 arch to features blacklist
2019-11-05 10:08:03 +01:00
bf1b6b6f9c
tests/nhdp: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted in oonf_api package which is a dependency of nhdp
2019-11-05 09:47:25 +01:00
f542bc5fcf
pkg/oonf_api: blacklist unsupported architectures
AVR8 and MSP430 are excluded because of missing features in their respective toolchains
2019-11-05 09:47:25 +01:00
Martine Lenders
d30a1ccbe8
Merge pull request #12643 from aabadie/pr/pkg/ubasic_features_blacklist
pkg/ubasic: use features blacklist and remove use of BOARD_BLACKLIST in test
2019-11-05 09:20:22 +01:00
e1db54c20a
tests/pkg_ubasic: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted at package level
2019-11-05 08:45:12 +01:00
6791662397
pkg/ubasic: blacklist unsupported architectures
AVR8, MSP430, RISV and MIPS are excluded because of missing features in their respective toolchains
2019-11-05 08:45:12 +01:00
6acf47e8f6
Merge pull request #12638 from aabadie/pr/make/application_name_tests
tests: use common APPLICATION definition + enforce the pattern with CI check
2019-11-05 08:20:54 +01:00
d69254b9df
tools/buildsystem_sanity_check: add check for APPLICATION in tests
This check verifies the APPLICATION variable is not set by tests application Makefiles. These applications should include the common test Makefile, where this variable is automatically set
2019-11-05 07:59:57 +01:00
3b42755d84
tests/driver_sht2x: cleanup how required features are set 2019-11-05 07:59:57 +01:00
33982a965d
tests/Makefile.tests_common: fix indent 2019-11-05 07:59:57 +01:00
49f1f4a9e0
tests: don't define APPLICATION in application Makefile
The right way is to include the common test Makefile where the application is automatically defined.
2019-11-05 07:59:57 +01:00
Benjamin Valentin
7b60214d94 unittests: add test for luid module 2019-11-04 21:08:33 +01:00
Benjamin Valentin
38e94d09db sys/luid: provide luid_get_eui48() and luid_get_eui64()
The most common use case for luid is to generate those
addresses, so provide helper functions for it.
2019-11-04 21:08:23 +01:00
Benjamin Valentin
f6e7be9a06 sys/luid: allow to overwrite luid_base()
This allows to overwrite luid_base() with a function that reads an
ID from e.g. a EUI64MAC chip if no CPU ID is available.
2019-11-04 21:07:23 +01:00
Benjamin Valentin
9fb01b6d1c eui64: Add address flag helper functions 2019-11-04 20:58:34 +01:00
Martine Lenders
ca37cde142 gnrc_sixlowpan_frag_fb: introduce function to get entry by tag 2019-11-04 20:04:39 +01:00
Martine Lenders
8c3dc66ad8 gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
The name `fragment_msg` or `frag_msg`/`msg_frag` always to me was a bit
misplaced, as it basically implements an asynchronous fragmentation
buffer and doesn't necessarily have anything to do with messages.
This change

1. changes the name to `fb` (for fragmentation buffer)
2. factors its code out to its own sub-module so it can be re-used by
   other 6LoWPAN fragmentation schemes like [Selective Fragment
   Recovery]

[Selective Fragment Recovery]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-05
2019-11-04 20:04:37 +01:00
Martine Lenders
79c8fc5405
Merge pull request #12599 from miri64/gnrc_sixlowpan_frag/enh/remove-code-dup
gnrc_sixlowpan_frag: various optimizations and clean-ups on sending
2019-11-04 19:54:33 +01:00
b8b7606a7c
Merge pull request #12608 from aabadie/pr/pkg/hacl_arch_32bit
pkg: tests: handle arch requirements at pkg level, remove useless board blacklist
2019-11-04 15:20:03 +01:00
Benjamin Valentin
5ec9f62a0b cpu/lpc2387: add UART register map 2019-11-04 01:21:08 +01:00
Leandro Lanzieri
d8e39f1b37
Merge pull request #12635 from kb2ma/gcoap/obs_attribute_doc
net/gcoap: refine doc for 'obs' link attribute
2019-11-03 18:13:45 +01:00
Ken Bannister
b354b8bd1a net/gcoap: refine doc for 'obs' link attribute 2019-11-03 09:28:02 -05:00
benpicco
9ca805b2d9
Merge pull request #12633 from gschorcht/boards/esp32-wroom-32/doc-fix
boards/esp32-wroom-32: fixes a broken image link
2019-11-03 14:33:25 +01:00
Gunar Schorcht
7d63158e06 boards/esp32-wroom-32: fixes a broken image link 2019-11-02 18:31:45 +01:00
benpicco
926bdc9a9f
Merge pull request #12579 from bergzand/pr/stm32/lpclk_en_dis
stm32/cpu: Add functions for low power mode clock config
2019-11-01 23:16:37 +01:00
799823b630
stm32/cpu: Add functions for low power mode clock config 2019-11-01 20:19:41 +01:00
Martine Lenders
2a1e002d6d
Merge pull request #12627 from miri64/gnrc_sixlowpan_iphc_nhc/enh/frag+iphc-payload_len
gnrc_sixlowpan_iphc_nhc: determine UDP hdr length from RB
2019-11-01 19:47:08 +01:00
Martine Lenders
1b02acf497
Merge pull request #12630 from miri64/gnrc_sixlowpan_iphc/cleanup/duplicate-netif-get
gnrc_sixlowpan_iphc: remove duplicate gnrc_netif_hdr_get_netif()
2019-11-01 19:46:52 +01:00
Martine S. Lenders
f33111a9c2 gnrc_sixlowpan_iphc: remove duplicate gnrc_netif_hdr_get_netif()
The interface is already fetched in the beginning of the function and
doesn't change during its run, so getting the interface again at this
point is just redundant.
2019-11-01 18:29:44 +01:00
benpicco
865059fc66
Merge pull request #11230 from maribu/xtimer_msg_deps
sys/xtimer: Remove dependency to core_msg
2019-11-01 15:22:10 +01:00
Martine S. Lenders
806f33fce4 gnrc_sixlowpan_iphc_nhc: determine UDP hdr length from RB
When decoding IPHC in a fragmented datagram, relying on the size of the
allocated space for the decoded packet is wrong when fragments are
forwarded and decoded on an intermediate node (for which the reassembly
buffer's space is used): Using the full datagram size for allocation in
this case would be wasteful, so the allocated space is only marginally
larger than the fragment's compressed form.
This in turn results in the wrong UDP payload size being chosen and
even worse being forwarded to the subsequent nodes.

This change uses the (virtual) reassembly buffer's `datagram_size`
instead of relying on the allocated space for the encoded
datagram/fragment.
2019-11-01 13:18:00 +01:00
benpicco
3a87e2d2e6
Merge pull request #12624 from miri64/sock_async/fix/compile-time-errors
sock_async: fix compile-time errors
2019-10-31 21:26:05 +01:00
Marian Buschsieweke
2c3712d55d
tests/xtimer_hang: Disabled module core_msg
Enforce that xtimer is usable without module core_msg
2019-10-31 19:55:50 +01:00
Marian Buschsieweke
cd1ce6b98d
sys/xtimer: Remove dependency to core_msg
When module `core_msg` is not used, `xtimer` now no longer provides the features
related to messages. This allows using `xtimer` without `core_msg`.
2019-10-31 19:55:50 +01:00
Sebastian Meiling
ca696f827b
Merge pull request #12193 from leandrolanzieri/pr/gcoap/obs
gcoap: Add 'obs' attribute in example and extend documentation
2019-10-31 18:14:23 +01:00
Martine S. Lenders
de47681d03 sock_async: fix compile-time errors 2019-10-31 16:01:49 +01:00
benpicco
6ba94b37f2
Merge pull request #12622 from jue89/bugfix/riotboot-slot-size
sys/riotboot: Fixed flashwrite_slotsize to return size of slot 1
2019-10-31 14:00:11 +01:00