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

Help with build #23

Open
masterkey26 opened this issue Mar 6, 2024 · 9 comments
Open

Help with build #23

masterkey26 opened this issue Mar 6, 2024 · 9 comments

Comments

@masterkey26
Copy link

Hello,

I'm trying to use the project, but none of the versions are working for me (arduino-esp32-2.0.2 / arduino-esp32-2.0.3-RC1), as soon as I access the web page and it tries to load the files, the hardware restarts , could you make an already compiled version available? Or help me? Thanks.

@bomberman8
Copy link

It seems that this project is abandoned.
Like almost all projects that use arduino, over time it becomes impossible to get them to work. The new versions of arduino IDE are not compatible with some libraries, the new libraries are not compatible with some functions, etc...
I have managed to compile the code using the 1.8.19 version of arduino and modifying boards.local.txt, but it gives me a lot of SD card problems in windows (there are files that disappear, and the card gets corrupted after each use)
I guess if you can get the exact same version of arduino IDE, and from each of the libraries used in the project, it should work.
It's a shame, because without a good firmware this board is useless.

A pre-compiled .bin file might be a good solution.

@masterkey26
Copy link
Author

masterkey26 commented Mar 8, 2024

Thanks for the answer, I tried both versions of the Arduino IDE (1.8.19 / 2.3.0), I downloaded each of the project libraries, but I was unsuccessful, i had these same problems, really a compiled .bin would be a great idea.

@volca
Copy link

volca commented Mar 11, 2024

Hi all,

I built the project with latest platformio and espressif libraries. Please check the release v0.0.2

@tobozo Can you accept a merge request for migrate the code to latest platformio instead?

@tobozo
Copy link
Owner

tobozo commented Mar 11, 2024

@volca thanks for suggesting this, I've created a platformio branch, based on the latest changes. feel free to submit a PR on that branch.

https://github.com/tobozo/WUD-Ducky/tree/platformio

@masterkey26 boot loop problem sounds like SPIFFS is found instead of LittleFS, or maybe no filesystem was uploaded?

@bomberman8 yes development has stopped when I lost my last esp32-wud 🤣
However I can still provide some support, review pull requests and even add collaborators to the project, so it's not completely dead.

@masterkey26
Copy link
Author

Hello,
After several attempts I managed to use the project (arduino-esp32-2.0.3-RC1), I have two questions after testing,

1º is it expected that the SD card will appear as a removable disk and be available to be used normally?
Currently with the SD card connected it appears like this:
Captura de tela 2024-03-11 160409

2º Is it possible for a script to be executed automatically when inserted into the USB?

@tobozo I upload the LittleFS filesystem.

@volca Your platformio project is still under development, correct?

Thanks for the help guys !

@tobozo
Copy link
Owner

tobozo commented Mar 11, 2024

@masterkey26

it should appear as a removable disk with a specific label "ESP32_WUD" or something like that

to run a payload at boot add this to your setup, but keep in mind it'll freeze the webserver until the payload is finished

   runpayload( LittleFS, "/your_payload_file.quack.txt" );

@masterkey26
Copy link
Author

@tobozo,

Understood, it appears as "ESP32_WUD" when I don't use the SD card, the funny thing is that I can see and use the files inside the SD card through the web interface.

@volca
Copy link

volca commented Mar 12, 2024

@masterkey26 Your platformio project is still under development, correct?

I migrated the branch "main" to platformio and it works. But the branch "platformio" can't work.

@tobozo thanks for suggesting this, I've created a platformio branch, based on the latest changes. feel free to submit a PR on that branch.

I tried migrate the code to platformio but no lucky. There're many "Arduino" style codes. I wonder if arduino-cli works with the code.

@masterkey26
Copy link
Author

@tobozo,

Understood, it appears as "ESP32_WUD" when I don't use the SD card, the funny thing is that I can see and use the files inside the SD card through the web interface.

@tobozo, is there any light on what it could be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants