1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

reverted some changes

This commit is contained in:
Bogdan Marinescu 2008-08-28 19:44:16 +00:00
parent 4ef9235006
commit 86ecb7bbe2
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ extern char etext[];
// Maximum file size that can be received via XMODEM
// Should be a multiple of 128
#define XMODEM_MAX_FILE_SIZE 1024
#define XMODEM_MAX_FILE_SIZE 3072
#ifdef BUILD_XMODEM

View File

@ -11,9 +11,9 @@ cdefs = cdefs + " -Dgcc"
# Toolset data
tools[ 'lm3s' ] = {}
tools[ 'lm3s' ][ 'cccom' ] = "arm-elf-gcc -mcpu=cortex-m3 -mthumb -msoft-float -mfpu=vfp %s %s -ffunction-sections -fdata-sections %s -Wall -c $SOURCE -o $TARGET" % ( opt, local_include, cdefs )
tools[ 'lm3s' ][ 'linkcom' ] = "arm-elf-gcc -nostartfiles -nostdlib -msoft-float -mfpu=vfp -T %s -Wl,--gc-sections -Wl,-e,ResetISR -Wl,--allow-multiple-definition -o $TARGET $SOURCES -lc -lgcc -lm %s" % ( ldscript, local_libs )
tools[ 'lm3s' ][ 'ascom' ] = "arm-elf-gcc -x assembler-with-cpp %s -mcpu=cortex-m3 -mthumb -msoft-float -mfpu=vfp %s -Wall -c $SOURCE -o $TARGET" % ( local_include, cdefs )
tools[ 'lm3s' ][ 'cccom' ] = "arm-elf-gcc -mcpu=cortex-m3 -mthumb %s %s -ffunction-sections -fdata-sections %s -Wall -c $SOURCE -o $TARGET" % ( opt, local_include, cdefs )
tools[ 'lm3s' ][ 'linkcom' ] = "arm-elf-gcc -nostartfiles -nostdlib -T %s -Wl,--gc-sections -Wl,-e,ResetISR -Wl,--allow-multiple-definition -o $TARGET $SOURCES -lc -lgcc -lm %s" % ( ldscript, local_libs )
tools[ 'lm3s' ][ 'ascom' ] = "arm-elf-gcc -x assembler-with-cpp %s -mcpu=cortex-m3 -mthumb %s -Wall -c $SOURCE -o $TARGET" % ( local_include, cdefs )
# Programming function
def progfunc_lm3s( target, source, env ):