Skip to content

Simplify standaline BT examples #667

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

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

Conversation

peterharperuk
Copy link
Contributor

Move client and server to their own folder
Get rid of the wifi stuff

Move client and server to their own folder
Get rid of the wifi stuff
@peterharperuk peterharperuk added this to the 2.1.2 milestone Jul 14, 2025
@peterharperuk
Copy link
Contributor Author

vscode seems to have problems importing these examples - simplify them to make it easier

Comment on lines +14 to +16
target_include_directories(picow_ble_temp_reader PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.. # For btstack config
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that this will actually make it harder for VS Code to import, due to dependence on files out of the directory - could this be changed to something similar to how the wifi examples have a local lwipopts.h which just includes a common lwipopts_examples_common.h, so then VS Code can copy a standard file across (like it currently does for lwipopts)?

Suggested change
target_include_directories(picow_ble_temp_reader PRIVATE
${CMAKE_CURRENT_LIST_DIR}/.. # For btstack config
)
target_include_directories(picow_ble_temp_reader PRIVATE
${CMAKE_CURRENT_LIST_DIR}
${CMAKE_CURRENT_LIST_DIR}/.. # For common btstack config
)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes - will do

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.

2 participants