Smartage application

Dependencies:   BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2

Fork of STM32L0_LoRa by Helmut Tschemernjak

Committer:
marcozecchini
Date:
Mon Sep 17 20:37:51 2018 +0000
Revision:
29:04e1489f8fe2
Parent:
18:d5527ce82e6b
Child:
30:d43802606136
Bug fixed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
marcozecchini 29:04e1489f8fe2 1 /* Here are defined the GPIO ports and those other pins necessary to manage the lora connection.
marcozecchini 29:04e1489f8fe2 2 */
marcozecchini 29:04e1489f8fe2 3 #ifdef TARGET_DISCO_L072CZ_LRWAN1
Helmut64 16:675f4d0ee9e9 4 #define FEATURE_LORA
Helmut64 0:c43b6919ae15 5
Helmut64 0:c43b6919ae15 6
Helmut64 13:5a32a1922fbc 7 #if defined(TARGET_DISCO_L072CZ_LRWAN1)
Helmut64 17:98f2528e8399 8 #define LED LED2
Helmut64 0:c43b6919ae15 9
Helmut64 0:c43b6919ae15 10 #define LORA_SPI_MOSI PA_7
Helmut64 0:c43b6919ae15 11 #define LORA_SPI_MISO PA_6
Helmut64 0:c43b6919ae15 12 #define LORA_SPI_SCLK PB_3
Helmut64 0:c43b6919ae15 13 #define LORA_CS PA_15
Helmut64 0:c43b6919ae15 14 #define LORA_RESET PC_0
Helmut64 0:c43b6919ae15 15 #define LORA_DIO0 PB_4
Helmut64 0:c43b6919ae15 16 #define LORA_DIO1 PB_1
Helmut64 0:c43b6919ae15 17 #define LORA_DIO2 PB_0
Helmut64 13:5a32a1922fbc 18 #define LORA_DIO3 PC_13
Helmut64 0:c43b6919ae15 19 #define LORA_DIO4 PA_5
Helmut64 0:c43b6919ae15 20 #define LORA_DIO5 PA_4
Helmut64 0:c43b6919ae15 21 #define LORA_ANT_RX PA_1
Helmut64 0:c43b6919ae15 22 #define LORA_ANT_TX PC_2
Helmut64 0:c43b6919ae15 23 #define LORA_ANT_BOOST PC_1
Helmut64 0:c43b6919ae15 24 #define LORA_TCXO PA_12 // 32 MHz
Helmut64 0:c43b6919ae15 25
Helmut64 16:675f4d0ee9e9 26 #else
Helmut64 16:675f4d0ee9e9 27
Helmut64 16:675f4d0ee9e9 28 #error "unknown board"
Helmut64 16:675f4d0ee9e9 29
Helmut64 0:c43b6919ae15 30 #endif