-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys/usbus: changed approach of default activation of stdio_cdc_acm in Kconfig #19038
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
include $(RIOTBOARD)/common/arduino-zero/Makefile.features | ||
|
||
FEATURES_PROVIDED += highlevel_stdio | ||
|
||
# This configuration enables modules that are only available when using Kconfig | ||
# module modelling | ||
ifeq (1, $(TEST_KCONFIG)) | ||
KCONFIG_ADD_CONFIG += $(RIOTBOARD)/common/samdx1-arduino-bootloader/samdx1-arduino-bootloader.config | ||
endif |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ menuconfig MODULE_USBUS | |
bool "USB Unified Stack (USBUS)" | ||
depends on TEST_KCONFIG | ||
depends on HAS_PERIPH_USBDEV || MODULE_USBDEV_MOCK | ||
default y if TEST_KCONFIG && HAS_HIGHLEVEL_STDIO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again, no need to add the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, logically this doesn't make sense. Wouldn't I only bring in the Though I understand that we assume everything we build has some STDIO or console or something. |
||
select MODULE_CORE_THREAD_FLAGS | ||
select MODULE_EVENT | ||
select MODULE_LUID | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,7 @@ endif # KCONFIG_USEMODULE_USBUS_CDC_ACM | |
config MODULE_USBUS_CDC_ACM | ||
bool "USB CDC ACM support" | ||
depends on MODULE_USBUS | ||
default y if TEST_KCONFIG && HAS_HIGHLEVEL_STDIO | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also don't need |
||
select MODULE_TSRB | ||
|
||
# extend STDIO options | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need the
TEST_KCONFIG
as it is defined above in the menu.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me this reads as "If I want to use STDIO and I have
HIGHLEVEL_STDIO
then I would like to use the STDIO_CDC_ACM" that
choice STDIO_IMPLEMENTATION` can be overridden in the future or for specific boards to say:so I guess that works