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

move static defines to config.h #37

Merged
merged 6 commits into from
Jan 29, 2025

Conversation

Sylensky
Copy link
Member

Some variables were statically defined in the firmware.ino.
Moved them to the config.h and additionally expand the build environment in platformio.ini with those values.

On top of that let platformio build the compile_commands.json for all of those that use the clang extension in vscode to step into libraries and provide code highlightings.

Requires #29 #30 #36

@Sylensky Sylensky changed the base branch from main to beta January 12, 2025 18:29
@Sylensky Sylensky requested a review from Th0MmyS January 20, 2025 18:11
@Sylensky Sylensky force-pushed the feature/project-configuration branch from 7b064cd to 0b1db89 Compare January 29, 2025 17:35
Move settings to config.h to have one single file for static
configuration values.
Generate the compile_commands.json for the clangd language server.
This bears the feature to highlight variable types and allows
stepping into library code.
Instead of statically assigning the sidereal tracking rate leave
it to the project configuration and the user to pick the tracking
rate.
@Sylensky Sylensky force-pushed the feature/project-configuration branch from 0b1db89 to 34179de Compare January 29, 2025 18:55
esp32_wireless_control/firmware/config.h Outdated Show resolved Hide resolved
@Th0MmyS Th0MmyS merged commit 725068d into OG-star-tech:beta Jan 29, 2025
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