Weird.
In the freshly downloaded 0.5.8, there are two monitor_port lines in platformio.ini:
[env]
platform = atmelavr
framework = arduino
board_build.f_cpu = 16000000L
monitor_port = ${env:UART.upload_port}
monitor_speed = 9600
lib_ignore = Wire1
build_flags =
-Os
-g0
-ffunction-sections
-fdata-sections
-Wl,–gc-sections
-Wl,-s
extra_scripts =
post:extra_scripts/show_eeprom_size.py
monitor_port = /dev/tty.usbserial-1430
which VSCode immediately starts complaining about:
PS D:\iDryerController-0.5.8> pio run -t clean
InvalidProjectConfError: Invalid ‘D:\iDryerController-0.5.8\platformio.ini’ (project configuration file): ‘While reading from ‘D:\iDryerController-0.5.8\platformio.ini’ [line 52]: option ‘monitor_port’ in section ‘env’ already exists’
If I comment out the last monitor_port line, it builds… the previous error doesn’t show up…
but last time I built it with a configuration.h edited for myself.
Need to dig into it some more, time to hook up the scales ![]()
Looks like we’re on different Git…
I got it here - https://github.com/pavluchenkor/iDryerController/tree/0.5.8

🇷🇺 Оригинал
мистика
вот в только что скаченном 0,5,8 в platformio.ini две строчки monitor_port
[env]
platform = atmelavr
framework = arduino
board_build.f_cpu = 16000000L
monitor_port = ${env:UART.upload_port}
monitor_speed = 9600
lib_ignore = Wire1
build_flags =
-Os
-g0
-ffunction-sections
-fdata-sections
-Wl,–gc-sections
-Wl,-s
extra_scripts =
post:extra_scripts/show_eeprom_size.py
monitor_port = /dev/tty.usbserial-1430
на что vscode сразу матерится
PS D:\iDryerController-0.5.8> pio run -t clean
InvalidProjectConfError: Invalid ‘D:\iDryerController-0.5.8\platformio.ini’ (project configuration file): ‘While reading from ‘D:\iDryerController-0.5.8\platformio.ini’ [line 52]: option ‘monitor_port’ in section ‘env’ already exists’
если закомментировать последнюю строчку с monitor_port, то собирается… предыдущая ошибка не выходит…
но в прошлый раз я собирал с правленым под себя configuration.h
надо покурить еще, пора весы прикрутить ![]()
видимо у нас разный гит…
брал тут - https://github.com/pavluchenkor/iDryerController/tree/0.5.8
