Fix STM32 flashing options (#2997)
[ExpressLRS.git] / src / include / target / DIY_900_RX_STM32.h
blobfc7b4e3f7f0f02807e8ab0f2dbad36ee11ed0176
1 #ifndef DEVICE_NAME
2 #define DEVICE_NAME "ELRS 900RX"
3 #endif
5 #define TARGET_DIY_900_RX_STM32
7 // GPIO pin definitions
8 #define GPIO_PIN_NSS PA4
9 #define GPIO_PIN_MOSI PA7
10 #define GPIO_PIN_MISO PA6
11 #define GPIO_PIN_SCK PA5
13 #define GPIO_PIN_DIO0 PA0
14 #define GPIO_PIN_DIO1 PA1
15 #define GPIO_PIN_RST PA2
16 #define GPIO_PIN_BUSY PA3
18 #define GPIO_PIN_RCSIGNAL_RX PA10 // USART1
19 #define GPIO_PIN_RCSIGNAL_TX PA9 // USART1
21 #define GPIO_PIN_DEBUG_RX PB11 // USART3
22 #define GPIO_PIN_DEBUG_TX PB10 // USART3
24 #define GPIO_PIN_LED_GREEN PC13
25 #define GPIO_LED_GREEN_INVERTED 1
27 // Output Power
28 #define MinPower PWR_10mW
29 #define MaxPower PWR_50mW
30 #define DefaultPower PWR_50mW
31 #define POWER_OUTPUT_VALUES {120,124,127}