Page 1 of 1

paltformio.ini error

Posted: 17 Oct 2019, 15:49
by mackowiakp
I try to compile mega-20190928 (Linux, VS) but I got such error:

Code: Select all

> Executing task: platformio run --environment normal_core_260_sdk222_alpha_ESP8266_4M1M <

Error: Invalid '/home/maciek/TMP/ESPEasy_mega-20190928/source/platformio.ini' (project configuration file): 'While reading from '/home/maciek/TMP/ESPEasy_mega-20190928/source/platformio.ini' [line 501]: section 'env:esp32test_1M8_partition' already exists'
The terminal process terminated with exit code: 1
There was M$ update of VS, maybe thats the reason?

Re: paltformio.ini error

Posted: 17 Oct 2019, 15:54
by TD-er
Well it is a known issue, you can remove the duplicate env part from platformio.ini

But you may run into another issue if you have Python 3.8 installed.

See: https://github.com/platformio/platformi ... ssues/2796

Re: paltformio.ini error

Posted: 17 Oct 2019, 16:23
by mackowiakp
I use Python 2.7. After removing env part from platformio.ini, works OK. THX