From ee09fe7dbf5a0c9fbb93f1311ebb062a7b56687d Mon Sep 17 00:00:00 2001 From: c_jin Date: Fri, 4 Jan 2019 14:49:38 +0800 Subject: [PATCH] add button definitions --- .../TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h b/targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h index 3b1e8bc328..7bb066d69a 100644 --- a/targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h +++ b/targets/TARGET_GigaDevice/TARGET_GD32F4XX/TARGET_GD32F450ZI/PinNames.h @@ -235,6 +235,9 @@ typedef enum { KEY1 = PORTE_5, KEY2 = PORTE_4, + BUTTON1 = KEY1, + BUTTON2 = KEY2, + SERIAL_TX = PORTC_12, SERIAL_RX = PORTD_2, USBTX = SERIAL_TX,