Running Windows 8.1.
Installed Eclipse 4.5.1.(32 bit version)
Installed Arduino C++ IDE from marketplace
Installed boards : Arduino Nano, NodemcuV2
Installation proceeds and ends without error.
After creating a simple program and trying to run.
Selecting Nano I get
Building atest
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
nano.mk:61: recipe for target 'nano/project/atest.cpp.o' failedmake: *** [nano/project/atest.cpp.o] Error 258
C:/Users/Herman/.arduinocdt/tools/arduino/avrdude/6.0.1-arduino5/bin/avrdude -CC:/Users/Herman/.arduinocdt/tools/arduino/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -p{build.mcu} -carduino -PCOM5 -b{upload.speed} -D -Uflash:w:nano/atest.hex:i
avrdude: invalid baud rate specified '{upload.speed}'
Upload complete
Selecting Nodemcu I get
Building atest
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
nodemcuv2.mk:77: recipe for target 'nodemcuv2/project/build/nodemcuv2/atest.cpp.o' failedmake: *** [nodemcuv2/project/build/nodemcuv2/atest.cpp.o] Error 258
C:/Users/Herman/.arduinocdt/tools/esp8266/esptool/0.4.5/esptool -vv -cd ck -cb 115200 -cp COM5 -ca 0x00000 -cf nodemcuv2/atest.bin
esptool v0.4.5 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from COM1 to COM5
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
error: stat nodemcuv2/atest.bin failed
Upload complete
I looked in the namo.mk and nodemuv2.mk and tried to make from the commandline -> Get the same error
When removing these first few lines from nano/nodemcu.mk
ifeq ($(OS),Windows_NT)
RMDIR = rmdir /s /q
mymkdir = if not exist "$1" mkdir "$1"
else
RMDIR = rm -fr
mymkdir = mkdir -p $1
endif
Compiling starts but gives different errors.
So presumable these lines at first cause the initial error.
I tried to find where the nano.mk and nodemcuv2.mk files are generated but could not find them.
Questions :
Does anyone has the Arduino C++ IDE running on Windows ?
Does anyone know where/how the makefiles are generated ?
If any of the above is already documented please link to that and I will start looking from there.