fatal error : pins_arduino.h : no such file or directory



  • Arduino:1.8.5 Hourly Build 2017/08/28 06:33 (Windows 10), 开发板:"M5Stack-Core-ESP32, 80MHz, 921600, None"

    In file included from sketch\sketch_sep25a.ino.cpp:1:0:

    C:\Users\w\AppData\Local\Arduino15\packages\esp32\hardware\esp32\0.0.5\cores\esp32/Arduino.h:190:26: fatal error: pins_arduino.h: No such file or directory

    compilation terminated.

    exit status 1
    为开发板 M5Stack-Core-ESP32 编译时出错。

    在文件 -> 首选项开启
    “编译过程中显示详细输出”选项
    这份报告会包含更多信息。


  • M5Stack

    你好,你可以删除重新安装再尝试下,使用板管理的安装方式暂时不稳定,推荐是使用官方的方式安装,方便保持及时更新。
    https://github.com/m5stack/M5Stack#arduino-core-for-esp32-install-instructions



  • I received this error too, I reinstalled a fresh version of all requirements (from thdirections linked) at least 4 times last night and could not get it working.

    I ended up having to install platform IO which I do not understand, but at least I got it working!