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

36553 Commits

Author SHA1 Message Date
Francisco Molina
c9de733c52 cpu/nrf52/Makefile.dep: move radio dependencies from boards/common 2021-09-29 10:16:31 +02:00
Francisco Molina
36d1911e65 dirvers/mtd: use imply instead of select
Using imply allow for user to deselect the default MTD backends
2021-09-29 10:13:51 +02:00
Francisco
0b7eb2bbc9
Merge pull request #16836 from fjmolinas/pr_kconfig_mtd
drivers/mtd: fix Kconfig dependencies
2021-09-22 10:08:14 +02:00
Francisco Molina
14ef09b8b4 drivers/mtd: fix Kconfig dependencies
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.

There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Francisco Molina
af746208dc tests/mtd_raw: add Kconfig 2021-09-22 09:22:15 +02:00
benpicco
3090657b79
Merge pull request #16848 from benpicco/mtd_write_page-sector
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 16:50:12 +02:00
Benjamin Valentin
969d61b95a tests/mtd_raw: add test for mtd_write_page() across sectors 2021-09-21 15:20:02 +02:00
Benjamin Valentin
6f9b05cad8 mtd: fix mtd_write_page() across sector boundaries 2021-09-21 15:20:02 +02:00
Martine Lenders
fb05da46e3
Merge pull request #16874 from leandrolanzieri/pkg/tinydtls/fix_kconfig_detection
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 13:07:23 +02:00
Leandro Lanzieri
450884acf5
pkg/tinydtls: fix detection of Kconfig usage 2021-09-21 11:57:31 +02:00
Francisco
2d0a6874c7
Merge pull request #16763 from benpicco/drivers/lm75-saul
drivers/lm75: add SAUL integration
2021-09-21 10:41:58 +02:00
Benjamin Valentin
79c67429a0 tests/driver_lm75: don't abort if alarm pin is not connected 2021-09-20 14:50:23 +02:00
Francisco
92fc4ace65
Merge pull request #16871 from fjmolinas/pr_edhoc_llvm
pkg/edhoc-c: ignore llvm flagged error
2021-09-20 12:13:33 +02:00
Francisco Molina
ea86dad7fd pkg/edhoc-c: ignore llvm flagged error 2021-09-20 11:34:30 +02:00
Martine Lenders
dc22c7294c
Merge pull request #16263 from leandrolanzieri/pr/sys/credman_add_pub_key_load
sys/credman: add key load functions
2021-09-20 10:03:12 +02:00
Leandro Lanzieri
e0b9d8b602
tests/unittests/credman: add tests for key load functions 2021-09-20 08:11:01 +02:00
Leandro Lanzieri
9980aa35b3
sys/net/credman: add key loading functions
This allows to load private and public keys encoded in DER format.
2021-09-20 08:10:59 +02:00
chrysn
b6dee72161
Merge pull request #16869 from chrysn-pull-requests/802154_submac-docs-syntax
ieee802154_submac doc: Make readable in doxygen builds
2021-09-19 11:11:22 +02:00
chrysn
eaf6219af3 ieee802154_submac doc: Make readable in doxygen builds 2021-09-18 21:32:26 +02:00
Martine Lenders
7bf1fad7cc
Merge pull request #16839 from haukepetersen/opt_nimble_scannererrno
nimble/scanner: migrate to errno return values
2021-09-17 16:22:29 +02:00
benpicco
bcb46460b7
Merge pull request #16859 from haukepetersen/fix_nimble_addr_byteorder
nimble/addr|scanlist: fix nimble_addr_sprint() and use in nimble_scanlist_print()
2021-09-17 14:53:26 +02:00
Hauke Petersen
8ac2ad8531 shell/sc_nimble_netif: adapt to scanner API change 2021-09-17 14:46:05 +02:00
Hauke Petersen
2de3275c1e nimble/scanner: migrate to use errno return values 2021-09-17 14:46:05 +02:00
Hauke Petersen
8694af52c6 nimble/scanner: rename and optimize status func 2021-09-17 14:46:05 +02:00
benpicco
ea80df1780
Merge pull request #16824 from benpicco/gnrc_netif_ipv6_wait_for_prefix
gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
2021-09-17 14:32:53 +02:00
Martine Lenders
a606d8a8ea
Merge pull request #16865 from benpicco/drivers/cc110x-submodules
drivers/cc110x: use pseudo-modules for band selection
2021-09-17 13:54:42 +02:00
Martine Lenders
75c9aaceb4
Merge pull request #15946 from jia200x/pr/gnrc_lorawan_redundancy
net/gnrc_lorawan: implement unconfirmed uplink redundancy
2021-09-17 13:38:10 +02:00
Benjamin Valentin
ea3e23eda3 tests: add test for gnrc_netif_ipv6_wait_for_global_address() 2021-09-17 13:00:15 +02:00
Benjamin Valentin
9c783ac7c4 gnrc/netif: accept const addr in gnrc_netif_ipv6_addr_add/remove() 2021-09-17 13:00:15 +02:00
Benjamin Valentin
4bd53e70fa gnrc/netif: add gnrc_netif_ipv6_wait_for_global_address()
This adds a function to wait until a global address becomes available.
2021-09-17 13:00:14 +02:00
Benjamin Valentin
25a5df2166 boards: select 868 MHz band for CC110x 2021-09-17 12:58:10 +02:00
Benjamin Valentin
67f737b5e0 drivers/cc110x: use pseudo-modules for band selection 2021-09-17 12:58:10 +02:00
chrysn
f93d1276b4
Merge pull request #16867 from miri64/dist/enh/use-fstrings-where-warned
dist/tools: use f-strings where possible
2021-09-17 12:34:17 +02:00
Martine Lenders
5204c29890
dist/tools/compile_and_test_for_board: use f-strings where possible 2021-09-17 12:04:04 +02:00
Martine Lenders
9254cffdda
dist/tools/backport_pr: use f-strings where possible 2021-09-17 12:04:04 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
benpicco
d8000e74ca
Merge pull request #16825 from viktorbatista/lm75_again
drivers/lm75: fixed a typo in Kconfig
2021-09-16 22:28:45 +02:00
benpicco
1c4293b0a4
Merge pull request #16847 from jeandudey/2021_09_14-doc-adafruit-clue
boards/adafruit-clue: fix doxygen warnings
2021-09-16 22:27:42 +02:00
benpicco
b6a2d08afc
Merge pull request #15915 from fabian18/ina3221-fixes
drivers/ina3221: style fixes and improvements
2021-09-16 22:22:33 +02:00
Martine Lenders
77f7db1e0d
Merge pull request #15981 from miri64/doc/enh/porting-graph
doc/porting-boards.md: improve with porting graph and reference section
2021-09-16 18:53:40 +02:00
Martine Lenders
c844c73629
tests/unittests: provide test cases for ut_process 2021-09-16 18:18:48 +02:00
Martine Lenders
7c60f6031c
ut_process: initial import of a URI template processor 2021-09-16 18:18:48 +02:00
Martine Lenders
aaa9512d50
doc/porting-boards.md: improve with porting graph and reference section 2021-09-16 16:54:42 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
benpicco
ba481dda8b
Merge pull request #16863 from benpicco/cc2538_rfcore
cpu/cc2538: don't pollute global namespace with cc2538_rfcore.h
2021-09-16 16:06:10 +02:00
Benjamin Valentin
97de8afaf6 cpu/cc2538: don't pollute global namespace with cc2538_rfcore.h
`cc2538_rfcore.h` contains enums with non-prefixed single-word constants.
Those cause ugly naming conflicts down the line.
Only include the file when needed, don't include it in `cpu_conf.h` which
gets pulled in everywhere.
2021-09-16 15:31:22 +02:00
benpicco
35656d3462
Merge pull request #16862 from kaspar030/fix_nimble_autoadv_isactive
pkg/nimble: fix `if(IS_ACTIVE(..) && CONSTANT)` with llvm
2021-09-16 15:04:00 +02:00
94e314c914 pkg/nimble: fix if(IS_ACTIVE(..) && CONSTANT) with llvm
Fixes

```
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^  ~~~~~~~~~~~~~~~~~~~~~~~~
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: use '&' for a bitwise operation
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^~
                                             &
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: remove constant to silence this warning
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                            ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-09-16 14:01:33 +02:00
Hauke Petersen
1486c419fa nimble/scanlist: use nimble_addr_print() 2021-09-16 10:29:04 +02:00
Hauke Petersen
0b8af3a3bc nimble/addr: fix byte-order and string termination 2021-09-16 10:23:43 +02:00