mirror of
https://github.com/luc-github/ESP3D.git
synced 2026-03-22 23:56:51 +01:00
### Maintenance page
* Add add tab color for mobile view
* Add spellcheck off / autocorect off in input
* Add disconnect button when authenticate enabled
* Add Invalid user or password message when authentication failed
### Board support
* Add ESP32 S2 support
* Add ESP32 S3 support
* Add ESP32 C3 support
### ESP commands
* Add command 701 to control GCODE streaming
* Remove command 901 as duplicate
* Update command 420 to add more details
* Use text as default output
* All json on all commands for formated output
### Core
* Add benchmak function to check transfer speed (for test only-not production)
* Merge code for ESP3DLib support
* Add better printer display support (M117 / Serial TFT)
* Use ESP32 analogWrite instead of emulated one
### Modules
* Display
* Refactor code
* Remove SPI ILI 9341 / 9488 support as not suitable
* Add ST7789 support (135x240 / 240x240)
* Filesystem
* Bug fixes due to esp core updates
* Better SD sharing mecanism
* Better global FS management
* FTP
* Add SD sharing support
* Better global FS management
* GCODE Host
* Add basic support for macro files
* Add ESP command support
* Use not blocking method to stream commands / handle response
* Notifications
* Add IFTTT notification service
* Add WebUI notification
* Add ESP3D display notification
* WebDav
* Add SD sharing support
* Add bug fix from https://github.com/d-a-v/ESPWebDAV
* Better global FS management
* Websocket
* Add function to handle zombies connections
* WiFi
* Fix connection to AP sometime fail
* Fix low signal not diplayed in ESP420 even connected
* Add AP Setup mode
### Libraries
* Update SDFat-2.0.6 to 2.1.2
* Update ESP32SSDP 1.1.1 to 1.2.0
* Update TFT_eSPI-1.4.11 to 2.4.61
* Update arduinoWebSockets-2.3.5 to 2.3.6
* Update esp8266-oled-ssd1306-4.0.0 to 4.3.0
* Remove lvgl support
### Tools
* Add I2C scanner script
* Add python script to simulate/stress printer serial communication
### PlatformIO
* Use latest 4.4.0 Espressif32 release (ESP32-arduino core 2.0.3)
* Add fix for Flash more than 4MB
* Add Esp32 S2/S3/C3 env
* Add ESP32-ST7789 / esp32-TTGO_T_Display env
292 lines
8.5 KiB
INI
292 lines
8.5 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]
|
|
src_dir = esp3d
|
|
build_dir = .pioenvs
|
|
lib_dir = libraries
|
|
libdeps_dir = .piolibdeps
|
|
data_dir = esp3d/data
|
|
default_envs = esp32dev
|
|
|
|
[env:esp32dev]
|
|
platform = espressif32@4.4.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
; set frequency to 240MHz
|
|
;board_build.f_cpu = 240000000L
|
|
; set frequency to 80MHz
|
|
;board_build.f_flash = 80000000L
|
|
;board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
[env:esp32devWiFiOnly]
|
|
platform = espressif32@4.4.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
; set frequency to 240MHz
|
|
;board_build.f_cpu = 240000000L
|
|
; set frequency to 80MHz
|
|
;board_build.f_flash = 80000000L
|
|
;board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
[env:esp32cam]
|
|
platform = espressif32@4.4.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
; set frequency to 240MHz
|
|
;board_build.f_cpu = 240000000L
|
|
; set frequency to 80MHz
|
|
;board_build.f_flash = 80000000L
|
|
;board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
;TTGO_T_Display with ST7789
|
|
[env:esp32-TTGO_T_Display]
|
|
platform = espressif32@4.4.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
; set frequency to 240MHz
|
|
;board_build.f_cpu = 240000000L
|
|
; set frequency to 80MHz
|
|
;board_build.f_flash = 80000000L
|
|
;board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
-Os
|
|
-DUSER_SETUP_LOADED=1
|
|
-DST7789_DRIVER=1
|
|
-DTFT_SDA_READY=1
|
|
-DCGRAM_OFFSET=1
|
|
-DTFT_WIDTH=135
|
|
-DTFT_HEIGHT=240
|
|
-DTFT_MOSI=19
|
|
-DTFT_SCLK=18
|
|
-DTFT_CS=5
|
|
-DTFT_DC=16
|
|
-DTFT_RST=23
|
|
-DTFT_BL=4
|
|
-DTFT_BACKLIGHT_ON=1
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_FONT4=1
|
|
-DLOAD_FONT6=1
|
|
-DLOAD_FONT7=1
|
|
-DLOAD_FONT8=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=40000000
|
|
-DSPI_READ_FREQUENCY=6000000
|
|
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
;TTGO_T_Display with ST7789
|
|
[env:esp32-ST7789]
|
|
platform = espressif32@4.4.0
|
|
board = esp32dev
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
; set frequency to 240MHz
|
|
;board_build.f_cpu = 240000000L
|
|
; set frequency to 80MHz
|
|
;board_build.f_flash = 80000000L
|
|
;board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
-Os
|
|
-DUSER_SETUP_LOADED=1
|
|
-DST7789_DRIVER=1
|
|
-DTFT_SDA_READY=1
|
|
-DCGRAM_OFFSET=1
|
|
-DTFT_WIDTH=240
|
|
-DTFT_HEIGHT=240
|
|
-DTFT_MOSI=19
|
|
-DTFT_SCLK=18
|
|
-DTFT_CS=5
|
|
-DTFT_DC=16
|
|
-DTFT_RST=23
|
|
-DTFT_BL=4
|
|
-DTFT_BACKLIGHT_ON=1
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_FONT4=1
|
|
-DLOAD_FONT6=1
|
|
-DLOAD_FONT7=1
|
|
-DLOAD_FONT8=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=40000000
|
|
-DSPI_READ_FREQUENCY=6000000
|
|
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
[env:esp32-s2]
|
|
platform = espressif32@4.4.0
|
|
board = esp32-s2-saola-1
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
board_build.f_cpu = 240000000L
|
|
board_build.mcu = esp32s2
|
|
board_build.variant = esp32s2
|
|
; set frequency to 80MHz
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
lib_ignore =
|
|
TFT_eSPI
|
|
;https://github.com/Bodmer/TFT_eSPI/issues/1246
|
|
|
|
[env:esp32-s3]
|
|
platform = espressif32@4.4.0
|
|
board = esp32-s3-devkitc-1
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
board_build.f_cpu = 240000000L
|
|
board_build.mcu = esp32s3
|
|
board_build.variant = esp32s3
|
|
; set frequency to 80MHz
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 16MB
|
|
;board_build.partitions = default_16MB.csv
|
|
; None
|
|
build_flags = -DCORE_DEBUG_LEVEL=0 -DARDUINO_USB_CDC_ON_BOOT=0 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=0
|
|
board_build.partitions = min_spiffs.csv
|
|
upload_speed = 460800
|
|
|
|
[env:esp32-c3]
|
|
platform = espressif32@4.4.0
|
|
board = esp32-c3-devkitm-1
|
|
board_build.mcu = esp32c3
|
|
board_build.variant = esp32c3
|
|
framework = arduino
|
|
board_build.f_cpu = 160000000L
|
|
board_build.f_flash = 80000000L
|
|
board_build.flash_mode = qio
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp32_exception_decoder
|
|
build_flags = -DCORE_DEBUG_LEVEL=0
|
|
;on 4MB flash use
|
|
;board_build.partitions = min_spiffs.csv
|
|
;uncomment and modify if board is not 4MB
|
|
;board_upload.flash_size = 2MB
|
|
;board_build.partitions = minimal.csv
|
|
upload_speed = 460800
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
|
|
[env:esp8266dev]
|
|
platform = https://github.com/platformio/platform-espressif8266.git
|
|
board = esp12e
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
|
|
; set frequency to 160MHz
|
|
board_build.f_cpu = 160000000L
|
|
; set frequency to 40MHz
|
|
board_build.f_flash = 40000000L
|
|
board_build.flash_mode = dout
|
|
upload_resetmethod = nodemcu
|
|
board_build.ldscript = eagle.flash.4m2m.ld
|
|
build_flags =
|
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
-DNONOSDK221=1
|
|
-DNDEBUG
|
|
-DVTABLES_IN_FLASH
|
|
-DWAVEFORM_LOCKED_PWM
|
|
upload_speed = 115200
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
lib_ignore =
|
|
ESP32SSPD
|
|
|
|
[env:esp01s_160mhz]
|
|
platform = https://github.com/platformio/platform-espressif8266.git
|
|
board = esp12e
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
monitor_flags = --echo
|
|
monitor_filters = send_on_enter, colorize, esp8266_exception_decoder
|
|
; set frequency to 160MHz
|
|
board_build.f_cpu = 160000000L
|
|
; set frequency to 40MHz
|
|
board_build.f_flash = 40000000L
|
|
board_build.flash_mode = dout
|
|
upload_resetmethod = ck
|
|
board_build.ldscript = eagle.flash.1m256.ld
|
|
build_flags =
|
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
-DNONOSDK221=1
|
|
-DNDEBUG
|
|
-DVTABLES_IN_FLASH
|
|
-DWAVEFORM_LOCKED_PWM
|
|
upload_speed = 115200
|
|
extra_scripts = pre:platformIO/extra_script.py
|
|
lib_ignore =
|
|
ESP32SSPD
|