Files
tinyUSB/hw/bsp/mm32/boards/mm32f327x_pitaya_lite/board.h

20 lines
469 B
C

/* metadata:
name: DshanMCU Pitaya Lite with MM32F3273G8P
url: https://gitee.com/weidongshan/DshanMCU-Pitaya-c
*/
#ifndef BOARD_H
#define BOARD_H
// GPIO_PinAFConfig(GPIOA, GPIO_PinSource15, GPIO_AF_15); //Disable JTDI AF to AF15
#define LED_PORT GPIOA
#define LED_PIN GPIO_Pin_1
#define LED_STATE_ON 1
#define BUTTON_PORT GPIOA
#define BUTTON_PIN GPIO_Pin_0
#define BUTTON_STATE_ACTIVE 0
#endif