Reflow-Controller icon indicating copy to clipboard operation
Reflow-Controller copied to clipboard

Compiling issue

Open albimazzu opened this issue 2 years ago • 1 comments

First of all, thanks for sharing your project. I am struggling to compile the code because is returning this compile error:

Archiving .pio\build\esp32dev\libFrameworkArduino.a Linking .pio\build\esp32dev\firmware.elf xtensa-esp32s2-elf-g++: error: arduino.map: No such file or directory *** [.pio\build\esp32dev\firmware.elf] Error 1

I tried different configurations editing the platformio.ini file but i'm still stuck.. Here my configuration file:

[env:esp32dev] platform = espressif32 board = esp32dev framework = arduino upload_speed = 460800 upload_port = COM80 monitor_speed = 115200 monitor_port = COM80 upload_resetmethod = nodemcu board_build.mcu = esp32s2

platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#2.0.0-alpha1 platformio/tool-esptoolpy @ ~1.30100

I'm using platformio with core 6.0.1, [email protected]

albimazzu avatar Jun 01 '22 09:06 albimazzu

Don't know why it is looking for arduino.map, because it isn't used anywhere in the code. Or did you add something?

What might help is to delete your platformIO packages for this project to do a fresh install of them once building it again.

For me (on MAC) they are here: /Users/moekoe/.platformio/packages/

Same could be done with the platforms if the above doesn't help.

makermoekoe avatar Jun 01 '22 11:06 makermoekoe