Sort out board settings.
This commit is contained in:
+4
-10
@@ -27,27 +27,21 @@
|
||||
#ifndef BOARD_H_
|
||||
#define BOARD_H_
|
||||
|
||||
// Note: This definition file covers all MM900EV1B, MM900EV2B, and MM900EV3B boards.
|
||||
// Each of these boards has an FT900 device.
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(__FT900__)
|
||||
#define GPIO_UART0_TX 48
|
||||
#define GPIO_UART0_RX 49
|
||||
#define GPIO_ETH_LED0 61
|
||||
#define GPIO_ETH_LED1 62
|
||||
#define GPIO_REMOTE_WAKEUP_PIN 18
|
||||
#define USBD_VBUS_DTC_PIN 3
|
||||
#elif defined(__FT930__)
|
||||
#define GPIO_UART0_TX 23
|
||||
#define GPIO_UART0_RX 22
|
||||
#define GPIO_ETH_LED0 4
|
||||
#define GPIO_ETH_LED1 5
|
||||
#define GPIO_REMOTE_WAKEUP_PIN 12
|
||||
#define USBD_VBUS_DTC_PIN 39
|
||||
#endif
|
||||
|
||||
//#define GPIO_REMOTE_WAKEUP
|
||||
#define GPIO_REMOTE_WAKEUP
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
Reference in New Issue
Block a user