mirror of
https://github.com/zoobab/rtl8710.git
synced 2024-11-21 12:04:16 +00:00
minor fixes
This commit is contained in:
parent
4d857797ab
commit
a1c1f34bc9
2 changed files with 2 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -24,8 +24,8 @@ clean:
|
|||
rm -rf $(FILENAME_PREFIX).bin $(FILENAME_PREFIX).elf
|
||||
|
||||
install:
|
||||
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_start $(ADDRESS)"
|
||||
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "load_image $(FILENAME_PREFIX).bin $(ADDRESS) bin" -c "cortex_start $(ADDRESS)" -c "shutdown"
|
||||
|
||||
reset:
|
||||
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "reset run"
|
||||
openocd -f interface/stlink-v2-1.cfg -f rtl8710.ocd -c "init" -c "reset halt" -c "reset run" -c "shutdown"
|
||||
|
||||
|
|
|
@ -46,9 +46,6 @@ if {![using_hla]} {
|
|||
cortex_m reset_config sysresetreq
|
||||
}
|
||||
|
||||
# halt
|
||||
# load_image $firmware 0x20000000 bin
|
||||
|
||||
proc cortex_start {address} {
|
||||
reg faultmask 0x01
|
||||
set vectors ""
|
||||
|
|
Loading…
Reference in a new issue