Update to use the new port layer.

pull/1/head
Richard Barry 17 years ago
parent 945ffc1a38
commit c366fa96f9

@ -38,6 +38,7 @@ extern void xPortPendSVHandler(void);
extern void xPortSysTickHandler(void); extern void xPortSysTickHandler(void);
extern void vUART_ISR( void ); extern void vUART_ISR( void );
extern void vGPIO_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 0, // Reserved
0, // Reserved 0, // Reserved
IntDefaultHandler, // SVCall handler vPortSVCHandler, // SVCall handler
IntDefaultHandler, // Debug monitor handler IntDefaultHandler, // Debug monitor handler
0, // Reserved 0, // Reserved
xPortPendSVHandler, // The PendSV handler xPortPendSVHandler, // The PendSV handler

@ -60,7 +60,7 @@ ifeq (${COMPILER}, gcc)
# #
# The command for calling the compiler. # The command for calling the compiler.
# #
CC=arm-stellaris-eabi-gcc CC=arm-none-eabi-gcc
# #
# The flags passed to the assembler. # The flags passed to the assembler.
@ -80,12 +80,12 @@ CFLAGS=-mthumb \
# #
# The command for calling the library archiver. # The command for calling the library archiver.
# #
AR=arm-stellaris-eabi-ar AR=arm-none-eabi-ar
# #
# The command for calling the linker. # The command for calling the linker.
# #
LD=arm-stellaris-eabi-ld LD=arm-none-eabi-ld
# #
# The flags passed to the linker. # 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. # The command for extracting images from the linked executables.
# #
OBJCOPY=arm-stellaris-eabi-objcopy OBJCOPY=arm-none-eabi-objcopy
endif endif

Loading…
Cancel
Save