Open gnbl opened 4 years ago
This can not be resolved. Blame Atmel for defining BIN as as bit position (7) for the x5 ADC "Bipolar Input Mode". I changed the message and it can be suppressed by commenting out #define SUPPRESS_BIN_WARNING in line 39 in Print.h The "Fix" is included in the new version 1.6.8 of Digistump avr core.
Please close the issue, since this repo is abandoned. Thank you! Armin
Unfortunately this project seems to be unmaintained?
This project/repository seems to be used in PlatformIO (PIO) as
framework-arduino-avr-digistump
. It redefinesBIN
(Print.h#L37) that was previously defined in PIO'stoolchain-atmelavr
(...\toolchain-atmelavr\avr\include\avr\iotnx5.h:55:0). These defines are used in a different context. One solution might be a prefix to use a different "namespace". There does not appear to be a related PR (https://github.com/digistump/DigistumpArduino/pulls).The full warning is as follows:
I don't know how frameworks and toolchains are built for PlatformIO - this appears to be "upstream", but please let me know if there's a better place to report.
References: