Platformio Portable Configuration File

I only use cli.

Just as example

my_env.ini

[platformio]

default_envs = 
  han32-ttgo-ota
;  han32-ttgo
;  han-c3
;  han-c3-ota

; ### ### ###

[env:han32-ttgo]

platform = ${com.esp32_platform}
board = esp32dev
board_build.partitions = min_spiffs.csv

lib_deps =
  ${com-esp32.lib_deps}
  ${libraries.lora}
  Crypto = https://github.com/nikito7/__arduinolibs__crypto.git
  ChaChaPolyHelper = https://github.com/nikito7/__esp8266-chachapoly.git

build_flags =
  ${com-esp32.build_flags}
  '-DOMG_VERSION="han32-2024.01.21-0019"'
  '-DGateway_Name="LoRa_OMG1"'
  '-Dgw_password="edpbox123"'
; LoRa
  '-DZgatewayLORA="LORA"'
  '-DLORA_BAND=868E6'

custom_description = LoRa 868Mhz ESP32 Gateway
custom_hardware = Easy HAN LoRa ESP32

; ###

[env:han32-ttgo-ota]

extends = env:han32-ttgo
upload_protocol = espota
upload_port = 10.1.0.40
upload_flags =
  --auth=edpbox123
  --port=8266

; ### ### ###