Conversation
|
ping @maribu |
|
This needs a rebase |
899b27f to
90a7996
Compare
|
Rebased |
|
it seems the rebase introduced some differences, for one the make version of |
|
side note, maybe we should get murdock to run something like |
I added f41b8a2. AFAIU |
|
Some background for the The If code includes I think that the hard dependency on |
This introduces a Kconfig file for boards that cannot reach a timer frequency compatible with xtimer. For those boards, in the case xtimer is pulled, ztimer is used instead (as backend) with a compatibility module.
Modelled boards: arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-nano arduino-uno atmega1284p atmega256rfr2-xpro atmega328p-xplained-mini atmega328p atxmega-a1-xplained atxmega-a1u-xpro atxmega-a3bu-xplained avr-rss2 derfmega128 derfmega256 mega-xplained microduino-corerf zigduino
The option list has been taken from https://code.google.com/archive/p/libfixmath/wikis/CompilationOptions.wiki. The defaults are the current ones.
|
Looks like everything is there, any objections? |
|
Phew. It would have been a pity if that had to go another round just because yet another merge conflict ... |
|
Thanks everyone ! |
| config MODULE_AT24MAC | ||
| bool "AT24MAC unique ID chip" | ||
| bool | ||
| prompt "AT24MAC unique ID chip" if !(MODULE_EUI_PROVIDER && HAVE_AT24MAC) |
There was a problem hiding this comment.
It seems for the same54-xpro, MODULE_MTD would also bring in MODULE_AT24MAC
Contribution description
This models the Kconfig modules for all avr8-based CPUs and boards. I only included a subset of the enabled boards for CI testing, one per modelled CPU model. The complete list is:
A note on driver modelling
This also includes some changes on the modelling of certain drivers. The idea is that platforms can select
HAVE_hidden symbols to indicate on-board hardware, and then drivers can use this information to change their default value (e.g. a sensor driver would enable itself if the platform has it andMODULE_SAUL_DEFAULTis selected). To deal with this default, without falling into this issue, the prompts are hidden. The approach has been discussed offline with @fjmolinas and @MrKevinWeiss, but of course open for discussion.For examples of this see 00b61cc and 0f960c2.
Testing procedure
make info-moduleslist with and withoutTEST_KCONFIG=1, they should match.Issues/PRs references
#16875