Closed dontsovcmc closed 4 years ago
Sorry, can't reproduce that with either the code from that repo from either the 21st of Oct, or the current version of it, with either the stock or the platformio.ini configuration you supplied. Is this still not working for you @dontsovcmc? The first error <command-line>:0:16: error: token ";" is not valid in preprocessor expressions
is hinting that there is a ;
where it shouldn't be, which is probably cascading through, causing all the subsequent errors.
Processing attiny85 (platform: https://github.com/platformio/platform-atmelavr.git#v1.15.0; board: attiny85; framework: arduino)
-------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/attiny85.html
PLATFORM: Atmel AVR 1.15.0 #299ca85 > Generic ATtiny85
HARDWARE: ATTINY85 1MHz, 512B RAM, 8KB Flash
PACKAGES: toolchain-atmelavr 1.50400.190710 (5.4.0), framework-arduinoavr 4.1.2
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Wire> 1.0
|-- <EEPROM> 2.0
Building in release mode
Compiling .pio/build/attiny85/src/Power.cpp.o
Compiling .pio/build/attiny85/src/SlaveI2C.cpp.o
Compiling .pio/build/attiny85/src/Storage.cpp.o
Compiling .pio/build/attiny85/src/main.cpp.o
In file included from src/Storage.h:5:0,
from src/SlaveI2C.cpp:3:
/home/pfeerick/.platformio/packages/framework-arduinoavr/libraries/__cores__/tiny/EEPROM/EEPROM.h:145:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^
Compiling .pio/build/attiny85/lib88b/Wire/USIWire.cpp.o
Compiling .pio/build/attiny85/lib88b/Wire/USI_TWI_Master/USI_TWI_Master.c.o
Compiling .pio/build/attiny85/lib88b/Wire/USI_TWI_Slave/USI_TWI_Slave.c.o
Compiling .pio/build/attiny85/lib88b/Wire/Wire.cpp.o
Compiling .pio/build/attiny85/lib88b/Wire/WireS.cpp.o
Compiling .pio/build/attiny85/lib88b/Wire/twi.c.o
Archiving .pio/build/attiny85/lib485/libEEPROM.a
Archiving .pio/build/attiny85/libFrameworkArduinoVariant.a
Indexing .pio/build/attiny85/lib485/libEEPROM.a
Indexing .pio/build/attiny85/libFrameworkArduinoVariant.a
Compiling .pio/build/attiny85/FrameworkArduino/HardwareSerial.cpp.o
Archiving .pio/build/attiny85/lib88b/libWire.a
Compiling .pio/build/attiny85/FrameworkArduino/Print.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/Stream.cpp.o
Indexing .pio/build/attiny85/lib88b/libWire.a
Compiling .pio/build/attiny85/FrameworkArduino/TinySoftwareSerial.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/Tone.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/WInterrupts.c.o
Compiling .pio/build/attiny85/FrameworkArduino/WMath.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/WString.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/abi.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/main.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/new.cpp.o
Compiling .pio/build/attiny85/FrameworkArduino/wiring.c.o
Compiling .pio/build/attiny85/FrameworkArduino/wiring_analog.c.o
Compiling .pio/build/attiny85/FrameworkArduino/wiring_digital.c.o
Compiling .pio/build/attiny85/FrameworkArduino/wiring_pulse.c.o
Compiling .pio/build/attiny85/FrameworkArduino/wiring_shift.c.o
Archiving .pio/build/attiny85/libFrameworkArduino.a
Indexing .pio/build/attiny85/libFrameworkArduino.a
Linking .pio/build/attiny85/firmware.elf
Checking size .pio/build/attiny85/firmware.elf
Building .pio/build/attiny85/firmware.hex
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [======= ] 73.6% (used 377 bytes from 512 bytes)
PROGRAM: [===== ] 48.5% (used 3974 bytes from 8192 bytes)
=========================================== [SUCCESS] Took 2.39 seconds ===========================================
@pfeerick thanks for remember! It was this error: https://github.com/platformio/platformio-core/issues/3213 I wrote incorrect platformio.ini file in issuu: without comments which were a reason of error.
Oh, nasty one... I remember seeing that issue... nice to know it's fixed! Thanks! :)
Configuration
Operating system: MacOS
PlatformIO Version (
platformio --version
): 4.0.3Description of problem
Failed to build project after update..
Steps to Reproduce
Actual Results
If problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info
platformio from command line works good
Remove VSCode, remove /Users/dontsov/.platformio, install VSCode, Platformio Extension don't help.