Added LoLin32 Lora
This commit is contained in:
parent
466e49d998
commit
d035b62a6b
@ -15,6 +15,7 @@ env_default = heltec_wifi_lora_32
|
|||||||
;env_default = ttgov2
|
;env_default = ttgov2
|
||||||
;env_default = lopy
|
;env_default = lopy
|
||||||
;env_default = lopy4
|
;env_default = lopy4
|
||||||
|
;env_default = lolin32_lora
|
||||||
|
|
||||||
[env:heltec_wifi_lora_32]
|
[env:heltec_wifi_lora_32]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
@ -124,3 +125,27 @@ build_flags =
|
|||||||
-include "src/hal/lopy4.h"
|
-include "src/hal/lopy4.h"
|
||||||
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
|
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
|
||||||
; -DCONFIG_FREERTOS_UNICORE
|
; -DCONFIG_FREERTOS_UNICORE
|
||||||
|
|
||||||
|
[env:lolin32_lora]
|
||||||
|
platform = espressif32
|
||||||
|
board = lolin32
|
||||||
|
framework = arduino
|
||||||
|
monitor_baud = 115200
|
||||||
|
upload_speed = 921600
|
||||||
|
lib_deps =
|
||||||
|
U8g2
|
||||||
|
ESP32 BLE Arduino@>=0.4.9
|
||||||
|
build_flags =
|
||||||
|
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
||||||
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
||||||
|
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
||||||
|
;needed for ESP32 BLE Ardunio v0.4.9
|
||||||
|
-fexceptions
|
||||||
|
-std=c++11
|
||||||
|
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
||||||
|
-D_lmic_config_h_
|
||||||
|
-include "src/main.h"
|
||||||
|
-include "src/hal/lolin32_lora.h"
|
||||||
|
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
|
||||||
|
; -DCONFIG_FREERTOS_UNICORE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user