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

Don't work behind my firewall #4

Open
Mynogs opened this issue Mar 15, 2019 · 2 comments
Open

Don't work behind my firewall #4

Mynogs opened this issue Mar 15, 2019 · 2 comments

Comments

@Mynogs
Copy link

Mynogs commented Mar 15, 2019

When I try to upload a new firmware to the board wcc tries to connect to the internet to get the description of the boards. So I can not use wcc on some machines with firewalls. The same applies if no internet connection exits.
It would help if i can set a local file for the boards configurations.
It would also help to specify more options for the internet connection (proxy, other protocols).

@Mynogs
Copy link
Author

Mynogs commented Aug 19, 2019

I tried different tools but it does not work.
If I use the ESP32 Flash Download Tool, where can I find the images for a particular board (in this case M5STACK)?

@the0ne
Copy link

the0ne commented Aug 23, 2019

Hi @Mynogs,

you could easily create a custom "offline" version of wcc.
That version would use pre-downloaded local files instead of grabbing them from the servers.

You would need to provide

  • the file board.json in source file board.go around line 923 and 988
  • the file esptool.zip matching your OS in the source file download.go around line 99
  • the file firmware.zip matching your ESP32 device in the source file download.go around line 140
  • a lastcommit file matching the new firmware's commit-id in the source file main.go around line 368

If you can implement a clean solution that is 100% compatible to the current wcc and add a parameter, e.g. ' -offline ' to this standard wcc then you could even create a PR so that the functionality would be maintained for you in this project in the future.

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

2 participants