MR16/User/device/sx1281_driver/sx1281_boards.h

30 lines
680 B
C

#ifndef __SX1281_BOARDS_H__
#define __SX1281_BOARDS_H__
#define RADIO_NSS_PIN GPIO_PIN_4
#define RADIO_NSS_PORT GPIOA
#define RADIO_MOSI_PIN GPIO_PIN_7
#define RADIO_MOSI_PORT GPIOA
#define RADIO_MISO_PIN GPIO_PIN_6
#define RADIO_MISO_PORT GPIOA
#define RADIO_SCK_PIN GPIO_PIN_5
#define RADIO_SCK_PORT GPIOA
#define RADIO_nRESET_PIN GPIO_PIN_0
#define RADIO_nRESET_PORT GPIOB
#define RADIO_BUSY_PIN GPIO_PIN_8
#define RADIO_BUSY_PORT GPIOB
#define RADIO_DIOx_PIN GPIO_PIN_7
#define RADIO_DIOx_PORT GPIOB
#define ANT_SW_PIN GPIO_PIN_0
#define ANT_SW_PORT GPIOB
#endif // __SX1281_BOARDS_H__