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 multiple configuration options for a minimized build (GPS,WiFi,BT,…,MQTT,Screen) #3469

Merged
merged 5 commits into from Mar 25, 2024

Conversation

jimwhitelaw
Copy link
Contributor

This change follows up on the work to exclude modules and webserver from a minimized build. It provides options to exclude Wifi, Bluetooth, GPS, Screen, and MQTT from hardware that would otherwise support those options. The options can be enabled individually or globally with -DMESHTASTIC_MINIMIZE_BUILD. Tested for unchanged mesh/messaging behaviour on TBeam and Lora32 v2.1-1.6 using CLI test and with other nodes sending messages through the system. I'm unable to test with other hardware currently.

@thebentern
Copy link
Contributor

@jimwhitelaw out of pure curiosity, what is your use case for shedding many of the peripherals for a minimized build? I know we're definitely looking at it as a way to easily cut down on things included in lower resource platforms like STM32.

@jimwhitelaw
Copy link
Contributor Author

@thebentern My project using MT is a remote flag signalling system for motorsports. A network of nodes placed around a racetrack connected to large LED panels that display electronic “flags” to racers. The motivation to minimize is two-fold: 1) to keep the system as closed as possible to prevent any outside intervention with the system (can’t hack WiFi or BT if they aren’t available) and 2) to potentially reduce cpu utilization and flash space to allow for running other code.

I have a working prototype using a custom module that can send and process signal messages and update individual LED panels on a small network of 5 nodes. Configuration is done via serial and uploading pre-built config files for each node. All the nodes will be stationary at known locations so no need for GPS.

I don’t know much about STM32 development currently, but I’m happy to contribute what I can.

With all that being said, since I started working with the project, I’ve become interested in the comms side and will be setting up a couple “permanent” nodes on the MT network and experimenting with that too.

@thebentern thebentern merged commit acc3291 into meshtastic:master Mar 25, 2024
69 checks passed
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.

None yet

2 participants