I’m getting the error:
The project configuration process has encountered an error due to a problem with the 'platformio.ini' file. Please review the file and fix the issues.
But I can’t see any issues with the ini file. This is the same as the version of the project running in visual studio on my windows machine, but im getting this error now ive switched to my mac. Can anyone see what the error is?
[env:esp32-poe-iso]
platform = espressif32 @ 3.5.0
board = esp32-poe-iso
monitor_speed = 115200
framework = arduino
build_flags = -DCORE_DEBUG_LEVEL=5
lib_deps =
thomasfredericks/Bounce2@^2.72
adafruit/Adafruit PWM Servo Driver Library@^3.0.2
knolleary/PubSubClient@^2.8
bblanchon/ArduinoJson@^7.1.0
nickgammon/Regexp@^0.1.0
adafruit/Adafruit SSD1306@^2.5.11
adafruit/Adafruit MCP23017 Arduino Library@^2.3.2
adafruit/Adafruit GFX Library@^1.11.11
The lib_deps
section is indented by TAB’s.
Convert the TAB’s into 2 or 4 spaces and try again.
What I am really concenred about this project is the fact of the version numbers used!
This is Espressif Arduino 1.0.6! and was released in Jan 28, 2022
But this was released in Jun 27, 2024. At this time espressif32 @ 6.7.0
was available (Espressif Arduino 2.0.16)
Ah right, odd, I didn’t manually add the deps lines to the file, must have been how the windows version of visual studio/platformio created it. Will switch to spaces and see if that fixes it.
The use of 3.5.0 is due to some changes in the ethernet side of newer versions of espressif32 causing breaking bugs and I currently don’t have the time to fix them.
There might be other breaking changes in Arduino 1.x vs Arduino 2.x
The latest Arduino version is 3.1.3:
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
See platform-espressif32 versions · GitHub
Check the status bar (bottom right):
If you see “Tab Size” : Click on that and change the settings to spaces:
That does seem to have been the issue, odd that on windows I don’t get the error but on mac I do.