Ovdje pročitajte kako se registrirati na forum.

Ne kompajlira kod za NOVA2

Tehnička podrška za Croduino 8-bitne pločice: Basic, Basic2, NOVA, miniNOVA, Damba, ETA
Odgovorite
dd#8453
Novak
Novak
Postovi: 4
Pridružen/a: uto pro 17, 2019 1:05 pm

Ne kompajlira kod za NOVA2

Post Postao/la dd#8453 » ned vel 02, 2020 7:20 pm

Instalirao sve prema tutorijalu.
Copy/Pejstao kod za LED13 prema istome

Kod: Označite sve

void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}
i pokrenuo kompajler.
Javlja error::

Arduino: 1.8.10 (Mac OS X 10.14.1), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, QIO (fast), 4MB (FS:1MB OTA:~1019KB), 13, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

fork/exec /Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


phyton3 fajl je na svom mjestu u folderu kako je gore navedeno..
json je instalirao tekuću verziju 2.6.3. (mislim) pa su se parametri neki gore pojavili koji nisu bili u tutorijalu. Pokušao sam downgrejdati na 2.4.2. ali mi više nema u Library Manageru esp8266 by ESP8266 Community, iako su u Toolsu na raspolaganju i dalje sve ESP8266 ploče. Nasumice birao druge da vidim hoće li biti koji drugi error, no uvijek vraća isto.

Prepoznaje ploču s porukom:
BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it

BASIC3 ploča radi cakum-pakum.

Dolje je verbosen error:

Arduino: 1.8.10 (Mac OS X 10.14.1), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, QIO (fast), 4MB (FS:1MB OTA:~1019KB), 13, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/davordelic/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/davordelic/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davordelic/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=qio,eesz=4M1M,led=13,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=1A86_7523 -ide-version=10810 -build-path /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194 -warnings=none -build-cache /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_cache_598500 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6 -prefs=runtime.tools.mklittlefs-2.5.0-4-69bd9e6.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6 -prefs=runtime.tools.python3.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -verbose /Users/davordelic/Documents/Arduino/Nova2LED13test/Nova2LED13test.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/davordelic/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/davordelic/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/davordelic/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=legacy,ssl=all,ResetMethod=nodemcu,CrystalFreq=26,FlashFreq=40,FlashMode=qio,eesz=4M1M,led=13,sdk=nonosdk_190703,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -vid-pid=1A86_7523 -ide-version=10810 -build-path /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194 -warnings=none -build-cache /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_cache_598500 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.mkspiffs.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6 -prefs=runtime.tools.mklittlefs-2.5.0-4-69bd9e6.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6 -prefs=runtime.tools.python3.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -verbose /Users/davordelic/Documents/Arduino/Nova2LED13test/Nova2LED13test.ino
Using board 'generic' from platform in folder: /Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3
Using core 'esp8266' from platform in folder: /Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3
Detecting libraries used...
/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/include -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/lwip2/include -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=13 -DFLASHMODE_QIO -DESP8266 -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266 -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/variants/generic /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/sketch/Nova2LED13test.ino.cpp -o /dev/null
Generating function prototypes...
/Users/davordelic/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/include -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/lwip2/include -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=13 -DFLASHMODE_QIO -DESP8266 -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/cores/esp8266 -I/Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/variants/generic /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/sketch/Nova2LED13test.ino.cpp -o /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/preproc/ctags_target_for_gcc_minus_e.cpp
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/davordelic/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/signing.py --mode header --publickey /Users/davordelic/Documents/Arduino/Nova2LED13test/public.key --out /var/folders/91/zywt0kc12674xv0bv17kchc00000gn/T/arduino_build_851194/core/Updater_Signing.h
fork/exec /Users/davordelic/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3: no such file or directory
Error compiling for board Generic ESP8266 Module.
domagoj#1147
Elektroničar
Elektroničar
Postovi: 147
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Zagreb

Re: Ne kompajlira kod za NOVA2

Post Postao/la domagoj#1147 » ned vel 02, 2020 7:46 pm

Ne kužim se toliko da bi mogao analizrati ovaj verbosen error, ali u nastavku su postavke koje kod mene rade.
U tools meniu je ovako postavljeno:
- Flash Mode: DIO
- Flash size: 4M (1M SPIFFS)
- Reset method: nodemcu
- Flash Frequency: 40MHz
- Upload using Serial
- CPU Frequency: 80MHz
- Upload Speed: 115200
Avatar
david.zovko#9498
e-radionica.com team
e-radionica.com team
Postovi: 323
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Ne kompajlira kod za NOVA2

Post Postao/la david.zovko#9498 » čet vel 06, 2020 3:18 pm

Budući da ne uspijevate compile-ati, mora biti greška negdje u postavkama. Možete li staviti screenshot Tools izbornika iz Arduino IDE?

Možda nije ni na odmet reinstallirati esp8266 definiciju, možda nešto nije prošlo dobro. Dakle, stavite link opet u perferences -> additional boards URLs, pa iz board managera prvo "remove" pa "install" najnoviju verziju.
dd#8453
Novak
Novak
Postovi: 4
Pridružen/a: uto pro 17, 2019 1:05 pm

Re: Ne kompajlira kod za NOVA2

Post Postao/la dd#8453 » pet vel 07, 2020 10:49 am

Sve to probah ... A kada sam isao deinstalirati library vise ga nije bilo..Đe nestade? A ploče sve i dalje u Library Manageru ...

slika

slika
dd#8453
Novak
Novak
Postovi: 4
Pridružen/a: uto pro 17, 2019 1:05 pm

Re: Ne kompajlira kod za NOVA2

Post Postao/la dd#8453 » pet vel 07, 2020 2:39 pm

slika
Avatar
david.zovko#9498
e-radionica.com team
e-radionica.com team
Postovi: 323
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Ne kompajlira kod za NOVA2

Post Postao/la david.zovko#9498 » sub vel 08, 2020 1:56 pm

Pozdrav

Tools izbornik izgleda OK.
Na Board Manageru možda pokušajte upisati samo "esp8266", ni meni ne pronađe kada upišem cijeli tekst kao kod Vas.

Možete li možda pokušati na drugom računalu; ovdje izgleda kao da je problem s nečime dubljim, pa da pokušamo izbjeći da ulazimo u taj dio.
dd#8453
Novak
Novak
Postovi: 4
Pridružen/a: uto pro 17, 2019 1:05 pm

Re: Ne kompajlira kod za NOVA2

Post Postao/la dd#8453 » pon vel 10, 2020 3:59 pm

Ne nalazi ni kad utipkam kraći string ...
Nebitno ... i ja mislim da je nesto s racunalom poslo krivo negdi, no nemam drugog pa cu reinstalirati Arduino i sve iz nova pa da vidimo ...
Javim result
Thnx
D.
Avatar
david.zovko#9498
e-radionica.com team
e-radionica.com team
Postovi: 323
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Ne kompajlira kod za NOVA2

Post Postao/la david.zovko#9498 » pon vel 10, 2020 7:56 pm

To će nam biti najlakše, pa molim Vas javite kada probate na drugom računalu!
Odgovorite