-
Notifications
You must be signed in to change notification settings - Fork 13
[RFC] Let's turn mraa's Kconfig options into a dedicated submenu #32
base: master
Are you sure you want to change the base?
[RFC] Let's turn mraa's Kconfig options into a dedicated submenu #32
Conversation
Instead of presenting all our options as a plain list under External Sources, let's make it a dedicated submenu instead, so that users can nicely select things they want. Signed-off-by: Alex Tereschenko <[email protected]>
Signed-off-by: Alex Tereschenko <[email protected]>
Signed-off-by: Alex Tereschenko <[email protected]>
@alext-mkrs I like having dedicated menuconfig entries and in fact, the UPM team talked about this a little bit during early development. As long as this doesn't affect ISSM integration I don't see any issues with the changes. |
Great :) I'd be glad to test the ISSM integration, if you could elaborate on the exact scenario you have in mind (I haven't used ISSM yet, so I'm not sure how exactly it integrates with zmraa). |
@Propanu tell us if this breaks ISSM config, if it does we can delay it into the next release. |
@Propanu, any news to share on this one? Anything I could do to help getting it through? |
@alext-mkrs sorry, I didn't get a chance to confirm this yet. I'll check with @pylbert and @malikabhi05 as they might be able to speed things up a bit and come back with an answer. |
@alext-mkrs, I like these two ways to collapse MRAA (and UPM) into a submenu:
I'm prb fine either way as long as it's the same for MRAA and UPM. It would be nice if we matched the other menu options at the external level. |
Thanks Noel. I've considered using I've also analyzed most of the tree when preparing this and We are heavily in the "like/dislike" zone I think, as you've summarized, neither one has any outstanding technical or maintenance-related pros or cons. I'm also all hands for unifying this for mraa and upm. Purely based on my aestetics outlined above, I'd still support the approach proposed in this PR and I'm ready to implement the same for upm. We could also use a coin toss or other highly technical means of choosing one vs. the other 😄 |
Great summary. Here is another piece of the puzzle. The NEWLIB_LIBC config option can't be selected because it's defined as a 'choice' in zephyr/misc/Kconfig. As such, we should prb remove the 'select NEWLIB_LIBC' from our Kconfig files in favor of a 'depends on NEWLIB_LIBC' at which point, if NEWLIB_LIBC is not selected, users will NOT see the MRAA menuconfig option. We could however show a 'hint' in a menu option:
I've filed a sighting in Zephyr for advice: https://jira.zephyrproject.org/browse/ZEP-1440 |
Ok, looks like Anas has done the needful and we are good to continue using 'select'. Thanks for raising that! |
This one proposes a change I believe will make user experience with configuring mraa options better. Right now we present all options under External Sources as a plain list and that IMHO may mislead the user. My proposal is tu turn the
CONFIG_MRAA
intomenuconfig
and all other options would become sub-items - see screenshots below:I had to remove
select MRAA
everywhere, as that caused options not to be shown in the menu (+we anyway select this in all ourprj*.conf
files).Bundled are two smaller ones, a description correction and an addition of the
NEWLIB_LIBC
, we've discussed in PR #30 (@malikabhi05 mentioned other symbols as well, but let me start with just this one).Let me know what you think on this.