hal files lopy.h, lopy4.h adapted to current pins_arduino.h
This commit is contained in:
parent
ffab2f7743
commit
184e1e7d84
@ -12,9 +12,7 @@
|
|||||||
#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED
|
#define HAS_LED NOT_A_PIN // LoPy4 has no on board mono LED, we use on board RGB LED
|
||||||
#define HAS_RGB_LED (0) // WS2812B RGB LED on GPIO0
|
#define HAS_RGB_LED (0) // WS2812B RGB LED on GPIO0
|
||||||
|
|
||||||
// Pins for LORA chip SPI interface come from board file, we need some
|
// Note: Pins for LORA chip SPI interface come from board file pins_arduino.h
|
||||||
// additional definitions for LMIC
|
|
||||||
#define LORA_IRQ (23)
|
|
||||||
|
|
||||||
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
||||||
#define HAS_ANTENNA_SWITCH (16) // pin for switching wifi antenna
|
#define HAS_ANTENNA_SWITCH (16) // pin for switching wifi antenna
|
||||||
|
@ -21,11 +21,7 @@
|
|||||||
#define HAS_RGB_LED (0) // WS2812B RGB LED on GPIO0 (P2)
|
#define HAS_RGB_LED (0) // WS2812B RGB LED on GPIO0 (P2)
|
||||||
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
|
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
|
||||||
|
|
||||||
// Pins for LORA chip SPI interface come from board file, we need some
|
// Note: Pins for LORA chip SPI interface come from board file pins_arduino.h
|
||||||
// additional definitions for LMIC
|
|
||||||
#define LORA_IRQ (23)
|
|
||||||
#define LORA_RST NOT_A_PIN
|
|
||||||
#define SS 18
|
|
||||||
|
|
||||||
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
// select WIFI antenna (internal = onboard / external = u.fl socket)
|
||||||
#define HAS_ANTENNA_SWITCH (21) // pin for switching wifi antenna (P12)
|
#define HAS_ANTENNA_SWITCH (21) // pin for switching wifi antenna (P12)
|
||||||
|
Loading…
Reference in New Issue
Block a user