[env:easyhan-esp32]
platform = ${com.esp32_platform}
board = esp32dev
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp32.lib_deps}
${libraries.lora}
build_flags =
${com-esp32.build_flags}
'-DGateway_Name="OMG_ESP32_LORA"'
'-DZgatewayLORA="LORA"'
'-DLORA_BAND=868E6'
; this do not work here?
; change pins in config_LORA file,
; or remove defines
'-DLORA_SCK=14'
'-DLORA_MISO=12'
'-DLORA_MOSI=13'
'-DLORA_SS=15'
'-DLORA_RST=16'
'-DLORA_DI0=5'
'-DZsensorDS1820="DS1820"'
'-DDS1820_OWBUS_GPIO=23'
'-DDS1820_RESOLUTION=12'
'-DDS1820_INTERVAL_SEC=15UL'
custom_description = LoRa 868Mhz ESP32 Gateway
custom_hardware = Easy HAN LoRa
This only work if I remove define pins in config_LORA
It’s my mistake?