mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-04 05:13:51 -04:00
Baseline the RX63N/Renesas demo - the Ethernet part of the demo is currently commented out as the Ethernet port is not configured using the RX63N register set.
This commit is contained in:
parent
e69bce06de
commit
3fa8beb176
25 changed files with 6191 additions and 184 deletions
|
@ -41,7 +41,7 @@ Includes <System Includes> , "Project Includes"
|
|||
******************************************************************************/
|
||||
#include <stdint.h>
|
||||
#include "iodefine.h"
|
||||
//#include "r_ether.h"
|
||||
#include "r_ether.h"
|
||||
#include "rskrx63ndef.h"
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -100,7 +100,7 @@ void HardwareSetup(void)
|
|||
void EnablePeripheralModules(void)
|
||||
{
|
||||
/* Module standby clear */
|
||||
// SYSTEM.MSTPCRB.BIT.MSTPB15 = 0; /* EtherC, EDMAC */
|
||||
SYSTEM.MSTPCRB.BIT.MSTPB15 = 0; /* EtherC, EDMAC */
|
||||
SYSTEM.MSTPCRA.BIT.MSTPA15 = 0; /* CMT0 */
|
||||
}
|
||||
|
||||
|
@ -118,7 +118,7 @@ state changes on the external ports.
|
|||
Many peripheral modules will override the setting of the port registers. Ensure
|
||||
that the state is safe for external devices if the internal peripheral module is
|
||||
disabled or powered down. */
|
||||
#if(0)
|
||||
#if(0) /* NOTE: ETHERNET PORT IS NOT YET CONFIGURED FOR THE RX63N. */
|
||||
/* ==== MII/RMII Pins setting ==== */
|
||||
/*--------------------------------------*/
|
||||
/* Port Function Control Register */
|
||||
|
@ -176,7 +176,7 @@ disabled or powered down. */
|
|||
/* P83=1 Set RMII_CRS_DV input */
|
||||
PORT8.ICR.BIT.B3 = 1;
|
||||
#endif /* ETH_MODE_SEL */
|
||||
#endif
|
||||
#endif /* 0 */
|
||||
/* Configure LED 0-4 pin settings */
|
||||
PORT1.PODR.BIT.B4 = 1;
|
||||
PORT1.PODR.BIT.B5 = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue