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

Out of the box for Arduino IDE #25

Merged
merged 8 commits into from
Nov 11, 2024
Merged

Conversation

todd-herbert
Copy link
Contributor

@todd-herbert todd-herbert commented Nov 10, 2024

Should allow direct installation from the Arduino IDE library manager.
Removes additional setup steps which were previously required.

Tested with ESP32 and ESP8266. Untested with Uno R4 and SAMD targets.

  • GitHub Action now bundles NanoPB with library
    Removes setup step

  • Device Only protos excluded during regen
    Avoids reference to std::vector. Problematic with ESP8266(?)

  • ESP32 uses Serial1 instead of software serial
    Removes library dependency

Please let me know if you spot anything concerning, particularly with the GitHub Action and changes to ProtoBufs, as I'm less confident there.


Note: The generated files checked in here are from the workflow file included in this PR.
(https://github.com/todd-herbert/meshtastic-arduino/actions/runs/11764203481)
Not sure what the etiquette is in this case.

todd-herbert and others added 8 commits November 10, 2024 22:25
Bundles NanoPB
Bumps NanoPB to 0.4.9
Remove device only proto, to avoid std::vector on ESP8266
Removes external dependency on plerup/espsoftwareserial, as the ESP8266 arduino core comes bundled with a software serial library.
This is one specific debug log message which is printed repeadetly during connection. It causes the serial input buffer to overflow while we attempt to repeatedly print at 9600 baud.
Copy link
Member

@GUVWAF GUVWAF left a comment

Choose a reason for hiding this comment

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

Thank you very much for this, looks good to me.

The serial fixes also sound good!

@GUVWAF GUVWAF requested a review from caveman99 November 11, 2024 09:27
@GUVWAF GUVWAF merged commit 03f4cbc into meshtastic:master Nov 11, 2024
2 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.

3 participants