mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-04 05:13:51 -04:00
Continue work on RX600 port - work in progress.
This commit is contained in:
parent
fc050c4ab9
commit
3e4eb6e7ae
14 changed files with 7529 additions and 43 deletions
7139
Demo/RX600_RX62N_Renesas/RTOSDemo/include/iodefine.h
Normal file
7139
Demo/RX600_RX62N_Renesas/RTOSDemo/include/iodefine.h
Normal file
File diff suppressed because it is too large
Load diff
13
Demo/RX600_RX62N_Renesas/RTOSDemo/include/lowsrc.h
Normal file
13
Demo/RX600_RX62N_Renesas/RTOSDemo/include/lowsrc.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
/***********************************************************************/
|
||||
/* */
|
||||
/* FILE :lowsrc.h */
|
||||
/* DATE :Wed, Aug 11, 2010 */
|
||||
/* DESCRIPTION :Header file of I/O Stream file */
|
||||
/* CPU TYPE :Other */
|
||||
/* */
|
||||
/* This file is generated by Renesas Project Generator (Ver.4.50). */
|
||||
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||||
/* */
|
||||
/***********************************************************************/
|
||||
/*Number of I/O Stream*/
|
||||
#define IOSTREAM 20
|
98
Demo/RX600_RX62N_Renesas/RTOSDemo/include/rskrx62ndef.h
Normal file
98
Demo/RX600_RX62N_Renesas/RTOSDemo/include/rskrx62ndef.h
Normal file
|
@ -0,0 +1,98 @@
|
|||
|
||||
/******************************************************************************
|
||||
* DISCLAIMER
|
||||
* Please refer to http://www.renesas.com/disclaimer
|
||||
******************************************************************************
|
||||
Copyright (C) 2008. Renesas Technology Corp., All Rights Reserved.
|
||||
*******************************************************************************
|
||||
* File Name : rsksh7216.h
|
||||
* Version : 1.00
|
||||
* Description : RSK 7216 board specific settings
|
||||
******************************************************************************
|
||||
* History : DD.MM.YYYY Version Description
|
||||
* : 06.10.2009 1.00 First Release
|
||||
******************************************************************************/
|
||||
|
||||
#ifndef RSKRX62N_H
|
||||
#define RSKRX62N_H
|
||||
|
||||
/******************************************************************************
|
||||
Includes <System Includes> , "Project Includes"
|
||||
******************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
Typedef definitions
|
||||
******************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
Macro definitions
|
||||
******************************************************************************/
|
||||
|
||||
/* System Clock Settings */
|
||||
#define XTAL_FREQUENCY (12000000L)
|
||||
#define ICLK_MUL (8)
|
||||
#define PCLK_MUL (4)
|
||||
#define BCLK_MUL (4)
|
||||
#define ICLK_FREQUENCY (XTAL_FREQUENCY * ICLK_MUL)
|
||||
#define PCLK_FREQUENCY (XTAL_FREQUENCY * PCLK_MUL)
|
||||
#define BCLK_FREQUENCY (XTAL_FREQUENCY * BCLK_MUL)
|
||||
|
||||
#define CMT0_CLK_SELECT (512)
|
||||
|
||||
/* General Values */
|
||||
#define LED_ON (0)
|
||||
#define LED_OFF (1)
|
||||
#define SET_BIT_HIGH (1)
|
||||
#define SET_BIT_LOW (0)
|
||||
#define SET_BYTE_HIGH (0xFF)
|
||||
#define SET_BYTE_LOW (0x00)
|
||||
|
||||
/* Define switches to be polled if not available as interrupts */
|
||||
#define SW_ACTIVE FALSE
|
||||
#define SW1 PORT0.DR.BIT.B0
|
||||
#define SW2 PORT0.DR.BIT.B1
|
||||
#define SW3 PORT0.DR.BIT.B7
|
||||
#define SW1_DDR PORT0.DDR.BIT.B0
|
||||
#define SW2_DDR PORT0.DDR.BIT.B1
|
||||
#define SW3_DDR PORT0.DDR.BIT.B7
|
||||
#define SW1_ICR PORT0.ICR.BIT.B0
|
||||
#define SW2_ICR PORT0.ICR.BIT.B1
|
||||
#define SW3_ICR PORT0.ICR.BIT.B7
|
||||
|
||||
/* LEDs */
|
||||
#define LED0 PORT0.DR.BIT.B2
|
||||
#define LED1 PORT0.DR.BIT.B3
|
||||
#define LED2 PORT0.DR.BIT.B5
|
||||
#define LED3 PORT3.DR.BIT.B4
|
||||
#define LED4 PORT6.DR.BIT.B0
|
||||
#define LED5 PORT7.DR.BIT.B3
|
||||
#define LED0_DDR PORT0.DDR.BIT.B2
|
||||
#define LED1_DDR PORT0.DDR.BIT.B3
|
||||
#define LED2_DDR PORT0.DDR.BIT.B5
|
||||
#define LED3_DDR PORT3.DDR.BIT.B4
|
||||
#define LED4_DDR PORT6.DDR.BIT.B0
|
||||
#define LED5_DDR PORT7.DDR.BIT.B3
|
||||
|
||||
/* 2x8 segment LCD */
|
||||
#define LCD_RS PORT8.DR.BIT.B4
|
||||
#define LCD_EN PORT8.DR.BIT.B5
|
||||
#define LCD_DATA PORT9.DR.BYTE
|
||||
#define LCD_RS_DDR PORT8.DDR.BIT.B4
|
||||
#define LCD_EN_DDR PORT8.DDR.BIT.B5
|
||||
#define LCD_DATA_DDR PORT9.DDR.BYTE
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
Variable Externs
|
||||
******************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
Functions Prototypes
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/* RSKRX62N_H */
|
||||
#endif
|
||||
|
13
Demo/RX600_RX62N_Renesas/RTOSDemo/include/stacksct.h
Normal file
13
Demo/RX600_RX62N_Renesas/RTOSDemo/include/stacksct.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
/***********************************************************************/
|
||||
/* */
|
||||
/* FILE :stacksct.h */
|
||||
/* DATE :Wed, Aug 11, 2010 */
|
||||
/* DESCRIPTION :Setting of Stack area */
|
||||
/* CPU TYPE :Other */
|
||||
/* */
|
||||
/* This file is generated by Renesas Project Generator (Ver.4.50). */
|
||||
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||||
/* */
|
||||
/***********************************************************************/
|
||||
#pragma stacksize su=0x300
|
||||
#pragma stacksize si=0x100
|
41
Demo/RX600_RX62N_Renesas/RTOSDemo/include/typedefine.h
Normal file
41
Demo/RX600_RX62N_Renesas/RTOSDemo/include/typedefine.h
Normal file
|
@ -0,0 +1,41 @@
|
|||
/***********************************************************************/
|
||||
/* */
|
||||
/* FILE :typedefine.h */
|
||||
/* DATE :Wed, Aug 11, 2010 */
|
||||
/* DESCRIPTION :Aliases of Integer Type */
|
||||
/* CPU TYPE :Other */
|
||||
/* */
|
||||
/* This file is generated by Renesas Project Generator (Ver.4.50). */
|
||||
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||||
/* */
|
||||
/***********************************************************************/
|
||||
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
*
|
||||
* Device : RX
|
||||
*
|
||||
* File Name : typedefine.h
|
||||
*
|
||||
* Abstract : Aliases of Integer Type.
|
||||
*
|
||||
* History : 1.00 (2009-08-07)
|
||||
*
|
||||
* NOTE : THIS IS A TYPICAL EXAMPLE.
|
||||
*
|
||||
* Copyright(c) 2009 Renesas Technology Corp.
|
||||
* And Renesas Solutions Corp.,All Rights Reserved.
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
typedef signed char _SBYTE;
|
||||
typedef unsigned char _UBYTE;
|
||||
typedef signed short _SWORD;
|
||||
typedef unsigned short _UWORD;
|
||||
typedef signed int _SINT;
|
||||
typedef unsigned int _UINT;
|
||||
typedef signed long _SDWORD;
|
||||
typedef unsigned long _UDWORD;
|
||||
typedef signed long long _SQWORD;
|
||||
typedef unsigned long long _UQWORD;
|
60
Demo/RX600_RX62N_Renesas/RTOSDemo/include/vect.h
Normal file
60
Demo/RX600_RX62N_Renesas/RTOSDemo/include/vect.h
Normal file
|
@ -0,0 +1,60 @@
|
|||
/***********************************************************************/
|
||||
/* */
|
||||
/* FILE :vect.h */
|
||||
/* DATE :Wed, Aug 11, 2010 */
|
||||
/* DESCRIPTION :Definition of Vector */
|
||||
/* CPU TYPE :Other */
|
||||
/* */
|
||||
/* This file is generated by Renesas Project Generator (Ver.4.50). */
|
||||
/* NOTE:THIS IS A TYPICAL EXAMPLE. */
|
||||
/* */
|
||||
/***********************************************************************/
|
||||
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
*
|
||||
* Device : RX/RX600
|
||||
*
|
||||
* File Name : vect.h
|
||||
*
|
||||
* Abstract : Definition of Vector.
|
||||
*
|
||||
* History : 1.00 (2009-08-07)
|
||||
*
|
||||
* NOTE : THIS IS A TYPICAL EXAMPLE.
|
||||
*
|
||||
* Copyright(c) 2009 Renesas Technology Corp.
|
||||
* And Renesas Solutions Corp.,All Rights Reserved.
|
||||
*
|
||||
*********************************************************************/
|
||||
|
||||
// Exception(Supervisor Instruction)
|
||||
#pragma interrupt (Excep_SuperVisorInst)
|
||||
void Excep_SuperVisorInst(void);
|
||||
|
||||
// Exception(Undefined Instruction)
|
||||
#pragma interrupt (Excep_UndefinedInst)
|
||||
void Excep_UndefinedInst(void);
|
||||
|
||||
// Exception(Floating Point)
|
||||
#pragma interrupt (Excep_FloatingPoint)
|
||||
void Excep_FloatingPoint(void);
|
||||
|
||||
// NMI
|
||||
#pragma interrupt (NonMaskableInterrupt)
|
||||
void NonMaskableInterrupt(void);
|
||||
|
||||
// Dummy
|
||||
#pragma interrupt (Dummy)
|
||||
void Dummy(void);
|
||||
|
||||
// BRK
|
||||
#pragma interrupt (Excep_BRK(vect=0))
|
||||
void Excep_BRK(void);
|
||||
|
||||
//;<<VECTOR DATA START (POWER ON RESET)>>
|
||||
//;Power On Reset PC
|
||||
extern void PowerON_Reset_PC(void);
|
||||
//;<<VECTOR DATA END (POWER ON RESET)>>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue