Import xPack OpenOCD 0.12.0-7 and GNU Make 4.4.1 from x86_64-w64-mingw32.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#
|
||||
# Bouffalo Labs BL702, BL704 and BL706 target
|
||||
#
|
||||
# https://en.bouffalolab.com/product/?type=detail&id=8
|
||||
#
|
||||
# Default JTAG pins: (if not changed by eFuse configuration)
|
||||
# TMS - GPIO0
|
||||
# TDI - GPIO1
|
||||
# TCK - GPIO2
|
||||
# TDO - GPIO9
|
||||
#
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set BL602_CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set BL602_CHIPNAME bl702
|
||||
}
|
||||
|
||||
set CPUTAPID 0x20000e05
|
||||
|
||||
# For work-area we use DTCM instead of ITCM, due ITCM is used as buffer for L1 cache and XIP
|
||||
set WORKAREAADDR 0x22014000
|
||||
set WORKAREASIZE 0xC000
|
||||
|
||||
source [find target/bl602_common.cfg]
|
||||
|
||||
# JTAG reset is broken. Read comment of bl602_sw_reset_hbn_wait function for more information
|
||||
$_TARGETNAME configure -event reset-assert {
|
||||
halt
|
||||
|
||||
bl602_sw_reset_hbn_wait
|
||||
}
|
||||
Reference in New Issue
Block a user