From: richardbarry Date: Mon, 24 Mar 2008 11:31:41 +0000 (+0000) Subject: Update to use new port layer. X-Git-Tag: V4.8.0~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ec4aa7c7e1d2ef352c886570b226296eac7de0ec;p=freertos Update to use new port layer. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@268 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/CORTEX_LM3S102_GCC/init/startup.c b/Demo/CORTEX_LM3S102_GCC/init/startup.c index 795896019..fcc30d021 100644 --- a/Demo/CORTEX_LM3S102_GCC/init/startup.c +++ b/Demo/CORTEX_LM3S102_GCC/init/startup.c @@ -34,6 +34,7 @@ void FaultISR(void); extern void xPortPendSVHandler(void); extern void xPortSysTickHandler(void); extern void vUART_ISR( void ); +extern void vPortSVCHandler( void ); //***************************************************************************** // @@ -73,7 +74,7 @@ void (* const g_pfnVectors[])(void) = 0, // Reserved 0, // Reserved 0, // Reserved - 0, // SVCall handler + vPortSVCHandler, // SVCall handler 0, // Debug monitor handler 0, // Reserved xPortPendSVHandler, // The PendSV handler diff --git a/Demo/CORTEX_LM3S102_GCC/makedefs b/Demo/CORTEX_LM3S102_GCC/makedefs index 8f7a62be5..cbc000dae 100644 --- a/Demo/CORTEX_LM3S102_GCC/makedefs +++ b/Demo/CORTEX_LM3S102_GCC/makedefs @@ -51,7 +51,7 @@ ifeq (${COMPILER}, gcc) # # The command for calling the compiler. # -CC=arm-stellaris-eabi-gcc +CC=arm-none-eabi-gcc # # The flags passed to the assembler. @@ -71,12 +71,12 @@ CFLAGS=-mthumb \ # # The command for calling the library archiver. # -AR=arm-stellaris-eabi-ar +AR=arm-none-eabi-ar # # The command for calling the linker. # -LD=arm-stellaris-eabi-ld +LD=arm-none-eabi-ld # # The flags passed to the linker. @@ -96,7 +96,7 @@ LIBC=${shell ${CC} -mthumb -march=armv6t2 -print-file-name=libc.a} # # The command for extracting images from the linked executables. # -OBJCOPY=arm-stellaris-eabi-objcopy +OBJCOPY=arm-none-eabi-objcopy endif