Skip to content

Commit

Permalink
Add 4MB variant for Makerfabs ESP32 TFT Touch
Browse files Browse the repository at this point in the history
My Makerfabs ESP32 TFT Touch, v1.1 on the silkscreen, purchased in
October 2020, has a 4MB flash as reported by esptool flash_id:
  Manufacturer: 20
  Device: 4016
  Detected flash size: 4MB

Add a makerfabs-tft35-cap_4MB variant, and rename makerfabs-tft35-cap to
makerfabs-tft35-cap_16MB.
  • Loading branch information
paravoid committed Jul 16, 2023
1 parent 7c35ef7 commit 671df81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- out: m5stack
env: m5stack-core2
- out: makerfabs
env: "makerfabs-tft35-cap -e makerfabs-s3-tft35-spi -e makerfabs-s3-tft40-rgb -e makerfabs-s3-tft43-rgb"
env: "makerfabs-tft35-cap_4MB -e makerfabs-tft35-cap_16MB -e makerfabs-s3-tft35-spi -e makerfabs-s3-tft40-rgb -e makerfabs-s3-tft43-rgb"
- out: panlee
env: "panlee-zw3d95ce01s-ar-4848_16MB -e panlee-zw3d95ce01s-ur-4848_16MB"
- out: sunton
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run PlatformIO
run: pio run -e az-touch-mod-esp32_ili9341_4MB -e az-touch-mod-esp32_ili9341_8MB
- name: Run PlatformIO
run: pio run -e makerfabs-tft35-cap
run: pio run -e makerfabs-tft35-cap_4MB -e makerfabs-tft35-cap_16MB
- name: Run PlatformIO
run: pio run -e yeacreate-nscreen32 -e
- name: Run PlatformIO
Expand Down
5 changes: 3 additions & 2 deletions platformio_override-template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ extra_default_envs =
; m5stack-core2
; m5stack-tough
; makerfabs-s3-tft35-spi
; makerfabs-tft35-cap
; makerfabs-tft35-cap_16MB
; makerfabs-tft35-cap_4MB
; makerfabs-tft-s2_ili9488
; nodemcu32s-raspi
; s2-mini-esp32s2_ili9341
Expand Down Expand Up @@ -140,4 +141,4 @@ build_flags =
-D HASP_USE_TELNET=1
;endregion

;endregion
;endregion
10 changes: 8 additions & 2 deletions user_setups/esp32/makerfabs-tft35-cap.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
; - FT6236 touch controller ;
;***************************************************;

[env:makerfabs-tft35-cap]
extends = arduino_esp32_v2, flash_16mb
[makerfabs-tft35-cap]
extends = arduino_esp32_v2
board = esp32dev

build_flags =
Expand Down Expand Up @@ -39,3 +39,9 @@ lib_deps =
${arduino_esp32_v2.lib_deps}
${tft_espi.lib_deps}
${ft6336.lib_deps}

[env:makerfabs-tft35-cap_4MB]
extends = makerfabs-tft35-cap, flash_4mb

[env:makerfabs-tft35-cap_16MB]
extends = makerfabs-tft35-cap, flash_8mb

0 comments on commit 671df81

Please sign in to comment.