Skip to content

Fix GATT_PATH error #2366 #2385

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

Merged
merged 1 commit into from
Apr 4, 2025
Merged

Fix GATT_PATH error #2366 #2385

merged 1 commit into from
Apr 4, 2025

Conversation

will-v-pi
Copy link
Contributor

Set default GATT path to CMAKE_CURRENT_LIST_DIR if not specified

This sets the GATT_PATH variable to the calling directory when just a filename is provided with no path, as CMAKE_CURRENT_LIST_DIR refers to the calling CMakeLists.txt, not the function CMakeLists.txt

Fixes #2366

This ensures the GATT_PATH variable is set to the calling directory when just a filename is provided with no path

Fixes #2366
@will-v-pi will-v-pi added this to the 2.1.2 milestone Mar 31, 2025
@will-v-pi will-v-pi requested a review from kilograham March 31, 2025 08:43
@kilograham kilograham merged commit 701c193 into develop Apr 4, 2025
8 checks passed
@kilograham kilograham deleted the gatt-workdir branch April 4, 2025 16:36
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.

pico_btstack_make_gatt_header broken when specifying files without path
3 participants