Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
...
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00
15124e4769
Merge pull request #15002 from kaspar030/pr/xfa_v3
...
core: introduce crossfile arrays (xfa) v3
2021-02-18 14:49:22 +01:00
Francisco Molina
1d8448d449
tests/unittests/tests-flashpage: require periph_flashpage
...
The test uses module functions, so require it.
2021-02-16 18:52:53 +01:00
Joakim Nohlgård
12a2243485
unittests: Add XFA tests
2021-02-16 14:55:26 +01:00
Sören Tempel
0d141bf93a
clif: Don't access any data if input is empty
...
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
...
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
...
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3
boards: add cc1350-launchpad
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Benjamin Valentin
ae4d7ee116
Makefile.ci: add zigduino
2021-02-09 15:26:03 +01:00
Sören Tempel
767e700a5f
clif: After incrementing pos, make sure it is still in bounds
...
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host
2021-02-05 13:32:49 +01:00
Sören Tempel
333572e091
uri_parser: check if uri is long enough to even contain a ://
...
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Benjamin Valentin
d3ca85ad65
tests: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
...
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
...
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Benjamin Valentin
33fec8b9dc
boards/samd20-xpro: add support for SAM D20 Xplained Pro
2021-01-21 20:29:15 +01:00
Bas Stottelaar
6a285369ab
unittests: extend tests for saul_reg
2021-01-18 22:31:11 +01:00
Jose Alamos
59d5a808a7
tests/unittest/ieee802154: add tests for RSSI and dBm conversion
2021-01-13 14:14:45 +01:00
d1fe44fbbb
tests/unittests/tests-clif: use ARRAY_SIZE macro
2021-01-08 14:37:33 +01:00
Bas Stottelaar
74e1ac29ac
tests: add to BOARD_INSUFFICIENT_MEMORY
2021-01-06 23:44:54 +01:00
Benjamin Valentin
48c33ae0a2
sys/base64: drop padding for base64url encoding
...
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Benjamin Valentin
0c36a57e4e
tests: add samd10-xmini to Makefile.ci
2020-12-11 18:33:31 +01:00
71f6b73251
Merge pull request #15519 from benpicco/byteorder_letoh
...
sys/byteorder: add helpers to convert from little endian to host byte order
2020-12-08 12:52:32 +01:00
2d551ec125
tests/core: Add tests for little endian functions
2020-12-08 11:26:20 +01:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
...
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
Benjamin Valentin
c27ea1afa1
examples, tests: add e104-bt5011a-tb to Makefile.ci
2020-12-01 18:28:41 +01:00
b0b19203a7
Merge pull request #15190 from benpicco/boards/wefun-f401cc
...
boards/common/weact-f4x1cx: create common WeAct boards
2020-12-01 12:03:38 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
...
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Benjamin Valentin
851e2c5a9a
boards/weact-f401cc: add WeAct-f401cc
2020-12-01 11:02:09 +01:00
Benjamin Valentin
374d032b82
tests/tests-ieee802154: drop custom byteorder_htols() implementation
...
The function is now available through byteorder.h
2020-11-29 21:41:33 +01:00
73d36eac38
tests/unittests: exclude arduino-nano-33-iot
2020-11-27 08:45:07 +01:00
Bas Stottelaar
ff26819f7f
tests: add to unsupported boards
2020-11-23 00:36:20 +01:00
Benjamin Valentin
f9c36f9738
netopt: add NETOPT_BATMON
...
Many radios have a built-in battery monitor.
Add a netopt to configure it.
2020-11-13 22:59:09 +01:00
Gilles DOFFE
631e882844
tests: examples: remove stm32mp157c-dk2 for mem leak
...
stm32mp157c-dk2 has not enough memory to build this apps.
However as the stm32mp157xx cpu line has no flash, a part of RAM
is considered as ROM. Thus ROM size could be extend to suit this
apps needs.
Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
cab254003f
tests/unittests: remove atomic-utils from unittests
2020-11-13 08:47:18 +01:00
792e031a95
Merge pull request #14331 from maribu/atomic_utils
...
sys/atomic_utils: Functions for atomic access
2020-11-12 21:44:53 +01:00
Martine Lenders
37dd848c37
Merge pull request #15337 from cgundogan/pr/uri_parser_interfaces
...
uri_parser: extend for parsing interfaces in IPv6 addresses
2020-11-12 11:16:52 +01:00
Cenk Gündoğan
d18ad54184
unittests: Makefile.ci: do not link cc1312/52-launchpad
2020-11-12 10:09:17 +01:00
Cenk Gündoğan
1da3738619
unittests: uri_parser: extend for interfaces
2020-11-11 22:47:30 +01:00
Bas Stottelaar
b6befac515
tests/unittests: add to BOARD_INSUFFICIENT_MEMORY
2020-11-10 22:59:46 +01:00
Marian Buschsieweke
07fc051e97
tests/unittests: Added unit test for atomic_utils
2020-11-10 10:55:14 +01:00
Benjamin Valentin
3a8f74da0c
tests/unittests/tests-fib_sr: convert to xtimer_msleep()
2020-11-05 11:34:50 +01:00
Martine Lenders
1070e287f4
Merge pull request #15342 from miri64/gnrc_pkt/enh/tests
...
gnrc_pkt: port to list.h
2020-11-03 17:49:40 +01:00
Leandro Lanzieri
f14c898dd0
sys/net/ipv6: add ipv6_addr_from_buf function
...
This allows to parse IPv6 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Leandro Lanzieri
4305fcc010
sys/net/ipv4: add ipv4_addr_from_buf function
...
This allows to parse IPv4 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Martine Lenders
3be898757f
tests/unittests: add tests for new pkt operations
2020-10-29 18:06:35 +01:00
Bas Stottelaar
fdd467167d
tests/unittests: remove board from BOARD_INSUFFICIENT_MEMORY
2020-10-26 19:42:09 +01:00
benpicco
d0521af974
Merge pull request #9012 from gebart/pr/frdm-kl43z
...
frdm-kl43z: NXP Kinetis FRDM-KL43Z development board
2020-10-26 00:06:46 +01:00
Joakim Nohlgård
f006938936
frdm-kl43z: NXP Kinetis FRDM-KL43Z development board
...
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/l-seriesultra-low-powerm0-plus/freedom-development-platform-for-kinetis-kl43-kl33-kl27-kl17-and-kl13-mcus:FRDM-KL43Z
2020-10-25 00:38:22 +02:00
Bas Stottelaar
4cce485b6f
tests/*: realign ENABLE_DEBUG
2020-10-23 11:27:48 +02:00