Confusion about the branch/tag in iDryerController 0.5.8 and where to get the current version

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 :slight_smile:

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
надо покурить еще, пора весы прикрутить :slight_smile:

видимо у нас разный гит…
брал тут - https://github.com/pavluchenkor/iDryerController/tree/0.5.8

Grab the latest one that’s there)
Got it), sorted it out, thanks!

🇷🇺 Оригинал

Бери крайнее что лежит)
Понял), разобрались, спасибо!

I took the latest version, seemed logical :slight_smile:
So where’s the correct one?

🇷🇺 Оригинал

брал последнюю версию, вроде логично :slight_smile:
а где правильная?

Just pull the repo as-is, without tags and that’s it), though it’s all the same there, except maybe for rare edits like this…

That’s logical for normal people, but this repo is such a mess I’m afraid to even look in there)

🇷🇺 Оригинал

Просто репу тяни что есть, без тегов и все), но там одно и то же, может быть именно за редким исключением таких правок…

Это нормальным людям логично, а в этой репе такой бардак, что я туда смотреть боюсь)

Got it, that’s the dev branch, switched to master

So where do I get the current version then?

🇷🇺 Оригинал

ясно, это ветка dev, переключился на master

дык а где брать актуальную версию то?

The most up-to-date version is always in the repository root
https://github.com/pavluchenkor/iDryerController

🇷🇺 Оригинал

Самое актуальное всегда в “корне” репозитория
https://github.com/pavluchenkor/iDryerController