diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-05-28 03:06:03 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-05-28 03:06:03 -0400 |
commit | 5b9c5d9c9388f58c0d08c398dc368ca40460830a (patch) | |
tree | 3f9fb49a69acd4c0f2d05733b30eb32af5acb006 /stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd | |
parent | cf068bc0ac946391c940a79ee2e55e1ff87eb79a (diff) | |
download | librambutan-5b9c5d9c9388f58c0d08c398dc368ca40460830a.tar.gz librambutan-5b9c5d9c9388f58c0d08c398dc368ca40460830a.zip |
libcs3 refactor merge
Removed dependency on libcs3.a because Codesourcery does not provide the
source for it.
We now link against a modified libcs3-lanchon-stm32.a built from parts
in public domain from Lanchon, and a start_c.c from Codesourcery that is
licensed under a permissive license.
Also removed all of the extra linker cruft from the stm32conf directory.
The linker files now live in support/ld
The openocd scripts now live in support/openocd
The udev rules and copy-to-ide scripts now live in support/scripts
The source lives in support/ld/libcs3-lanchon-stm32.tar.gz
Diffstat (limited to 'stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd')
-rw-r--r-- | stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd b/stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd deleted file mode 100644 index 4c3b00e..0000000 --- a/stm32conf/lanchon-stm32/src/exceptions/make-foreach.cmd +++ /dev/null @@ -1,38 +0,0 @@ -setlocal
-
-set ADR=0x%~1
-set TYPE=%~2
-set NAME=%~3
-set TEXT=%~4
-set HELP=%~5
-
-set /a NUM=%ADR%/4
-if %TYPE%==x set NAME=__STM32ReservedException%NUM%
-if %TYPE%==e set FULLTYPE=Exception
-if %TYPE%==i set FULLTYPE=Interrupt
-set FULLTEXT=%TEXT% %FULLTYPE%
-if not "%HELP%"=="" set FULLHELP= (%HELP%)
-set FULL=[%ADR%] %FULLTEXT%%FULLHELP%
-
-rem echo %NAME%
-
-echo .long %NAME%>>lanchon-stm32-vector.S
-
-echo .weak %NAME%>>lanchon-stm32-isrs.S
-echo .globl %NAME%>>lanchon-stm32-isrs.S
-echo .set %NAME%, __STM32DefaultExceptionHandler>>lanchon-stm32-isrs.S
-
-echo EXTERN (%NAME%)>>lanchon-stm32-names.inc
-
-if %TYPE%==x goto :eof
-
-echo /* %FULL% */>>stm32exceptions.h
-echo void %NAME%(void);>>stm32exceptions.h
-echo.>>stm32exceptions.h
-
-echo /* %FULL% */>>stm32exceptions.c
-echo void %NAME%(void)>>stm32exceptions.c
-echo {>>stm32exceptions.c
-echo DEFAULT_EXCEPTION_HANDLER(%NAME%, "%TEXT%", %NUM%, %ADR%);>>stm32exceptions.c
-echo }>>stm32exceptions.c
-echo.>>stm32exceptions.c
|