FiPy support added
This commit is contained in:
parent
e2da3ec839
commit
90f01fa6e0
@ -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
|
||||
;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user