Skip to content
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

drivers: bluetooth: add stubs to allow CI testing without blobs #359

Open
wants to merge 1 commit into
base: zephyr
Choose a base branch
from

Conversation

sylvioalves
Copy link
Collaborator

@sylvioalves sylvioalves commented Nov 3, 2024

Add all bluetooth stubs in order to allow building without blobs.

-L${CMAKE_CURRENT_SOURCE_DIR}/../blobs/lib/esp32
)

if (NOT(CONFIG_WIFI_BUILD_ONLY_MODE OR CONFIG_BT_BUILD_ONLY_MODE))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be AND instead of OR?
if only one is in build mode, the lib should be included as well

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or perhaps use only one Kconfig for both cases, such as CONFIG_RF_BUILD_ONLY_MODE

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or even more generic, for any feature that may depend on blobs, that that seems like the ultimate purpose that this is being introduced. E.g. something like CONFIG_BUILD_ONLY_NO_BLOBS.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhedberg please read my previous comment at zephyrproject-rtos/zephyr#80785 (comment)

Update BT driver and add necessary stubs so that
CI can run without binay blobs.

Signed-off-by: Sylvio Alves <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants