add scratchpad region save and restore

This commit is contained in:
optixx
2009-08-24 20:53:14 +02:00
parent 98ac61c91d
commit ee9b377698
4 changed files with 63 additions and 7 deletions

6
avr/usbload/checksize Normal file → Executable file
View File

@@ -5,11 +5,11 @@
# Creation Date: 2004-12-29
# Tabsize: 4
# Copyright: (c) 2005 OBJECTIVE DEVELOPMENT Software GmbH.
# Revision: $Id: checksize 83 2006-01-05 22:20:53Z cs $
# Revision: $:Id: checksize 83 2006-01-05 22:20:53Z cs $
error=0
codelimit=16384 # default value
datalimit=992 # default value; leave 32 bytes for stack
codelimit=65536 # default value
datalimit=4064 # default value; leave 32 bytes for stack
if [ $# -gt 1 ]; then
codelimit="$2"