Smartage application
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2
Fork of STM32L0_LoRa by
PinMap.h
- Committer:
- marcozecchini
- Date:
- 2018-09-17
- Revision:
- 29:04e1489f8fe2
- Parent:
- 18:d5527ce82e6b
- Child:
- 30:d43802606136
File content as of revision 29:04e1489f8fe2:
/* Here are defined the GPIO ports and those other pins necessary to manage the lora connection. */ #ifdef TARGET_DISCO_L072CZ_LRWAN1 #define FEATURE_LORA #if defined(TARGET_DISCO_L072CZ_LRWAN1) #define LED LED2 #define LORA_SPI_MOSI PA_7 #define LORA_SPI_MISO PA_6 #define LORA_SPI_SCLK PB_3 #define LORA_CS PA_15 #define LORA_RESET PC_0 #define LORA_DIO0 PB_4 #define LORA_DIO1 PB_1 #define LORA_DIO2 PB_0 #define LORA_DIO3 PC_13 #define LORA_DIO4 PA_5 #define LORA_DIO5 PA_4 #define LORA_ANT_RX PA_1 #define LORA_ANT_TX PC_2 #define LORA_ANT_BOOST PC_1 #define LORA_TCXO PA_12 // 32 MHz #else #error "unknown board" #endif