mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Update to V4.5.0 files and directory structure.
This commit is contained in:
parent
1362bebfdc
commit
98a9959a44
758 changed files with 53177 additions and 3139 deletions
|
@ -59,10 +59,10 @@
|
|||
/************************* WIU *************************/
|
||||
//#define _WIU
|
||||
/************************* TIM *************************/
|
||||
//#define _TIM
|
||||
#define _TIM
|
||||
//#define _TIM0
|
||||
//#define _TIM1
|
||||
//#define _TIM2
|
||||
#define _TIM2
|
||||
//#define _TIM3
|
||||
/************************* GPIO ************************/
|
||||
#define _GPIO
|
||||
|
|
|
@ -93,11 +93,12 @@ typedef struct {
|
|||
|
||||
/* AddressFilteringMode */
|
||||
#define MAC_Perfect_Multicast_Perfect 0x0
|
||||
#define MAC_Perfect_Muticast_Hash 0x1<<17
|
||||
#define MAC_Hash_Multicast_Hash 0x3<<17
|
||||
#define Inverse 0x4<<17
|
||||
#define Promiscuous 0x5<<17
|
||||
#define MAC_Hash_Muticast_All 0x6<<17
|
||||
#define MAC_Perfect_Multicast_Hash 0x1<<17
|
||||
#define MAC_Hash_Multicast_Hash 0x2<<17
|
||||
#define MAC_Inverse 0x3<<17
|
||||
#define MAC_Promiscuous 0x4<<17
|
||||
#define MAC_Perfect_Multicast_All 0x5<<17
|
||||
#define MAC_Hash_Multicast_All 0x6<<17
|
||||
|
||||
/* VLANFilteringMode */
|
||||
#define VLANFilter_VLTAG_VLID 1
|
||||
|
@ -109,7 +110,7 @@ typedef struct {
|
|||
|
||||
|
||||
/* MAC Address*/
|
||||
#define MAC_ADDR0 0x0D
|
||||
#define MAC_ADDR0 0x00
|
||||
#define MAC_ADDR1 0x0A
|
||||
#define MAC_ADDR2 0x08
|
||||
#define MAC_ADDR3 0x04
|
||||
|
|
|
@ -271,7 +271,7 @@ typedef struct
|
|||
} ENET_MAC_TypeDef;
|
||||
|
||||
/* DMA Registers */
|
||||
typedef struct
|
||||
typedef struct
|
||||
{
|
||||
vu32 SCR; /* DMA Status and Control Register */
|
||||
vu32 IER; /* DMA Interrupt Sources Enable Register */
|
||||
|
@ -510,10 +510,10 @@ typedef struct
|
|||
#define AHB_DMA_B (0x68000000) /* DMA Buffered Space */
|
||||
|
||||
#define AHB_ENET_MAC_U (0x7C000400) /* ENET_MAC UnBuffered Space */
|
||||
#define AHB_ENET_MAC_B (0x6C000000) /* ENET_MAC Buffered Space */
|
||||
#define AHB_ENET_MAC_B (0x6C000400) /* ENET_MAC Buffered Space */
|
||||
|
||||
#define AHB_ENET_DMA_U (0x7C000000) /* ENET_DMA Unbuffered Space */
|
||||
#define AHB_ENET_DMA_B (0x6C000400) /* ENET_DMA Buffered Space */
|
||||
#define AHB_ENET_DMA_B (0x6C000000) /* ENET_DMA Buffered Space */
|
||||
|
||||
#define AHB_VIC1_U (0xFC000000) /* Secondary VIC1 UnBuffered Space */
|
||||
#define AHB_VIC0_U (0xFFFFF000) /* Primary VIC0 UnBuffered Space */
|
||||
|
@ -592,7 +592,7 @@ typedef struct
|
|||
/*----------------------------- Unbuffered Mode ------------------------------*/
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef Buffered
|
||||
#ifndef Buffered
|
||||
|
||||
/*******************************************************************************
|
||||
* AHBAPB peripheral Unbuffered Base Address *
|
||||
|
@ -618,7 +618,7 @@ typedef struct
|
|||
* EMI peripheral Unbuffered Base Address *
|
||||
*******************************************************************************/
|
||||
|
||||
#define EMI_BASE (AHB_EMI_U)
|
||||
#define EMI_BASE (AHB_EMI_U)
|
||||
|
||||
/*******************************************************************************
|
||||
* FMI peripheral Unbuffered Base Address *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue