Smartage application

Dependencies:   BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2

Fork of STM32L0_LoRa by Helmut Tschemernjak

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers PinMap.h Source File

PinMap.h

00001 /* Here are defined the GPIO ports and those other pins necessary to manage the lora connection. 
00002 */
00003 
00004 #ifdef TARGET_DISCO_L072CZ_LRWAN1
00005  #define FEATURE_LORA
00006 #endif
00007 
00008 #if defined(TARGET_DISCO_L072CZ_LRWAN1)
00009 #define LED             LED2
00010 
00011 #define LORA_SPI_MOSI   PA_7
00012 #define LORA_SPI_MISO   PA_6
00013 #define LORA_SPI_SCLK   PB_3
00014 #define LORA_CS         PA_15
00015 #define LORA_RESET      PC_0
00016 #define LORA_DIO0       PB_4
00017 #define LORA_DIO1       PB_1
00018 #define LORA_DIO2       PB_0
00019 #define LORA_DIO3       PC_13
00020 #define LORA_DIO4       PA_5
00021 #define LORA_DIO5       PA_4
00022 #define LORA_ANT_RX     PA_1
00023 #define LORA_ANT_TX     PC_2
00024 #define LORA_ANT_BOOST  PC_1
00025 #define LORA_TCXO       PA_12   // 32 MHz
00026 
00027 #else 
00028 
00029 #error "unknown board"
00030 
00031 #endif