Files
Industrial_Emulator/platformio.ini
Emmanuel HC 39c7b21b25 somment
comment
2025-09-23 10:18:48 -05:00

69 lines
2.1 KiB
INI

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = Testing_RTU ; Select here the name of the configuration you want to download
[env]
upload_port = COM100
[common_env_options]
framework = arduino
monitor_speed = 115200
lib_ldf_mode = chain+
lib_compat_mode = soft
;Base configuration for RTU equipment
[env:Base_RTU]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_src_filter = -<*> +<Folder/path/to/equipment> ;Add the specific folder path here
;Base configuration for TCP equipment
[env:Base_TCP]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_flags = -D USE_MODBUS_IP ;Importat configuration, this flags is used to configure the program
build_src_filter = -<*> +<Folder/path/to/equipment> ;Add the specific folder path here
[env:Testing_RTU]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_src_filter = -<*> +</Testing_RTU> ;Add the specific folder path here
[env:Testing_TCP]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_flags = -D USE_MODBUS_IP ;Importat configuration, this flags is used to configure the program
build_src_filter = -<*> +</Testing_TCP> ;Add the specific folder path here
[env:CH_Daikin_AWV026B_RTU]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
upload_port = COM100
build_src_filter = -<*> +<BMS/CHILLER/CH_Daikin_AWV026B_RTU>
[env:CRAH_PAHHC_600_C6_TCP]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_flags = -D USE_MODBUS_IP
build_src_filter = -<*> +<BMS/CRAH/CRAH_PAHHC_600_C6_TCP>
[env:VFD_ABB_ACH580_RTU]
platform = espressif32
board = dfrobot_firebeetle2_esp32e
extends = common_env_options
build_src_filter = -<*> +<BMS/VFD/VFD_ABB_ACH580_RTU>