Skip to content

leesander1/gotime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GOTIME - OS PINETIME

pinetime

Setup Env

brew tap tinygo-org/tools
brew install tinygo
brew tap ArmMbed/homebrew-formulae

Build

tinygo build -o firmware.hex -target=pinetime-devkit0  /Users/leesander/go/src/github.com/leesander1/gotime/cmd/smartwatch
tinygo build -o firmware.hex -target=pinetime-devkit0  /Users/leesander/go/src/github.com/leesander1/gotime/cmd/example/blink

Flash

tinygo flash -target=pinetime-devkit0 -programmer=stlink /Users/leesander/go/src/github.com/leesander1/gotime/cmd/smartwatch
openocd \
-c 'source [find interface/stlink.cfg]' \
-c 'transport select hla_swd' \
-c 'source [find target/nrf52.cfg]' \
-c 'init' \
-c 'halt' \
-c 'nrf5 mass_erase' \
-c 'program firmware.hex verify' \
-c 'reset' \
-c 'exit'

Reset

openocd \
-c 'source [find interface/stlink.cfg]' \
-c 'transport select hla_swd' \
-c 'source [find target/nrf52.cfg]' \
-c 'init' \
-c 'halt' \
-c 'nrf5 mass_erase' \
-c 'exit'

Links

About

Experimental firmware / os for Pinetime watch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages