fix building issues with heltec wireless paper and heltec tracker
This commit is contained in:
@@ -6,6 +6,14 @@ build_flags =
|
|||||||
-I variants/heltec_tracker
|
-I variants/heltec_tracker
|
||||||
-D HELTEC_LORA_V3
|
-D HELTEC_LORA_V3
|
||||||
-D ARDUINO_USB_CDC_ON_BOOT=1 ; need for Serial
|
-D ARDUINO_USB_CDC_ON_BOOT=1 ; need for Serial
|
||||||
|
-D ESP32_CPU_FREQ=80
|
||||||
|
-D P_LORA_DIO_1=14
|
||||||
|
-D P_LORA_NSS=8
|
||||||
|
-D P_LORA_RESET=RADIOLIB_NC
|
||||||
|
-D P_LORA_BUSY=13
|
||||||
|
-D P_LORA_SCLK=9
|
||||||
|
-D P_LORA_MISO=11
|
||||||
|
-D P_LORA_MOSI=10
|
||||||
-D RADIO_CLASS=CustomSX1262
|
-D RADIO_CLASS=CustomSX1262
|
||||||
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||||
-D LORA_TX_POWER=22
|
-D LORA_TX_POWER=22
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#define RADIOLIB_STATIC_ONLY 1
|
#define RADIOLIB_STATIC_ONLY 1
|
||||||
#include <RadioLib.h>
|
#include <RadioLib.h>
|
||||||
#include <helpers/radiolib/RadioLibWrappers.h>
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
||||||
#include <helpers/HeltecV3Board.h>
|
#include <../heltec_v3/HeltecV3Board.h>
|
||||||
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
||||||
#include <helpers/AutoDiscoverRTCClock.h>
|
#include <helpers/AutoDiscoverRTCClock.h>
|
||||||
#include <helpers/SensorManager.h>
|
#include <helpers/SensorManager.h>
|
||||||
|
|||||||
@@ -5,12 +5,20 @@ build_flags =
|
|||||||
${esp32_base.build_flags}
|
${esp32_base.build_flags}
|
||||||
-I variants/heltec_wireless_paper
|
-I variants/heltec_wireless_paper
|
||||||
-D HELTEC_WIRELESS_PAPER
|
-D HELTEC_WIRELESS_PAPER
|
||||||
|
-D ARDUINO_USB_CDC_ON_BOOT=1 ; need for Serial
|
||||||
|
-D P_LORA_DIO_1=14
|
||||||
|
-D P_LORA_NSS=8
|
||||||
|
-D P_LORA_RESET=RADIOLIB_NC
|
||||||
|
-D P_LORA_BUSY=13
|
||||||
|
-D P_LORA_SCLK=9
|
||||||
|
-D P_LORA_MISO=11
|
||||||
|
-D P_LORA_MOSI=10
|
||||||
-D RADIO_CLASS=CustomSX1262
|
-D RADIO_CLASS=CustomSX1262
|
||||||
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||||
-D LORA_TX_POWER=22
|
-D LORA_TX_POWER=22
|
||||||
-D P_LORA_TX_LED=18
|
-D P_LORA_TX_LED=18
|
||||||
; -D PIN_BOARD_SDA=17
|
-D PIN_BOARD_SDA=17
|
||||||
; -D PIN_BOARD_SCL=18
|
-D PIN_BOARD_SCL=18
|
||||||
-D PIN_USER_BTN=0
|
-D PIN_USER_BTN=0
|
||||||
-D PIN_VEXT_EN=45
|
-D PIN_VEXT_EN=45
|
||||||
-D PIN_VBAT_READ=20
|
-D PIN_VBAT_READ=20
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#define RADIOLIB_STATIC_ONLY 1
|
#define RADIOLIB_STATIC_ONLY 1
|
||||||
#include <RadioLib.h>
|
#include <RadioLib.h>
|
||||||
#include <helpers/radiolib/RadioLibWrappers.h>
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
||||||
#include <helpers/HeltecV3Board.h>
|
#include <../heltec_v3/HeltecV3Board.h>
|
||||||
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
||||||
#include <helpers/AutoDiscoverRTCClock.h>
|
#include <helpers/AutoDiscoverRTCClock.h>
|
||||||
#include <helpers/SensorManager.h>
|
#include <helpers/SensorManager.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user