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

Minimized build fixes #4049

Merged
merged 4 commits into from
Jun 6, 2024
Merged

Conversation

Talie5in
Copy link
Contributor

@Talie5in Talie5in commented Jun 6, 2024

Was working through configuration.h on the Minimized Builds options and was running into a couple of issues, so fixed up some minor changes to allow it to build correctly.

Made a minor changes to AdminModule.cpp to include modules/PositionModule.h when MESHTASTIC_EXCLUDE_GPS is defined.
Made a minor change to WiFiAPClient.cpp to not attempt to reconnect MQTT if MESHTASTIC_EXCLUDE_MQTT is defined.
Made a minor change to AdminModule.cpp to not attempt to check if MQTT is connected if MESHTASTIC_EXCUDE_MQTT is defined
In MQTT.cpp moved #ifdef HAS_NETWORKING further up the function to catch when EXCLUDE_MESHTASTIC_WIFI is defined.
In main-esp32.cpp created a ifndef and ifdef statement to have the right IF statement when EXCLUDE_MESHTASTIC_WIFI is defined.

No fixes for MESHTASTIC_EXCLUDE_MODULES as there are many to go through.

No issue to link, just cleaning up build issues for minimized builds.

@caveman99 caveman99 merged commit 90d45f2 into meshtastic:master Jun 6, 2024
84 checks passed
@Talie5in Talie5in deleted the minimized_build_fixes branch June 7, 2024 07:19
@Talie5in Talie5in mentioned this pull request Jun 24, 2024
@Talie5in Talie5in mentioned this pull request Jul 5, 2024
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.

3 participants