whitecatboard / whitecat-console

A command line tool for send and receive files to Lua RTOS compatible boards without an IDE
6 stars 8 forks source link

Don't work behind my firewall #4

Open Mynogs opened 5 years ago

Mynogs commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

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.