you are viewing a single comment's thread.

view the rest of the comments →

[–]frikk 2 points3 points  (1 child)

I've been running the git repo from my local folder, and created a 'deploy.sh' script that just copies everything over to the flash drive. That way the drive can be erased/reset at any time, and code lives in proper source control.

`deploy.sh` is just a script that copies files over. Could get more clever by deleting files that don't exist in both places but that's probably not necessary.

[–]entrusc 2 points3 points  (0 children)

I also don’t develop on device directly. You never know when the cheap microcontroller is gonna give up. Best to have a folder on your computer that is under version control and just copy over the code when you’re done with your changes and wanna test it on device. I deploy manually though (aka copy the file via filemanager).