diff options
| author | [email protected] <[email protected]> | 2011-06-10 03:56:29 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-10 03:56:29 +0000 |
| commit | b83b4ee04c8ce96e384bbc593c3b44f33f362b9f (patch) | |
| tree | c8569d77fc7f4e28867c8e2c9b972c1710eed915 /bsp/sam7x/rtconfig.py | |
| parent | 1fb43c8619da178a008c85a84cdabb37a2023be2 (diff) | |
add sam7x_rom.ld.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1483 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/sam7x/rtconfig.py')
| -rw-r--r-- | bsp/sam7x/rtconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/sam7x/rtconfig.py b/bsp/sam7x/rtconfig.py index 983e4c5f23..59666f0669 100644 --- a/bsp/sam7x/rtconfig.py +++ b/bsp/sam7x/rtconfig.py @@ -32,7 +32,7 @@ if PLATFORM == 'gcc': DEVICE = ' -mcpu=arm7tdmi' CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.lds' + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.ld' CPATH = '' LPATH = '' @@ -42,7 +42,7 @@ if PLATFORM == 'gcc': else: CFLAGS += ' -O2' - POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread-sam7x.bin\n' + SIZE + ' $TARGET \n' + POST_ACTION = OBJCPY + ' -O ihex $TARGET rtthread-sam7x.hex\n' + SIZE + ' $TARGET \n' elif PLATFORM == 'armcc': # toolchains @@ -69,7 +69,7 @@ elif PLATFORM == 'armcc': else: CFLAGS += ' -O2' - POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' + POST_ACTION = 'fromelf --hex $TARGET --output rtthread-asm7x.hex \nfromelf -z $TARGET' elif PLATFORM == 'iar': # toolchains |
