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

Add CMake presets. #2984

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Add CMake presets. #2984

merged 3 commits into from
Feb 14, 2025

Conversation

HiFiPhile
Copy link
Collaborator

Describe the PR
Add CMake presets for easier build.

Now examples can be built in one line, such as cmake --workflow --preset stm32c071nucleo or cmake --build --preset stm32c071nucleo -t audio_4_channel_mic-jlink for flashing.

Additional context
IAR now has a dropdown preset menu for quick board switching.

Signed-off-by: HiFiPhile <admin@hifiphile.com>
Signed-off-by: HiFiPhile <admin@hifiphile.com>
Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

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

This is brilliant !! Thank you, this can help to make building with ci easier. Thought the gen_presets.py need to be updated to genertae correct path to presets that in collective examples

Signed-off-by: HiFiPhile <admin@hifiphile.com>
Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

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

look great, thank you

@hathach hathach merged commit 9d2fd6c into hathach:master Feb 14, 2025
107 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants