tuya-cloudcutter / lightleak

Firmware version-agnostic PoC exploit for smart devices
46 stars 10 forks source link

Compiling PlatformIO project #25

Closed BacchusIX closed 8 months ago

BacchusIX commented 8 months ago

"The platformio-custom-ap directory contains a PlatformIO project that can be compiled on any of the platforms mentioned above. You need to download this code, build it, and upload to your device of choice."

I'm confused on how to do this exactly.

kuba2k2 commented 8 months ago

Try searching how to compile PlatformIO projects and you'll find your way.

BacchusIX commented 8 months ago

never mind, I figured it out.

For anyone else unsure how to do this, apparently PlatformIO IS the tool for compiling (had no idea, never heard of it but this looks exciting!). I used the Microsoft Visual Studio PlatformIO extension, cloned the git directory and opened it in VS code, selected my device in PIO "project tasks" table, found and select "build" in the projects tasks table and boom, worked perfectly and flashed perfectly.

thanks.

BacchusIX commented 8 months ago

Try searching how to compile PlatformIO projects and you'll find your way.

Thanks. I think you commented while I was typing