Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiled bin #2

Closed
hismastersvoice opened this issue Jun 29, 2022 · 14 comments
Closed

compiled bin #2

hismastersvoice opened this issue Jun 29, 2022 · 14 comments

Comments

@hismastersvoice
Copy link

Hi,

nice Project...
Can you upload a compiled bin version that it is easier to install?

Thanks in advance.

Dieter

@itn3rd77
Copy link
Contributor

That would be great!

Just ordered all components, but compiling everything is definitely a challange.

@tbnobody
Copy link
Owner

I like to understand whats the complicated thing in compiling the firmware.
You have to run a setup. Make two clicks to install an plugin, make two clicks to open a folder and press 1 button to start the compilation.
What is the complicated step? Is there anything that has to be more documented?

@itn3rd77
Copy link
Contributor

Thanks for your fast reply!
To be fair I should tried before simply asking for the low hanging fruit. I never used Visual Studio Code or need to compile something for my ESP devices. I'll give it a try and if I find something to improve I'll open a pull request.

Thanks for your time and the tremendous work you spend on this project!

@rosch99
Copy link

rosch99 commented Jun 30, 2022

Following the instructions i cannot compile the code, tried on two different PCs with the same result.

src/Configuration.cpp: In member function 'bool ConfigurationClass::write()':
src/Configuration.cpp:52:14: error: 'LittleFS' was not declared in this scope
File f = LittleFS.open(CONFIG_FILENAME, "w");

How should i proceed, any hints?

@ahinrichs
Copy link
Contributor

ahinrichs commented Jul 1, 2022

Following the instructions i cannot compile the code, tried on two different PCs with the same result.

src/Configuration.cpp: In member function 'bool ConfigurationClass::write()': src/Configuration.cpp:52:14: error: 'LittleFS' was not declared in this scope File f = LittleFS.open(CONFIG_FILENAME, "w");

How should i proceed, any hints?

Maybe a platform update is necessary. Try pio pkg list -g --only-platforms and check the available espressif32 versions. You need espressif32 version 4. I created a pull request #6 to add this to the ini.

@tbnobody
Copy link
Owner

tbnobody commented Jul 1, 2022

Das ist korrekt. Es wird die aktuellste version benötigt. (Werde den PR spät. heute Abend mergen)

@ahinrichs
Copy link
Contributor

Das ist korrekt. Es wird die aktuellste version benötigt. (Werde den PR spät. heute Abend mergen)

"Aktuellste" ist relativ, seit gestern gibt es 5.0.0. Ich war mir nicht ganz sicher, was wirklich Minimum ist. Platformio empfiehlt ja eine Semantische Version anzugeben, also z.B. ^4.4.0, soll heißen irgendwas kompatibel mit Version 4.4.0. Ich habe erstmal @>4 im PR, da LittleFS seit der 4er drin ist. Aber dann würde ich das nochmal in espressif32@^4.4.0 ändern. Einverstanden?

@tbnobody
Copy link
Owner

tbnobody commented Jul 1, 2022

Hm lass mich ggf. mal die Changelogs noch anschauen. Ggf. kann man auch gleich auf die Version 5 gehen. (Dann würde aber vmtl. >4 auch wieder passen)

@ahinrichs
Copy link
Contributor

Hm lass mich ggf. mal die Changelogs noch anschauen. Ggf. kann man auch gleich auf die Version 5 gehen. (Dann würde aber vmtl. >4 auch wieder passen)

5 nutzt die gleiche Toolchain wie 4.4.0.

Wenn jemand nur 3 hat und in der ini steht @^4.4.0, installiert er 4.4.0. Wenn @>4 drin steht, installiert er jetzt 5.

@rosch99
Copy link

rosch99 commented Jul 1, 2022

"pio pkg list -g --only-platforms" hat auch nicht funktioniert, musste erst noch PATH anpassen.
Anschliessend Update auf 5.0.0 und der build hat funktioniert :-)
OpenDTU läuft deutlich stabiler als die ahoy Version auf einem WemosD1
Vieeelen Dank für die Version und eure Hilfe!

@DaAlchemist
Copy link

Ich versuche jetzt seit ein paar Stunden die Firmware zu kompilieren, visual Studio code und PlatformIO Extension habe ich installiert, den Comport angepasst. Klicke ich auf "upload" kommt als Fehlermeldung "command 'platformio-ide.upload' not found" zusätzlich kammennoch die Meldungen "PlatformIO: Rebuilding IntelliSense Index" und "PlatformIO: Loading tasks..." weiter passiert dann nichts...
Ich weiss so langsam nicht mehr was ich noch machen kann.
Wäre für jede Hilfe dankbar!

@DaAlchemist
Copy link

Hat sich erledigt auf einem alten i3 Laptop hats geklappt..

@tbnobody
Copy link
Owner

Ich würde den Issue hier schließen. Unter https://github.com/tbnobody/OpenDTU/actions gibt es fertig kompilierte bin Dateien. (man benötigt wohl einen GitHub Account)

Copy link

github-actions bot commented Apr 9, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants