diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-16 02:56:26 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-16 02:56:26 +0200 |
commit | f502161cd7223534d4f0766a71249b81894166bb (patch) | |
tree | fe732c77003da43014f19777f706a35a6759fd81 /SConstruct | |
parent | e8e05aa89cfbc1fa2b2b535d5924842eb0f4a90f (diff) |
Flash through openocd.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,6 +36,6 @@ sources = \ firmware = env.Program('suzumebachi.elf', Glob('*.cpp') + Glob('*.c') + sources)
env.Depends(firmware, 'ch.ld')
-env.Command('prog', ['suzumebachi.elf'], 'stm32loader -p /dev/tty.usbmodemfd1412 -ewv suzumebachi.elf')
+env.Command('prog', ['suzumebachi.elf'], 'openocd -f openocd.cfg -c flash_chip')
Default('suzumebachi.elf')
|