; example custom platformio ini file for EMS-ESP [common] ; custom build flags to use in my_build_flags ; -DEMSESP_UART_DEBUG ; debugging UART ; -DEMSESP_DEBUG ; enables DEBUG to the log. Will generate a lot of extra traffic on Console and Syslog ; -DEMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\" ; hard code the default board name ; -DEMSESP_DEBUG_SENSOR ; additional debug for the sensors ; -DCORE_DEBUG_LEVEL=5 ; verbose core level debugging 5=verbose, 4=debug, 3=info ; -DEMSESP_TEST ; enable the tests. EN language only ; -DEMSESP_DE_ONLY ; only DE translated entity names ; -DEMSESP_EN_ONLY ; only EN translated entity names ; -DEMSESP_PINGTEST ; send log message every 1/2 second ; my_build_flags = -DEMSESP_TEST -DEMSESP_DEBUG ; my_build_flags = -DEMSESP_DEBUG -DEMSESP_TEST -DEMSESP_PINGTEST ; my_build_flags = -DEMSESP_DEBUG -DCORE_DEBUG_LEVEL=5 ; my_build_flags = -DEMSESP_EN_ONLY -DEMSESP_TEST -DCORE_DEBUG_LEVEL=5 -DARDUINO_USB_CDC_ON_BOOT=1 ; my_build_flags = -DEMSESP_DEBUG my_build_flags = [platformio] default_envs = s_16M_P ; build the web interface and the firmware for BBQKees E32V2 ; default_envs = build_webUI ; build the web interface only ; default_envs = s3_16M_P ; BBQKees S3 ; default_envs = s_4M ; BBQKees older S32, 4MB no psram ; default_envs = s_16M ; BBQKees newer S32 V2, 16MB no psram ; default_envs = c6 ; XIAO ESP32C ; default_envs = debug ; default_envs = core3 [env] ; uncomment if you want to upload the firmware via OTA (must have upload_protocol = custom) extra_scripts = post:scripts/rename_fw.py ; renames the firmware .bin file scripts/upload.py ; optionally upload the firmware via OTA (must have upload_protocol = custom) ; set the username and password for the admin account (default password is admin) custom_username = admin custom_password = admin ; ** upload settings ** ; for direct USB, which is the default you can set an optional port for example: ; upload_port = /dev/ttyUSB0 ; ; for direct via HTTP (OTA) set: ; upload_protocol = custom ; custom_emsesp_ip = or ems-esp.local upload_protocol = custom ; custom_emsesp_ip = 10.10.10.175 ; Wemos Lolin S3 ; custom_emsesp_ip = 192.168.1.65 ; E32V2.2 (test) custom_emsesp_ip = 192.168.1.223 ; E32V2.1 (production/live) ; custom_emsesp_ip = 192.168.1.173 ; S32 ; custom_emsesp_ip = 192.168.1.59 ; S32 (old) 4MB blue board ; lib_deps = ; bblanchon/ArduinoJson @ 7.4.2 ; ESP32Async/AsyncTCP @ 3.4.10 ; ESP32Async/ESPAsyncWebServer @ 3.9.5 ; ; file://${PROJECT_DIR}/../modules/EMS-ESP-Modules ; https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8 ; [espressif32_base_16M] ; framework = arduino ; board_build.partitions = partitions/esp32_partition_16M.csv ; board_upload.flash_size = 16MB ; board_build.app_partition_name = app0 ; ; platform = espressif32@6.12.0 ; Arduino Core v2.0.17 / IDF v4.4.7 ; ; platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip ; Arduino Core v3.2.0 / ESP-IDF v5.4.1 ; platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30/platform-espressif32.zip ; Arduino Core 3.3.0, IDF 5.5.0 ; ** debug settings ** ; to be used with an ESP32-S3 which has an onboard JTAG, connect the OTG USB port to the PC ; if using an external JTAG board like the ESP-PROG set debug_tool = esp-prog, and use zadig to set the correct driver for the USB port ; see https://docs.platformio.org/en/stable/projectconf/sections/env/options/debug/debug_init_break.html for settings ; use with my_build_flags = -DEMSESP_EN_ONLY -DEMSESP_TEST -DCORE_DEBUG_LEVEL=5 -DARDUINO_USB_CDC_ON_BOOT=1 [env:debug] board = esp32-s3-devkitc-1 framework = arduino platform = espressif32@6.12.0 ; Arduino Core v2.0.17 / IDF v4.4.7 board_build.partitions = partitions/esp32_partition_16M.csv board_upload.flash_size = 16MB board_build.app_partition_name = app0 board_build.filesystem = littlefs upload_protocol = esptool build_type = debug monitor_raw = no monitor_filters = colorize, esp32_exception_decoder debug_tool = esp-builtin debug_init_break = upload_speed = 2000000 monitor_speed = 115200 extra_scripts = [env:core3] framework = arduino, espidf board_build.partitions = partitions/esp32_partition_16M.csv board_upload.flash_size = 16MB board_build.app_partition_name = app0 ; platform = espressif32@6.12.0 ; Arduino Core 2.0.17 / IDF 4.4.7 platform = espressif32 board = s_16M_P_T lib_ignore = Zigbee Micro-RTSP epdiy BLE BluetoothSerial SimpleBLE WiFiProv ESP_I2S ESP_NOW ESP_SR Insights Matter OpenThread RainMaker SPIFFS USB NetworkClientSecure custom_sdkconfig = file://${PROJECT_DIR}/sdkconfig_tasmota_esp32.txt custom_component_remove = espressif/network_provisioning espressif/esp-zboss-lib espressif/esp-zigbee-lib espressif/esp_rainmaker espressif/rmaker_common espressif/esp_insights espressif/esp_diag_data_store espressif/esp_diagnostics espressif/cbor espressif/qrcode espressif/esp-sr espressif/libsodium espressif/esp-modbus chmorgan/esp-libhelix-mp3 espressif/esp32-camera