Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By whyameye
#24886 Hi, I am using the Node MCU development board: http://www.ebay.com/itm/400923947498

I have built and run code successfully for it using the Arduino IDE. Now I am trying to switch to ESP8266 Open SDK.

I am running xubuntu 14.04 and followed these directions exactly:
http://www.penninkhof.com/2015/03/esp8266-open-sdk/

blinky compiles and loads with no problem. However it does not appear to execute i.e. no pins on the board are alternating on/off. I am guessing this board might need a different Makefile? I'm not really sure where to start with solving this problem.

Thanks

-John
User avatar
By whyameye
#24919 After a lot of blind trial-and-error I found that the magic sauce was to add the argument: "-fm dio" to the esptool.py command. This is specific, I believe, to the Node MCU dev board, perhaps version 2 only.