Rakefile: fix typo
This commit is contained in:
parent
7169785e56
commit
b24dda9298
2
Rakefile
2
Rakefile
|
@ -227,7 +227,7 @@ task :debug => APPLICATION+".elf" do |t|
|
||||||
case SWD_ADAPTER
|
case SWD_ADAPTER
|
||||||
when "STLINKV2"
|
when "STLINKV2"
|
||||||
# for GDB to work with openOCD the firmware needs to be reloaded
|
# for GDB to work with openOCD the firmware needs to be reloaded
|
||||||
excec("#{GDB} --eval-command='target remote | #{OOCD} --file interface/#{OOCD_INTERFACE}.cfg --file target/#{OOCD_TARGET}.cfg --command \"gdb_port pipe; log_output /dev/null; init\"' --eval-command='monitor reset halt' --eval-command='load' --eval-command='monitor reset init' #{t.source}")
|
exec("#{GDB} --eval-command='target remote | #{OOCD} --file interface/#{OOCD_INTERFACE}.cfg --file target/#{OOCD_TARGET}.cfg --command \"gdb_port pipe; log_output /dev/null; init\"' --eval-command='monitor reset halt' --eval-command='load' --eval-command='monitor reset init' #{t.source}")
|
||||||
when "BMP"
|
when "BMP"
|
||||||
exec("#{GDB} --eval-command='target extended-remote #{BMP_PORT}' --eval-command='monitor version' --eval-command='monitor swdp_scan' --eval-command='attach 1' #{t.source}")
|
exec("#{GDB} --eval-command='target extended-remote #{BMP_PORT}' --eval-command='monitor version' --eval-command='monitor swdp_scan' --eval-command='attach 1' #{t.source}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue