pkg/uwb*: add Kconfig dependency modelling#16780
pkg/uwb*: add Kconfig dependency modelling#16780leandrolanzieri merged 6 commits intoRIOT-OS:masterfrom
Conversation
leandrolanzieri
left a comment
There was a problem hiding this comment.
Some initial comments
cpu/nrf5x_common/Kconfig
Outdated
| if TEST_KCONFIG | ||
|
|
||
| config MODULE_CPU_COMMON | ||
| bool "Link nrf5x common code" |
There was a problem hiding this comment.
Not sure that this needs a prompt, as the user would not disable this one:
| bool "Link nrf5x common code" | |
| bool |
| depends on HAS_VDD_LC_FILTER_REG0 | ||
| default y if HAS_VDD_LC_FILTER_REG0 |
There was a problem hiding this comment.
| depends on HAS_VDD_LC_FILTER_REG0 | |
| default y if HAS_VDD_LC_FILTER_REG0 | |
| depends on HAS_VDD_LC_FILTER_REG0 | |
| default y |
| config MODULE_VDD_LC_FILTER_REG1 | ||
| bool | ||
| depends on HAS_VDD_LC_FILTER_REG1 | ||
| default y if HAS_VDD_LC_FILTER_REG1 |
There was a problem hiding this comment.
| default y if HAS_VDD_LC_FILTER_REG1 | |
| default y |
| config MODULE_MYNEWT-CORE | ||
| bool "Apache MyNewy mynewt-core RIOT implementation" | ||
|
|
||
| config MODULE_AUTO_INIT_MYNEWT-CORE | ||
| bool "Auto-initialize the mynewt-core package" | ||
| default y | ||
| depends on MODULE_AUTO_INIT | ||
|
|
||
| config MODULE_MYNEWT-CORE_OS | ||
| bool "mynewt-core kernel module" | ||
|
|
||
| config MODULE_MYNEWT-CORE_UTIL | ||
| bool "mynewt-core utilities modules" |
There was a problem hiding this comment.
Are all these modules optional? Meaning the user should be able to opt-out? or is it contrib? Also, maybe we could make PACKAGE_MYNEWT-CORE a menuconfig and make all these depend on it? would it be correct from the dependency point of view?
|
Will trigger murdock once |
|
There is one dependency I'm not sure how to map since |
|
ping @leandrolanzieri |
It could be that the current modelling is not correct. Is the user supposed to select the mtd interface type (SPI NOR, SD-Card, etc.), or just the |
@benpicco @bergzand you have touched mtd If I recall correctly, any opinions? |
|
Rebased and squashed... maybe you can give it a clean look @leandrolanzieri? |
|
The sema issue relates to #16891, will think of a solution for that... |
sema currently does not depend on xtimer, but on xtimer or ztimer
87d1654 to
475cedf
Compare
|
@leandrolanzieri ok to squash? |
Anything pending to get this in? |
|
as the fixup is pretty small please squash! |
8b73c86 to
3d38765
Compare
examples/twr_aloha/app.config.test
Outdated
| @@ -0,0 +1,13 @@ | |||
| CONFIG_PACKAGE_UWB-CORE=y | |||
| CONFIG_PACKAGE_MYNEWT-CORE=y | |||
There was a problem hiding this comment.
Do you need this? the Makefile doesn't have it and it seems to be brought in anyways
5377f28 to
8efe255
Compare
leandrolanzieri
left a comment
There was a problem hiding this comment.
Looks good, thanks @fjmolinas for this one! ACK
|
Thanks for the review @leandrolanzieri!! |
Contribution description
This PR models dependency in Kconfig related to uwb-core/uwb-dw1000 package, since this runs only on
dwm1001so far this PR goes throgh modelling dependencies for:mynewt-coreuwb-coreuwb-dw1000nrf52(excluding netif related dependencies)FEEDBACK wanted:
selectfor the packages, I think its fine since those titely coupledxtimerorztimerare included, should I leave it as is? Maybe add a comment?Testing procedure
Binaries are the same:
Issues/PRs references
Depends on #16719 (for the DEVELHELP commit)