Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
imreotto opened this issue Aug 13, 2024 · 1 comment

Comments

@imreotto
Copy link

imreotto commented Aug 13, 2024

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",
@valeros
Copy link
Member

valeros commented Aug 14, 2024

Thanks for pointing it out, fixed in the dev branch.

jonathandreyer pushed a commit to jonathandreyer/platform-espressif32 that referenced this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants