lupyuen / pinetime-updater

Flash firmware to PineTime the friendly wired way with OpenOCD
Apache License 2.0
65 stars 10 forks source link

What's wrong now? #2

Closed jotasprout closed 3 years ago

jotasprout commented 3 years ago

I can't figure out what's wrong now at this step. I don't see "done" and what I do get doesn't completely match your logs.

20200927_010334 20200927_010348 20200927_010359 20200927_010423 20200927_153756

bajansen commented 3 years ago

The script will always attempt to program through the GPIO pins when run on a Raspberry Pi, regardless of whether an ST-Link adapter is connected. You can override this behaviour by changing the comparison below in run.sh to False. https://github.com/lupyuen/pinetime-updater/blob/8cf00b63164323519ade5bcced70192f6d8a5347/run.sh#L26

jotasprout commented 3 years ago

If I make this change to my fork and all goes well, would it be a good Pull Request? Is this a change that should be in the master?