21 lines
447 B
C
21 lines
447 B
C
|
|
||
|
#ifndef EC_7XX_H
|
||
|
#define EC_7XX_H
|
||
|
|
||
|
#if defined TYPE_EC718S || defined TYPE_EC718P || defined TYPE_EC718H || defined TYPE_EC718U || (defined TYPE_EC718M)
|
||
|
#ifdef TYPE_EC718M
|
||
|
#define GPIO_IP_VERSION_B1
|
||
|
#define KPC_IP_VERSION_B1
|
||
|
#define SPI_IP_VERSION_B2
|
||
|
#define TIMER_IP_VERSION_B1
|
||
|
#endif
|
||
|
#include "ec718/ec718.h"
|
||
|
#elif defined TYPE_EC716S || defined TYPE_EC716E
|
||
|
#include "ec716/ec716.h"
|
||
|
#else
|
||
|
#error "Need define correct CHIP TYPE"
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|