aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/at91sam4lXX.cfg
blob: 77ff98a8c95eac2dc038d654683d1602e879a8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
# script for ATMEL sam4l, a CORTEX-M4 chip
#

source [find target/at91sam4XXX.cfg]

set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME at91sam4l 0x00000000 0 1 1 $_TARGETNAME

# if srst is not fitted use VECTRESET to perform a soft reset
# this will only reset the core, not the peripherals
cortex_m reset_config vectreset