Skocz do zawartości

Błąd kompilacji dla "dodanej" attiny2313


astony

Pomocna odpowiedź

Ułożyłem program dla attiny2313  i chciałem  go exportować do pliku hex.

W Arduino IDE 1.0.6 kompilowało, ale nie miałem exportu. Zainstalowałem Arduino IDE1.8.13 to dostałem taką listę.

Co zrobiłem źle?

Arduino:1.8.13 (Windows 7), Płytka:"ATtiny2313 @ 8 MHz"





















Warning: Board tiny:avr:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT8

Warning: Board tiny:avr:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT1

Warning: Board tiny:avr:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT8

Warning: Board tiny:avr:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT8

Warning: Board tiny:avr:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT1

Warning: Board tiny:avr:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY24AT16

Warning: Board tiny:avr:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT8

Warning: Board tiny:avr:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT8

Warning: Board tiny:avr:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT8

Warning: Board tiny:avr:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT8

Warning: Board tiny:avr:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT1

Warning: Board tiny:avr:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT1

Warning: Board tiny:avr:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT16

Warning: Board tiny:avr:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT1

Warning: Board tiny:avr:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT1

Warning: Board tiny:avr:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT128

Warning: Board tiny:avr:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16E

Warning: Board tiny:avr:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16P

Warning: Board tiny:avr:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT1

Warning: Board tiny:bootloaders:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY25AT1

Warning: Board tiny:bootloaders:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY4313AT8

Warning: Board tiny:bootloaders:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY2313AT8

Warning: Board tiny:bootloaders:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT1

Warning: Board tiny:bootloaders:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY2313AT1

Warning: Board tiny:bootloaders:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT1

Warning: Board tiny:bootloaders:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT8

Warning: Board tiny:bootloaders:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY45AT8

Warning: Board tiny:bootloaders:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY45AT1

Warning: Board tiny:bootloaders:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT128

Warning: Board tiny:bootloaders:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY44AT8

Warning: Board tiny:bootloaders:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY44AT1

Warning: Board tiny:bootloaders:attiny85 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85

Warning: Board tiny:bootloaders:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT16E

Warning: Board tiny:bootloaders:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT16P

Warning: Board tiny:bootloaders:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY25AT8

Warning: Board tiny:bootloaders:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT16

Warning: Board tiny:bootloaders:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY24AT16

Warning: Board tiny:bootloaders:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT8

Warning: Board tiny:bootloaders:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY4313AT1

Warning: Board tiny:cores:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY2313AT1

Warning: Board tiny:cores:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY4313AT8

Warning: Board tiny:cores:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY45AT8

Warning: Board tiny:cores:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY4313AT1

Warning: Board tiny:cores:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY45AT1

Warning: Board tiny:cores:attiny85 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85

Warning: Board tiny:cores:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY44AT1

Warning: Board tiny:cores:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT8

Warning: Board tiny:cores:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT1

Warning: Board tiny:cores:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY44AT8

Warning: Board tiny:cores:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY25AT1

Warning: Board tiny:cores:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY25AT8

Warning: Board tiny:cores:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY24AT16

Warning: Board tiny:cores:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT16P

Warning: Board tiny:cores:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT8

Warning: Board tiny:cores:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT16

Warning: Board tiny:cores:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT128

Warning: Board tiny:cores:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT16E

Warning: Board tiny:cores:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY2313AT8

Warning: Board tiny:cores:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT1

Brakujący wzorzec recipe.preproc.macros



Błąd kompilacji dla płytki ATtiny2313 @ 8 MHz.



Ten raport powinien zawierać więcej informacji jeśli w 
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"

 

Link do komentarza
Share on other sites

@astony na dole komunikatu błędu jest taka informacja:

Cytat

Ten raport powinien zawierać więcej informacji jeśli w File -> Preferencje zostanie włączona opcja "Pokaż szczegółowe informacje podczas kompilacji"

Próbowałeś włączyć tę opcję?

Link do komentarza
Share on other sites

(edytowany)
Arduino:1.8.13 (Windows 7), Płytka:"ATtiny2313 @ 8 MHz"

C:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Arduino\hardware -hardware C:\Users\tonyas\Documents\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -built-in-libraries C:\Arduino\libraries -libraries C:\Users\tonyas\Documents\Arduino\libraries -fqbn=tiny:cores:attiny2313at8 -ide-version=10813 -build-path C:\Users\tonyas\AppData\Local\Temp\arduino_build_150715 -warnings=none -build-cache C:\Users\tonyas\AppData\Local\Temp\arduino_cache_745589 -prefs=build.warn_data_percentage=75 -verbose C:\Users\tonyas\Documents\Arduino\encoder\encoder.ino

C:\Arduino\arduino-builder -compile -logger=machine -hardware C:\Arduino\hardware -hardware C:\Users\tonyas\Documents\Arduino\hardware -tools C:\Arduino\tools-builder -tools C:\Arduino\hardware\tools\avr -built-in-libraries C:\Arduino\libraries -libraries C:\Users\tonyas\Documents\Arduino\libraries -fqbn=tiny:cores:attiny2313at8 -ide-version=10813 -build-path C:\Users\tonyas\AppData\Local\Temp\arduino_build_150715 -warnings=none -build-cache C:\Users\tonyas\AppData\Local\Temp\arduino_cache_745589 -prefs=build.warn_data_percentage=75 -verbose C:\Users\tonyas\Documents\Arduino\encoder\encoder.ino

Using board 'attiny2313at8' from platform in folder: C:\Users\tonyas\Documents\Arduino\hardware\tiny\cores

Using core 'tiny' from platform in folder: C:\Users\tonyas\Documents\Arduino\hardware\tiny\cores

Warning: Board tiny:avr:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16E

Warning: Board tiny:avr:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT1

Warning: Board tiny:avr:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT128

Warning: Board tiny:avr:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT1

Warning: Board tiny:avr:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT16P

Warning: Board tiny:avr:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY4313AT8

Warning: Board tiny:avr:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT1

Warning: Board tiny:avr:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY24AT16

Warning: Board tiny:avr:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY44AT8

Warning: Board tiny:avr:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT8

Warning: Board tiny:avr:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT8

Warning: Board tiny:avr:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY2313AT1

Warning: Board tiny:avr:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT1

Warning: Board tiny:avr:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT8

Warning: Board tiny:avr:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT1

Warning: Board tiny:avr:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY85AT8

Warning: Board tiny:avr:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY45AT8

Warning: Board tiny:avr:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY84AT16

Warning: Board tiny:avr:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: AVR_ATTINY25AT1

Warning: Board tiny:bootloaders:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT128

Warning: Board tiny:bootloaders:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT1

Warning: Board tiny:bootloaders:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT16P

Warning: Board tiny:bootloaders:attiny85 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85

Warning: Board tiny:bootloaders:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT8

Warning: Board tiny:bootloaders:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY44AT1

Warning: Board tiny:bootloaders:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY44AT8

Warning: Board tiny:bootloaders:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT1

Warning: Board tiny:bootloaders:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY25AT8

Warning: Board tiny:bootloaders:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT16E

Warning: Board tiny:bootloaders:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY4313AT1

Warning: Board tiny:bootloaders:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY25AT1

Warning: Board tiny:bootloaders:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY45AT8

Warning: Board tiny:bootloaders:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY2313AT8

Warning: Board tiny:bootloaders:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY45AT1

Warning: Board tiny:bootloaders:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY2313AT1

Warning: Board tiny:bootloaders:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY24AT16

Warning: Board tiny:bootloaders:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY85AT8

Warning: Board tiny:bootloaders:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY4313AT8

Warning: Board tiny:bootloaders:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: BOOTLOADERS_ATTINY84AT16

Warning: Board tiny:cores:attiny45at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY45AT8

Warning: Board tiny:cores:attiny24at16 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY24AT16

Warning: Board tiny:cores:attiny4313at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY4313AT8

Warning: Board tiny:cores:attiny2313at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY2313AT8

Warning: Board tiny:cores:attiny84at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT8

Warning: Board tiny:cores:attiny25at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY25AT1

Warning: Board tiny:cores:attiny44at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY44AT1

Warning: Board tiny:cores:attiny85at128 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT128

Warning: Board tiny:cores:attiny4313at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY4313AT1

Warning: Board tiny:cores:attiny84at16 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT16

Warning: Board tiny:cores:attiny85at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT1

Warning: Board tiny:cores:attiny85at16e doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT16E

Warning: Board tiny:cores:attiny84at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY84AT1

Warning: Board tiny:cores:attiny44at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY44AT8

Warning: Board tiny:cores:attiny25at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY25AT8

Warning: Board tiny:cores:attiny85at16p doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT16P

Warning: Board tiny:cores:attiny45at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY45AT1

Warning: Board tiny:cores:attiny85at8 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85AT8

Warning: Board tiny:cores:attiny2313at1 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY2313AT1

Warning: Board tiny:cores:attiny85 doesn't define a 'build.board' preference. Auto-set to: CORES_ATTINY85

Detecting libraries used...

Brakujący wzorzec recipe.preproc.macros



Błąd kompilacji dla płytki ATtiny2313 @ 8 MHz.

po zaznaczeniu tej opcji

Problem rozwiązany 🙂 (mam nadzieję)

Polecam wszystkim z attinami 

https://rafal-bartoszak.blogspot.com/2019/05/programowanie-mikrokontrolerow-atmega.html

Edytowano przez astony
Link do komentarza
Share on other sites

Bądź aktywny - zaloguj się lub utwórz konto!

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto w ~20 sekund!

Zarejestruj nowe konto, to proste!

Zarejestruj się »

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się »
×
×
  • Utwórz nowe...

Ważne informacje

Ta strona używa ciasteczek (cookies), dzięki którym może działać lepiej. Więcej na ten temat znajdziesz w Polityce Prywatności.