armageddon421 / electrodacus-esp32

20 stars 6 forks source link

Unable to compile #34

Closed glashinc closed 3 years ago

glashinc commented 3 years ago

In following the instructions on how to compile the firmware I run into an issue where the platformio.ini is referring to a branch in the arduino-esp32 repository that no longer exists (https://github.com/espressif/arduino-esp32.git#idf-release/v4.0). See current branches:

image

image

How do I resolve this?

armageddon421 commented 3 years ago

I think it may just work in the latest master branch. Can you try removing the branch specification?

acgalvan8 commented 3 years ago

I am having the same issue as above. I changed the platform and platform packages as below:

[env] platform = espressif32 ; https://github.com/platformio/platform-espressif32.git ;https://github.com/platformio/platform-espressif32.git#feature/idf-v4.0 board = nodemcu-32s framework = arduino, espidf platform_packages = ; use a special branch framework-arduinoespressif32 ; @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.0

I am getting this error after it runs:

Warning! Arduino framework as an ESP-IDF component doesn't handle the variant field! The default esp32 variant will be used. Reading CMake configuration... LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 6 compatible libraries Scanning dependencies... Dependency Graph |-- 1.2.3 | |-- 1.1.1 | |-- 6.18.3 |-- 2.8.0 |-- 6.18.3 |-- |-- |-- 1.1.1 Building in release mode Compiling .pio/build/serial/src/main.o src/main.cpp:11:10: fatal error: Arduino.h: No such file or directory


Environment Status Duration


serial FAILED 00:01:37.162 ==================== 1 failed, 0 succeeded in 00:01:37.162 ====================

I am getting the same error on my Macbook and my Lubuntu box.

armageddon421 commented 3 years ago

I can reproduce your issues on a fresh install, it seems my old install had the repos still cached and it just worked for me. I tried different combinations of repos for 5 hours and just gave up for today. I will look into this and provide a solution soon.

armageddon421 commented 3 years ago

Should be fixed in master branch. Closing this for now, please reopen if issue persists.