From 13c4db24285e380c3ff364b2580bbfdee8415850 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 8 Jul 2011 09:55:18 +0000 Subject: [PATCH] Start creating the K60 demo directory structure. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1487 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../Freescale_Code/cpu/vectors.c | 5 +- .../CORTEX_Kinetis_K60_Tower_IAR/RTOSDemo.ewp | 2 +- .../main_blinky.c | 378 ++++++++++++++++++ 3 files changed, 383 insertions(+), 2 deletions(-) create mode 100644 Demo/CORTEX_Kinetis_K60_Tower_IAR/main_blinky.c diff --git a/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/cpu/vectors.c b/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/cpu/vectors.c index 817cb6e84..8443b67c1 100644 --- a/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/cpu/vectors.c +++ b/Demo/CORTEX_Kinetis_K60_Tower_IAR/Freescale_Code/cpu/vectors.c @@ -7,10 +7,13 @@ #include "vectors.h" #include "common.h" +/* The kernel interrupts - in their CMSIS form. */ extern void SVC_Handler( void ); extern void PendSV_Handler( void ); extern void SysTick_Handler( void ); +/* The button interrupt. */ +extern void vPort_E_ISRHandler( void ); /****************************************************************************** * Vector Table @@ -135,7 +138,7 @@ typedef void (*vector_entry)(void); VECTOR_104, VECTOR_105, /* Port C */ VECTOR_106, - VECTOR_107, /* Port E */ + vPort_E_ISRHandler, /* Port E */ VECTOR_108, VECTOR_109, VECTOR_110, diff --git a/Demo/CORTEX_Kinetis_K60_Tower_IAR/RTOSDemo.ewp b/Demo/CORTEX_Kinetis_K60_Tower_IAR/RTOSDemo.ewp index 974071206..4495524d4 100644 --- a/Demo/CORTEX_Kinetis_K60_Tower_IAR/RTOSDemo.ewp +++ b/Demo/CORTEX_Kinetis_K60_Tower_IAR/RTOSDemo.ewp @@ -147,7 +147,7 @@