From 7b02ff992c0b73ca6cd0361dd91d7de569f9e6cc Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 24 Mar 2008 12:32:38 +0000 Subject: [PATCH] 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 --- Demo/CORTEX_LM3S811_GCC/init/startup.c | 3 ++- Demo/CORTEX_LM3S811_GCC/makedefs | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) 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 -- 2.39.5