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,24 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
######################################
|
||||
# Target: Atmel AT91SAM9G20
|
||||
######################################
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set AT91_CHIPNAME $CHIPNAME
|
||||
} else {
|
||||
set AT91_CHIPNAME at91sam9g20
|
||||
}
|
||||
|
||||
source [find target/at91sam9.cfg]
|
||||
|
||||
# Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock).
|
||||
|
||||
adapter speed 5
|
||||
|
||||
# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
|
||||
# AT91SAM9G20 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
|
||||
# Both areas are 16 kB long.
|
||||
|
||||
#$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 1
|
||||
$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1
|
||||
Reference in New Issue
Block a user