Using a fresh install of PlatformIO in Atom, the build process for esp32doit failed. Here is the platform.ini contents:
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
And the build output with errors:
[Fri Jul 7 22:50:22 2017] Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
Collected 13 compatible libraries
Looking for dependencies…
Project does not have dependencies
Compiling .pioenvs/esp32doit-devkit-v1/src/blink.o
In file included from src/blink.cpp:7:0:
/home/vest/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:185:26: fatal error: pins_arduino.h: No such file or directory
compilation terminated.
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/Esp.o
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/HardwareSerial.o
Compiling .pioenvs/esp32doit-devkit-v1/FrameworkArduino/IPAddress.o
*** [.pioenvs/esp32doit-devkit-v1/src/blink.o] Error 1
In file included from /home/vest/.platformio/packages/framework-arduinoespressif32/cores/esp32/Esp.cpp:20:0:
/home/vest/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:185:26: fatal error: pins_arduino.h: No such file or directory
compilation terminated.
*** [.pioenvs/esp32doit-devkit-v1/FrameworkArduino/Esp.o] Error 1
In file included from /home/vest/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.cpp:20:0:
/home/vest/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:185:26: fatal error: pins_arduino.h: No such fil
e or directory
compilation terminated.
*** [.pioenvs/esp32doit-devkit-v1/FrameworkArduino/IPAddress.o] Error 1
========================== [ERROR] Took 1.10 seconds ==========================
So it looks like with the fresh install there are some header files not being installed in the right place. I’m following this tutorial:
http://docs.platformio.org/en/latest/ide/atom.html#quick-start
And have not skipped any steps. On step 5, rather than seeing green “success”, I get these build errors.
Any help would be appreciated, thank you.