Skip to content

Heltec wifi kit error (fatal error: pins_arduino.h: No such file or directory) #1442

@imreotto

Description

@imreotto

The Problem:
Got compile error

 [.pio/build/heltec_wifi_kit_32_V3/src/main.cpp.o] Error 1
In file included from /home/i/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:83,
                 from /home/i/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36,
                 from /home/i/.platformio/packages/framework-arduinoespressif32/cores/esp32/Esp.cpp:20:
/home/i/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-gpio.h:29:10: fatal error: pins_arduino.h: No such file or directory

variant value didn't match folder name in project arduino-esp32 (arduino-esp32/variants/heltec_wifi_kit_32_V3)
..._V3 should be with uppercase

The Fix:

diff --git a/boards/heltec_wifi_kit_32_V3.json b/boards/heltec_wifi_kit_32_V3.json
index d106319..62d7301 100644
--- a/boards/heltec_wifi_kit_32_V3.json
+++ b/boards/heltec_wifi_kit_32_V3.json
@@ -21,7 +21,7 @@
       ]
     ],
     "mcu": "esp32s3",
-    "variant": "heltec_wifi_kit_32_v3"
+    "variant": "heltec_wifi_kit_32_V3"
   },
   "connectivity": [
     "wifi",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions