| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- ; USAGE: Copy this file and rename it to platformio_override.ini
- ;
- ; The platformio_override.ini file is not overwritten or monitored by git
- ; ONLY edit platformio_override.ini to make local changes to the parameters
- [platformio]
- extra_configs =
- ; Uncomment or edit the lines to show more User Setups in the PIO sidebar
- ; user_setups/darwin_sdl/*.ini
- ; user_setups/esp32/*.ini
- user_setups/esp8266/*.ini
- ; user_setups/linux_sdl/*.ini
- ; user_setups/stm32f4xx/*.ini
- ; user_setups/win32/*.ini
- [override]
- ; -- Hasp config options --------------------------------------
- build_flags =
- ; -- Uncomment the next line to use the file include/user_config_override.h settings
- ; -DUSE_CONFIG_OVERRIDE
- ;region -- Default Build Environments : Used when Build All ---
- extra_default_envs =
- ; Uncomment specific environments or create extra:
- ; arduitouch-esp32_ili9341
- ; d1-mini-esp32_ili9341
- ; d1-mini-esp8266_ili9341
- esp12e_ili9341
- ; d132-unoshield
- ; esp12e-st7735
- ; esp32dev-mrb3511
- ; esp32dev-ili9488
- ; lanbon_l8
- ; lolin-d32-pro_ili9341
- ; my_custom_build
- ; nodemcu32s-raspi
- ; wt32-sc01
- ; ttgo_esp32_poe-ili9341
- ;endregion
- ;region -- Define your local COM ports for each environment ---
- [env:d1-mini-esp32_ili9341]
- monitor_port = COM6 ; Change to the correct port
- upload_port = ${env:d1-mini-esp32_ili9341.monitor_port}
- [env:d1-mini-esp8266_ili9341]
- monitor_port = COM5 ; Change to the correct port
- upload_port = ${env:d1-mini-esp8266_ili9341.monitor_port}
- [env:esp12e_ili9341]
- monitor_port = COM5 ; Change to the correct port
- monitor_rts = 0
- monitor_dtr = 0
- upload_port = ${env:d1-mini-esp8266_ili9341.monitor_port}
- [env:esp32dev-mrb3511]
- monitor_port = COM3 ; Change to the correct port
- upload_port = ${env:esp32dev-mrb3511.monitor_port}
- [env:d132-unoshield]
- monitor_port = COM9 ; Change to the correct port
- ;upload_port = ${$env:d132-unoshield.monitor_port}
- upload_port = 192.168.4.4 ; IP of the ESP
- upload_protocol = espota ; Use ArduinoOTA after flashing over serial
- upload_flags = --port=3232 ; --auth=haspadmin ; OTA password
- [env:ttgo_esp32_poe-ili9341]
- monitor_port = COM9 ; Change to the correct port
- ;upload_port = ${env:ttgo_esp32_poe-ili9341.monitor_port}
- upload_port = 192.168.4.5 ; IP of the ESP
- upload_protocol = espota ; Use ArduinoOTA after flashing over serial
- upload_flags = --port=3232 ; --auth=haspadmin ; OTA password
- [env:lolin-d32-pro_ili9341]
- monitor_port = COM5 ; Change to the correct port
- upload_port = ${env:lolin-d32-pro_ili9341.monitor_port}
- ;endregion
- ;region -- Custom Environment configuration example -----------------
- [env:my_custom_build]
- extends = esp32
- board = nodemcu-32s
- upload_port = COM12 ; To change the port, use platform_override.ini
- monitor_port = COM12 ; To change the port, use platform_override.ini
- board_build.partitions = user_setups/esp32/partitions_4MB.csv ; default.csv
- debug_tool = esp-prog
- debug_init_break = tbreak setup
- build_flags =
- ${env.build_flags}
- ${esp32.build_flags}
- ;region -- TFT_eSPI build options -----------------------------------
- ${lcd.lolin24}
- ${esp32.vspi} ; Use VSPI hardware SPI bus
- -D TFT_DC=5
- -D TFT_CS=26
- -D TFT_RST=-1 ; RST
- -D TFT_BCKL=22 ; None, configurable via web UI (e.g. 21)
- -D TOUCH_CS=17 ; (can also be 22 or 16)
- ; -- Options ----------------------------------------
- -D HASP_USE_TELNET=1
- ;endregion
- ;endregion
|