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

merge 1.5.5 into master #74

Merged
merged 8 commits into from
May 3, 2021
Merged

merge 1.5.5 into master #74

merged 8 commits into from
May 3, 2021

Conversation

bxparks
Copy link
Owner

@bxparks bxparks commented May 3, 2021

  • 1.5.5 (2021-05-03)
    • Prevent accidental inclusion of HardwareSerial class (via the Serial
      global variable). Remove reference to SERIAL_PORT_MONITOR from
      Printer::sPrinter. Move reference to SERIAL_PORT_MONITOR from
      TestRunner.cpp to TestRunner.h. Saves about 800 bytes on AVR applications
      which don't use Serial at all.
    • Activate
      GitHub Discussions
      for this project.
    • Blacklist all other platforms using ArduinoCore-API (e.g. RP2040) to
      generate a user-friendly error message instead of pages of obscure
      compiler errors.

bxparks added 8 commits March 2, 2021 20:45
Remove reference to `SERIAL_PORT_MONITOR` from `Printer.cpp`. Add it to the
`setupRunner()` method in the `TestRunner.h` header file. Move any
implementation code that references `setupRunner()` (i.e. `listTests()` and
`runTest()`) from `TestRunner.cpp` to `TestRunner.h`.

Saves about 800 bytes of flash on AVR programs which do not use the Serial port
at all. Saves about 3kB on ESP8266 and 5kB on ESP32, but the flash savings are
not as important on these processors because of their high flash memory
capacity.
@bxparks bxparks merged commit ebd0aac into master May 3, 2021
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.

1 participant