You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The traditional Java-based Arduino IDE has long supported a not-so-well-known feature to print additional explanatory text with certain compiler errors. I would like to request this feature be implemented in arduino-cli.
Here is the specific Java code which adds those messages.
Because these messages were never designed to be configurable, for many years Teensy's installer has added Teensy-specific messages by patching the Java code! Here are the messages Teensy currently uses:
My hope is this feature can be configured by platform.txt recipes pairs (match regex & message to print) and documented in the platform specification, so everyone can make use of it.
The text was updated successfully, but these errors were encountered:
The traditional Java-based Arduino IDE has long supported a not-so-well-known feature to print additional explanatory text with certain compiler errors. I would like to request this feature be implemented in arduino-cli.
Here is the specific Java code which adds those messages.
https://github.com/arduino/Arduino/blob/18f55445ab95b193671306688f2a8f4877e95e17/arduino-core/src/cc/arduino/Compiler.java#L528
Because these messages were never designed to be configurable, for many years Teensy's installer has added Teensy-specific messages by patching the Java code! Here are the messages Teensy currently uses:
PaulStoffregen/Arduino-1.8.19-Teensyduino@482d4b2#diff-65f206bfa6cdb316d60c8ad8201572804091992e62c26967338dff4a167aea39R712
My hope is this feature can be configured by platform.txt recipes pairs (match regex & message to print) and documented in the platform specification, so everyone can make use of it.
The text was updated successfully, but these errors were encountered: