2 #define DEVICE_NAME "FrSky R9M Lite"
5 #define TARGET_USE_EEPROM 1
6 #define TARGET_EEPROM_ADDR 0x51
8 // GPIO pin definitions
9 #define GPIO_PIN_RFswitch_CONTROL PC13 // need to confirm //HIGH = RX, LOW = TX
11 #define GPIO_PIN_NSS PB12
12 #define GPIO_PIN_DIO0 PC15
13 #define GPIO_PIN_MOSI PB15
14 #define GPIO_PIN_MISO PB14
15 #define GPIO_PIN_SCK PB13
16 #define GPIO_PIN_RST PC14
17 #define GPIO_PIN_RX_ENABLE PC13 //PB3 // need to confirm
18 #define GPIO_PIN_SDA PB7
19 #define GPIO_PIN_SCL PB6
20 #define GPIO_PIN_RCSIGNAL_RX PB11 // not yet confirmed
21 #define GPIO_PIN_RCSIGNAL_TX PB10 // not yet confirmed
22 #define GPIO_PIN_LED_RED PA1 // Red LED // not yet confirmed
23 #define GPIO_PIN_LED_GREEN PA4 // Green LED // not yet confirmed
25 #define GPIO_PIN_DEBUG_RX PA3 // confirmed
26 #define GPIO_PIN_DEBUG_TX PA2 // confirmed
28 #define GPIO_PIN_BUFFER_OE PA5 //CONFIRMED
29 #define GPIO_PIN_BUFFER_OE_INVERTED 0
32 #define MinPower PWR_10mW
33 #define MaxPower PWR_50mW
34 #define POWER_OUTPUT_VALUES {120,124,127}