1 # script for ATMEL sam4l, a CORTEX-M4 chip
4 source [find target/at91sam4XXX.cfg]
6 set _FLASHNAME $_CHIPNAME.flash
7 flash bank $_FLASHNAME at91sam4l 0x00000000 0 1 1 $_TARGETNAME
9 # if srst is not fitted use VECTRESET to perform a soft reset
10 # this will only reset the core, not the peripherals
11 cortex_m reset_config vectreset