global reset_count
set reset_count 0
-proc target_0_post_reset {} {
+[new_target_name] configure -event old-post_reset {
puts "Running reset init script for AT91EB40A"
global reset_count
# Reset script for AT91EB40a
set reset_count [expr $reset_count+1]
echo "Testing reset $reset_count !"
- asdfs
}
-proc target_0_pre_reset {} {
+[new_target_name] configure -event old-pre_reset {
global reset_count
set reset_count [expr $reset_count+1]
echo "Testing pre_reset $reset_count !"