Complete RX64M GCC demo.

This commit is contained in:
Richard Barry 2014-06-04 09:19:16 +00:00
parent 1130a53ec8
commit 5cbab67186
23 changed files with 1538 additions and 356 deletions

View file

@ -66,6 +66,9 @@
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
/* Hardware specifics. */
#include "r_cg_iodefine.h"
/* Prevent Renesas headers redefining some stdint.h types. */
#define __TYPEDEF__ 1

View file

@ -148,14 +148,14 @@ void vInitialiseTimerForIntQueueTest( void )
}
/*-----------------------------------------------------------*/
#pragma interrupt ( Excep_PERIB_INTB128( vect = 128 ) )
#pragma interrupt ( Excep_PERIB_INTB128( vect = 128, enable ) )
void Excep_PERIB_INTB128( void )
{
portYIELD_FROM_ISR( xFirstTimerHandler() );
}
/*-----------------------------------------------------------*/
#pragma interrupt ( Excep_PERIB_INTB129( vect = 129 ) )
#pragma interrupt ( Excep_PERIB_INTB129( vect = 129, enable ) )
void Excep_PERIB_INTB129( void )
{
portYIELD_FROM_ISR( xSecondTimerHandler() );

View file

@ -138,7 +138,7 @@ void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );
void vApplicationTickHook( void );
/*-----------------------------------------------------------*/
uint32_t ul1, ul2;
int main( void )
{
/* Configure the hardware ready to run the demo. */