From: richardbarry Date: Mon, 24 Mar 2008 12:32:38 +0000 (+0000) Subject: Update to use the new port layer. X-Git-Tag: V4.8.0~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b02ff992c0b73ca6cd0361dd91d7de569f9e6cc;p=freertos Update to use the new port layer. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@272 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/CORTEX_LM3S811_GCC/init/startup.c b/Demo/CORTEX_LM3S811_GCC/init/startup.c index 407a49792..efd7b414c 100644 --- a/Demo/CORTEX_LM3S811_GCC/init/startup.c +++ b/Demo/CORTEX_LM3S811_GCC/init/startup.c @@ -38,6 +38,7 @@ extern void xPortPendSVHandler(void); extern void xPortSysTickHandler(void); extern void vUART_ISR( void ); extern void vGPIO_ISR( void ); +extern void vPortSVCHandler( void ); //***************************************************************************** // @@ -78,7 +79,7 @@ void (* const g_pfnVectors[])(void) = 0, // Reserved 0, // Reserved 0, // Reserved - IntDefaultHandler, // SVCall handler + vPortSVCHandler, // SVCall handler IntDefaultHandler, // Debug monitor handler 0, // Reserved xPortPendSVHandler, // The PendSV handler diff --git a/Demo/CORTEX_LM3S811_GCC/makedefs b/Demo/CORTEX_LM3S811_GCC/makedefs index efd7530d4..1a8f4dab5 100644 --- a/Demo/CORTEX_LM3S811_GCC/makedefs +++ b/Demo/CORTEX_LM3S811_GCC/makedefs @@ -60,7 +60,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. @@ -80,12 +80,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. @@ -105,7 +105,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