From baa259e2cb193e51e45bc36c8bcb5e3b83da9a28 Mon Sep 17 00:00:00 2001 From: Leonel Lopes Parente Date: Sat, 17 Apr 2021 20:20:53 +0200 Subject: [PATCH] Add pin mappings comment --- src/boards/bluepill_f103c8.h | 1 + src/boards/disco_l072cz_lrwan1.h | 1 + src/boards/heltec_wifi_lora_32.h | 1 + src/boards/heltec_wifi_lora_32_v2.h | 1 + src/boards/heltec_wireless_stick.h | 1 + src/boards/heltec_wireless_stick_lite.h | 1 + src/boards/lolin32.h | 1 + src/boards/lolin_d32.h | 1 + src/boards/lolin_d32_pro.h | 1 + src/boards/lopy4.h | 1 + src/boards/lora32u4II.h | 1 + src/boards/nodemcu_32s.h | 1 + src/boards/nodemcuv2.h | 1 + src/boards/pro8mhzatmega328.h | 1 + src/boards/ttgo_lora32_v1.h | 1 + src/boards/ttgo_lora32_v2.h | 1 + src/boards/ttgo_lora32_v21.h | 1 + src/boards/ttgo_tbeam_v07.h | 1 + src/boards/ttgo_tbeam_v10.h | 1 + src/boards/zerousb.h | 1 + 20 files changed, 20 insertions(+) diff --git a/src/boards/bluepill_f103c8.h b/src/boards/bluepill_f103c8.h index 7ecf2a9..d811c0a 100644 --- a/src/boards/bluepill_f103c8.h +++ b/src/boards/bluepill_f103c8.h @@ -103,6 +103,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = PA4, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/disco_l072cz_lrwan1.h b/src/boards/disco_l072cz_lrwan1.h index d6f08aa..dcb0b02 100644 --- a/src/boards/disco_l072cz_lrwan1.h +++ b/src/boards/disco_l072cz_lrwan1.h @@ -107,6 +107,7 @@ // Board appears to work better with clock error enabled (value 4000 empirically determined). #define LMIC_CLOCK_ERROR_PPM 4000 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = PA15, .rxtx = PA1, diff --git a/src/boards/heltec_wifi_lora_32.h b/src/boards/heltec_wifi_lora_32.h index d72a119..4500bc2 100644 --- a/src/boards/heltec_wifi_lora_32.h +++ b/src/boards/heltec_wifi_lora_32.h @@ -88,6 +88,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/heltec_wifi_lora_32_v2.h b/src/boards/heltec_wifi_lora_32_v2.h index b5e6e18..2dddd7e 100644 --- a/src/boards/heltec_wifi_lora_32_v2.h +++ b/src/boards/heltec_wifi_lora_32_v2.h @@ -82,6 +82,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/heltec_wireless_stick.h b/src/boards/heltec_wireless_stick.h index 6b620be..4c9e6b8 100644 --- a/src/boards/heltec_wireless_stick.h +++ b/src/boards/heltec_wireless_stick.h @@ -83,6 +83,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/heltec_wireless_stick_lite.h b/src/boards/heltec_wireless_stick_lite.h index bcc03db..7a26d37 100644 --- a/src/boards/heltec_wireless_stick_lite.h +++ b/src/boards/heltec_wireless_stick_lite.h @@ -84,6 +84,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/lolin32.h b/src/boards/lolin32.h index a0279d5..d2f2e77 100644 --- a/src/boards/lolin32.h +++ b/src/boards/lolin32.h @@ -72,6 +72,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 32, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/lolin_d32.h b/src/boards/lolin_d32.h index e3ec5aa..bfe6b50 100644 --- a/src/boards/lolin_d32.h +++ b/src/boards/lolin_d32.h @@ -72,6 +72,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 27, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/lolin_d32_pro.h b/src/boards/lolin_d32_pro.h index 9b07bf6..ee09e89 100644 --- a/src/boards/lolin_d32_pro.h +++ b/src/boards/lolin_d32_pro.h @@ -72,6 +72,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 27, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/lopy4.h b/src/boards/lopy4.h index 2a6ae5d..3f71eca 100644 --- a/src/boards/lopy4.h +++ b/src/boards/lopy4.h @@ -113,6 +113,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/lora32u4II.h b/src/boards/lora32u4II.h index ecd2c2f..2595de9 100644 --- a/src/boards/lora32u4II.h +++ b/src/boards/lora32u4II.h @@ -72,6 +72,7 @@ // Value (30000) was determined empirically. #define LMIC_CLOCK_ERROR_PPM 30000 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 8, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/nodemcu_32s.h b/src/boards/nodemcu_32s.h index 746b8b8..0dbc227 100644 --- a/src/boards/nodemcu_32s.h +++ b/src/boards/nodemcu_32s.h @@ -71,6 +71,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 5, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/nodemcuv2.h b/src/boards/nodemcuv2.h index f33eac1..09048e1 100644 --- a/src/boards/nodemcuv2.h +++ b/src/boards/nodemcuv2.h @@ -77,6 +77,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 15, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/pro8mhzatmega328.h b/src/boards/pro8mhzatmega328.h index 5c68b3f..ce16205 100644 --- a/src/boards/pro8mhzatmega328.h +++ b/src/boards/pro8mhzatmega328.h @@ -75,6 +75,7 @@ // Value 30000 was determined empirically. #define LMIC_CLOCK_ERROR_PPM 30000 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 10, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/ttgo_lora32_v1.h b/src/boards/ttgo_lora32_v1.h index 6c32ab2..9b426b6 100644 --- a/src/boards/ttgo_lora32_v1.h +++ b/src/boards/ttgo_lora32_v1.h @@ -89,6 +89,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/ttgo_lora32_v2.h b/src/boards/ttgo_lora32_v2.h index e0ed369..25c4c1a 100644 --- a/src/boards/ttgo_lora32_v2.h +++ b/src/boards/ttgo_lora32_v2.h @@ -76,6 +76,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/ttgo_lora32_v21.h b/src/boards/ttgo_lora32_v21.h index b536261..83de0f7 100644 --- a/src/boards/ttgo_lora32_v21.h +++ b/src/boards/ttgo_lora32_v21.h @@ -70,6 +70,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/ttgo_tbeam_v07.h b/src/boards/ttgo_tbeam_v07.h index dd107b6..c08be77 100644 --- a/src/boards/ttgo_tbeam_v07.h +++ b/src/boards/ttgo_tbeam_v07.h @@ -77,6 +77,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/ttgo_tbeam_v10.h b/src/boards/ttgo_tbeam_v10.h index 02bb508..6e18c01 100644 --- a/src/boards/ttgo_tbeam_v10.h +++ b/src/boards/ttgo_tbeam_v10.h @@ -92,6 +92,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 18, .rxtx = LMIC_UNUSED_PIN, diff --git a/src/boards/zerousb.h b/src/boards/zerousb.h index 9b6d687..ce49516 100644 --- a/src/boards/zerousb.h +++ b/src/boards/zerousb.h @@ -78,6 +78,7 @@ // Value is defined in parts per million (of MAX_CLOCK_ERROR). // #define LMIC_CLOCK_ERROR_PPM 0 +// Pin mappings for LoRa tranceiver const lmic_pinmap lmic_pins = { .nss = 6, .rxtx = LMIC_UNUSED_PIN,