mirror of
https://github.com/zoobab/rtl8710.git
synced 2024-11-22 04:24: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
|
rm -rf $(FILENAME_PREFIX).bin $(FILENAME_PREFIX).elf
|
||||||
|
|
||||||
install:
|
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:
|
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
|
cortex_m reset_config sysresetreq
|
||||||
}
|
}
|
||||||
|
|
||||||
# halt
|
|
||||||
# load_image $firmware 0x20000000 bin
|
|
||||||
|
|
||||||
proc cortex_start {address} {
|
proc cortex_start {address} {
|
||||||
reg faultmask 0x01
|
reg faultmask 0x01
|
||||||
set vectors ""
|
set vectors ""
|
||||||
|
|
Loading…
Reference in a new issue