Hello,
I am trying to program a node mcu on my mac using the arduino ide but I keep getting errors. Ive installed the usb to uart drivers, i can see the board in arduino ide but it wont compile.
Getting the following error :
Arduino: 1.6.11 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
/Users/Landon/Desktop/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Users/Landon/Desktop/Arduino.app/Contents/Java/hardware -hardware /Users/Landon/Library/Arduino15/packages -tools /Users/Landon/Desktop/Arduino.app/Contents/Java/tools-builder -tools /Users/Landon/Desktop/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/Landon/Library/Arduino15/packages -built-in-libraries /Users/Landon/Desktop/Arduino.app/Contents/Java/libraries -libraries /Users/Landon/Documents/Arduino/libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -ide-version=10611 -build-path /var/folders/02/183zpy314ll06v2krpwphqcw0000gn/T/build461fff28b3e4c41b61326a2e006f9cdc.tmp -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=/Users/Landon/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.mklittlefs.path=/Users/Landon/Library/Arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/Landon/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs.path=/Users/Landon/Library/Arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506 -verbose /Users/Landon/Downloads/Client_Canada_GreenHouse/Code/NodeMCU_DHT22_SoilSensor/NodeMCU_DHT22_SoilSensor.ino
failed MSpanList_Insert 0x310000 0x8a52500033 0x0
fatal error: MSpanList_Insert
runtime stack:
runtime.throw(0x2b050b)
/usr/local/go/src/runtime/panic.go:491 +0xad fp=0x7ffeefbff130 sp=0x7ffeefbff100
runtime.MSpanList_Insert(0x2ce168, 0x310000)
/usr/local/go/src/runtime/mheap.c:692 +0x8f fp=0x7ffeefbff158 sp=0x7ffeefbff130
MHeap_FreeSpanLocked(0x2cad60, 0x310000, 0x100)
/usr/local/go/src/runtime/mheap.c:583 +0x163 fp=0x7ffeefbff198 sp=0x7ffeefbff158
MHeap_Grow(0x2cad60, 0x8, 0x0)
/usr/local/go/src/runtime/mheap.c:420 +0x1a8 fp=0x7ffeefbff1d8 sp=0x7ffeefbff198
MHeap_AllocSpanLocked(0x2cad60, 0x1, 0x0)
/usr/local/go/src/runtime/mheap.c:298 +0x365 fp=0x7ffeefbff218 sp=0x7ffeefbff1d8
mheap_alloc(0x2cad60, 0x1, 0x12, 0x0)
/usr/local/go/src/runtime/mheap.c:190 +0x121 fp=0x7ffeefbff240 sp=0x7ffeefbff218
runtime.MHeap_Alloc(0x2cad60, 0x1, 0x10000000012, 0xf989)
/usr/local/go/src/runtime/mheap.c:240 +0x66 fp=0x7ffeefbff278 sp=0x7ffeefbff240
MCentral_Grow(0x2d2ad8, 0x0)
/usr/local/go/src/runtime/mcentral.c:197 +0x8b fp=0x7ffeefbff2e0 sp=0x7ffeefbff278
runtime.MCentral_CacheSpan(0x2d2ad8, 0x0)
/usr/local/go/src/runtime/mcentral.c:85 +0x167 fp=0x7ffeefbff318 sp=0x7ffeefbff2e0
runtime.MCache_Refill(0x30c000, 0x12, 0x0)
/usr/local/go/src/runtime/mcache.c:90 +0xa0 fp=0x7ffeefbff340 sp=0x7ffeefbff318
runtime.mcacheRefill_m()
/usr/local/go/src/runtime/malloc.c:368 +0x57 fp=0x7ffeefbff360 sp=0x7ffeefbff340
runtime.onM(0x226eb0)
/usr/local/go/src/runtime/asm_amd64.s:273 +0x9a fp=0x7ffeefbff368 sp=0x7ffeefbff360
runtime.mallocgc(0x120, 0x1c0720, 0x0, 0x0)
/usr/local/go/src/runtime/malloc.go:178 +0x849 fp=0x7ffeefbff418 sp=0x7ffeefbff368
runtime.newobject(0x1c0720, 0x30c000)
/usr/local/go/src/runtime/malloc.go:353 +0x49 fp=0x7ffeefbff440 sp=0x7ffeefbff418
runtime.newG(0x276ba)
/usr/local/go/src/runtime/proc.go:233 +0x2a fp=0x7ffeefbff458 sp=0x7ffeefbff440
allocg(0x2bd660)
/usr/local/go/src/runtime/proc.c:925 +0x1f fp=0x7ffeefbff468 sp=0x7ffeefbff458
runtime.malg(0x8000, 0x2bd700)
/usr/local/go/src/runtime/proc.c:2106 +0x1f fp=0x7ffeefbff498 sp=0x7ffeefbff468
runtime.mpreinit(0x2bdac0)
/usr/local/go/src/runtime/os_darwin.c:137 +0x27 fp=0x7ffeefbff4b0 sp=0x7ffeefbff498
mcommoninit(0x2bdac0)
/usr/local/go/src/runtime/proc.c:201 +0xc9 fp=0x7ffeefbff4d8 sp=0x7ffeefbff4b0
runtime.schedinit()
/usr/local/go/src/runtime/proc.c:138 +0x55 fp=0x7ffeefbff500 sp=0x7ffeefbff4d8
runtime.rt0_go(0x7ffeefbff538, 0x1d, 0x7ffeefbff538, 0x0, 0x0, 0x1d, 0x7ffeefbff738, 0x7ffeefbff778, 0x7ffeefbff784, 0x7ffeefbff794, ...)
/usr/local/go/src/runtime/asm_amd64.s:95 +0x116 fp=0x7ffeefbff508 sp=0x7ffeefbff500
/Users/Landon/Desktop/Arduino.app/Contents/Java/arduino-builder returned 2
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Please advise, thank you