FiPy support added

This commit is contained in:
Klaus K Wilting 2018-05-14 20:53:35 +02:00
parent e2da3ec839
commit 90f01fa6e0
4 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,7 @@ env_default = heltec_wifi_lora_32
;env_default = ttgov2
;env_default = lopy
;env_default = lopy4
;env_default = fipy
;env_default = lolin32lite_lora
;env_default = lolin32_lora
;

View File

@ -1,7 +1,7 @@
// Hardware related definitions for Pycom FiPy Board
#define CFG_sx1272_radio 1
#define HAS_LED NOT_A_PIN // FiPy4 has no on board LED, so we use RGB LED
#define HAS_LED NOT_A_PIN // FiPy has no on board LED, so we use RGB LED
#define HAS_RGB_LED 0 // WS2812B RGB LED on GPIO0
// Hardware pin definitions for Pycom FiPy board

View File

@ -12,7 +12,7 @@
#define RST 18
#define DIO0 23 // LoRa IRQ
#define DIO1 23 // workaround
#define DIO2 LMIC_UNUSED_PIN // 23 workaround
#define DIO2 LMIC_UNUSED_PIN
// select WIFI antenna (internal = onboard / external = u.fl socket)
#define HAS_ANTENNA_SWITCH 16 // pin for switching wifi antenna

View File

@ -12,7 +12,7 @@
#define RST LMIC_UNUSED_PIN
#define DIO0 23 // LoRa IRQ
#define DIO1 23 // workaround
#define DIO2 LMIC_UNUSED_PIN // 23 workaround
#define DIO2 LMIC_UNUSED_PIN
// select WIFI antenna (internal = onboard / external = u.fl socket)
#define HAS_ANTENNA_SWITCH 21 // pin for switching wifi antenna