Skip to content

Minimized build fixes#4049

Merged
caveman99 merged 4 commits into
meshtastic:masterfrom
Talie5in:minimized_build_fixes
Jun 6, 2024
Merged

Minimized build fixes#4049
caveman99 merged 4 commits into
meshtastic:masterfrom
Talie5in:minimized_build_fixes

Conversation

@Talie5in

@Talie5in Talie5in commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

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
@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
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
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