Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

2 participants