C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `__vector_12'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `wdt_count'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `resetWatchdog()'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `setup'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `loop'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `slaveI2C'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Используем библиотеку Wire версии 1.0 из папки: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire
Используем библиотеку EEPROM версии 2.0 из папки: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\EEPROM
exit status 1
Ошибка компиляции для платы ATtiny25/45/85 (No bootloader).
При компиляции в Arduino IDE 1.8.9 вылазиет вот такая куча ошибок.
Arduino: 1.8.9 (Windows 10), Плата:"ATtiny25/45/85 (No bootloader), Enabled, CPU (CPU frequency), ATtiny85, 1 MHz (internal), EEPROM retained, B.O.D. Disabled (saves power), Enabled"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\eugen\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\eugen\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\eugen\Documents\Arduino\libraries -fqbn=ATTinyCore:avr:attinyx5:LTO=enable,TimerClockSource=default,chip=85,clock=1internal,eesave=aenable,bod=disable,millis=enabled -ide-version=10809 -build-path C:\Users\eugen\AppData\Local\Temp\arduino_build_19406 -warnings=none -build-cache C:\Users\eugen\AppData\Local\Temp\arduino_cache_329643 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.micronucleus.path=C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.0a4 -prefs=runtime.tools.avr-gcc.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\eugen\Documents\Arduino\waterius\src\src.ino C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\eugen\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\eugen\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\eugen\Documents\Arduino\libraries -fqbn=ATTinyCore:avr:attinyx5:LTO=enable,TimerClockSource=default,chip=85,clock=1internal,eesave=aenable,bod=disable,millis=enabled -ide-version=10809 -build-path C:\Users\eugen\AppData\Local\Temp\arduino_build_19406 -warnings=none -build-cache C:\Users\eugen\AppData\Local\Temp\arduino_cache_329643 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.micronucleus.path=C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.0a4 -prefs=runtime.tools.avr-gcc.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avrdude.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\eugen\Documents\Arduino\waterius\src\src.ino Using board 'attinyx5' from platform in folder: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1 Using core 'tiny' from platform in folder: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1 Detecting libraries used... "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DCLOCK_SOURCE=0 -DARDUINO=10809 -DARDUINO_AVR_ATTINYX5 -DARDUINO_ARCH_AVR -DNEOPIXELPORT=PORTB "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\cores\tiny" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\variants\tinyX5" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp" -o nul "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DCLOCK_SOURCE=0 -DARDUINO=10809 -DARDUINO_AVR_ATTINYX5 -DARDUINO_ARCH_AVR -DNEOPIXELPORT=PORTB "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\cores\tiny" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\variants\tinyX5" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp" -o nul "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DCLOCK_SOURCE=0 -DARDUINO=10809 -DARDUINO_AVR_ATTINYX5 -DARDUINO_ARCH_AVR -DNEOPIXELPORT=PORTB "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\cores\tiny" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\variants\tinyX5" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\EEPROM" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp" -o nul Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Power.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\SlaveI2C.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Storage.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\USIWire.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\USI_TWI_Master\USI_TWI_Master.c Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\USI_TWI_Slave\USI_TWI_Slave.c Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\Wire.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\WireS.cpp Using cached library dependencies for file: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src\twi.c Generating function prototypes... "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=1000000L -DCLOCK_SOURCE=0 -DARDUINO=10809 -DARDUINO_AVR_ATTINYX5 -DARDUINO_ARCH_AVR -DNEOPIXELPORT=PORTB "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\cores\tiny" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\variants\tinyX5" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\EEPROM" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp" -o "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\preproc\ctags_target_for_gcc_minus_e.cpp" Компиляция скетча... Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Power.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Storage.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\SlaveI2C.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=attiny85 -DF_CPU=1000000L -DCLOCK_SOURCE=0 -DARDUINO=10809 -DARDUINO_AVR_ATTINYX5 -DARDUINO_ARCH_AVR -DNEOPIXELPORT=PORTB "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\cores\tiny" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\variants\tinyX5" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire\src" "-IC:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\EEPROM" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp" -o "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o" Compiling libraries... Compiling library "Wire" Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\twi.c.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\WireS.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USIWire.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\Wire.cpp.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USI_TWI_Master\USI_TWI_Master.c.o Используем предварительно скомпилированный файл: C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USI_TWI_Slave\USI_TWI_Slave.c.o Compiling library "EEPROM" Compiling core... Using precompiled core: C:\Users\eugen\AppData\Local\Temp\arduino_cache_329643\core\core_861d7c1197575466264387fcd4197061.a Linking everything together... "C:\Users\eugen\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=attiny85 -o "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406/src.ino.elf" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Power.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\SlaveI2C.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\Storage.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USIWire.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USI_TWI_Master\USI_TWI_Master.c.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\USI_TWI_Slave\USI_TWI_Slave.c.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\Wire.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\WireS.cpp.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\libraries\Wire\twi.c.o" "C:\Users\eugen\AppData\Local\Temp\arduino_build_19406/..\arduino_cache_329643\core\core_861d7c1197575466264387fcd4197061.a" "-LC:\Users\eugen\AppData\Local\Temp\arduino_build_19406" -lm C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `info'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `__vector_12'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `wdt_count'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `resetWatchdog()'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `setup'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `loop'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\src.ino.cpp.o (symbol from plugin): In function `info':
(.text+0x0): multiple definition of `slaveI2C'
C:\Users\eugen\AppData\Local\Temp\arduino_build_19406\sketch\main.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Используем библиотеку Wire версии 1.0 из папки: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\Wire Используем библиотеку EEPROM версии 2.0 из папки: C:\Users\eugen\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.4.1\libraries\EEPROM exit status 1 Ошибка компиляции для платы ATtiny25/45/85 (No bootloader).