diff --git a/.github/workflows/build-clang-doxy.yml b/.github/workflows/build-clang-doxy.yml index 3bb7f7d24..70a434808 100644 --- a/.github/workflows/build-clang-doxy.yml +++ b/.github/workflows/build-clang-doxy.yml @@ -569,6 +569,7 @@ jobs: "feather_esp32s3_debug", "feather_esp32s3_4mbflash_2mbpsram_debug", "feather_esp32s3_tft_debug", + "feather_esp32s3_reverse_tft_debug", ] steps: - uses: actions/setup-python@v5 @@ -618,7 +619,7 @@ jobs: - name: list run: | ls - ls examples/*/build/ + ls -R examples/*/build/ - name: Rename build artifacts to reflect the platform name run: | mv examples/*/build/*/wippersnapper_debug.ino.uf2 wippersnapper.${{ matrix.arduino-platform }}.${{ env.WS_VERSION }}.uf2 diff --git a/examples/Wippersnapper_NoFS/.feather_esp32s3_reverse_tft_debug.test.skip b/examples/Wippersnapper_NoFS/.feather_esp32s3_reverse_tft_debug.test.skip new file mode 100644 index 000000000..b28b04f64 --- /dev/null +++ b/examples/Wippersnapper_NoFS/.feather_esp32s3_reverse_tft_debug.test.skip @@ -0,0 +1,3 @@ + + + diff --git a/examples/Wippersnapper_demo/.feather_esp32s3_reverse_tft_debug.test.skip b/examples/Wippersnapper_demo/.feather_esp32s3_reverse_tft_debug.test.skip new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/examples/Wippersnapper_demo/.feather_esp32s3_reverse_tft_debug.test.skip @@ -0,0 +1 @@ + diff --git a/examples/wippersnapper_debug/.feather_esp32s3_reverse_tft_debug.generate b/examples/wippersnapper_debug/.feather_esp32s3_reverse_tft_debug.generate new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/examples/wippersnapper_debug/.feather_esp32s3_reverse_tft_debug.generate @@ -0,0 +1 @@ + diff --git a/platformio.ini b/platformio.ini index 797f358b5..f0bba3b3d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -78,13 +78,21 @@ lib_deps = https://github.com/Sensirion/arduino-i2c-sen5x.git https://github.com/adafruit/WiFiNINA.git https://github.com/Starmbi/hp_BH1750.git + ;;;;;;;;;;; FunHouse / LVGL Boards ;;;;;;;;;;;;;; + https://github.com/adafruit/Adafruit_HX8357_Library.git + https://github.com/adafruit/Adafruit_ILI9341.git + https://github.com/adafruit/Adafruit_STMPE610.git + https://github.com/adafruit/Adafruit-ST7735-Library.git + https://github.com/adafruit/Adafruit_TouchScreen.git + https://github.com/brentru/lvgl.git#wippersnapper + https://github.com/brentru/Adafruit_LvGL_Glue.git#development ; Common build environment for ESP32 platform [common:esp32] -; platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip -; This is needed for Adafruit Feather C6 in platformio (until 51.03.05): -platform = https://github.com/pioarduino/platform-espressif32#develop +platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.05/platform-espressif32.zip +; This is needed for occasional new features and bug fixes +; platform = https://github.com/pioarduino/platform-espressif32#develop lib_ignore = WiFiNINA, WiFi101, OneWire monitor_filters = esp32_exception_decoder, time @@ -254,6 +262,44 @@ build_flags = -DARDUINO_METRO_ESP32S2 -DBOARD_HAS_PSRAM board_build.partitions = tinyuf2-partitions-4MB.csv extra_scripts = pre:rename_usb_config.py +; Adafruit Funhouse ESP32-S2 +[env:adafruit_funhouse_esp32s2] +extends = common:esp32 +board = adafruit_funhouse_esp32s2 +build_flags = -DARDUINO_FUNHOUSE -DBOARD_HAS_PSRAM +;set partition to tinyuf2-partitions-4MB.csv as of idf 5.1 +board_build.partitions = tinyuf2-partitions-4MB-noota.csv +extra_scripts = pre:rename_usb_config.py + +; Adafruit Funhouse ESP32-S2 +[env:adafruit_funhouse_esp32s2_debug] +extends = common:esp32 +board = adafruit_funhouse_esp32s2 +;lib_extra_dirs = +build_type = debug +build_flags = + -DARDUINO_FUNHOUSE + -DBOARD_HAS_PSRAM + -DCFG_TUSB_DEBUG=1 + -DDEBUG=1 + -DESP_LOG_LEVEL=ESP_LOG_VERBOSE + -DARDUINO_CORE_DEBUG_LEVEL=5 + -DCORE_DEBUG_LEVEL=5 + -DARDUHAL_LOG_LEVEL=5 + ; USB Configuration + ; Uncomment if USB CDC on boot is needed + ; -DARDUINO_USB_CDC_ON_BOOT=1 + ; -DARDUINO_USB_MODE=0 ; 0 for CDC + TinyUSB, 1 for Hardware CDC + JTAG + ; LVGL Debugging + -DLV_USE_DEBUG=1 + -DLV_USE_LOG=1 + -DLV_LOG_PRINTF=1 + -DLV_LOG_COLOR=1 + -DLV_LOG_LEVEL=LV_LOG_LEVEL_TRACE +;set partition to tinyuf2-partitions-4MB.csv as of idf 5.1 +board_build.partitions = tinyuf2-partitions-4MB-noota.csv +extra_scripts = pre:rename_usb_config.py + ; Adafruit QT Py ESP32 Pico [env:adafruit_qtpy_esp32] extends = common:esp32 @@ -287,10 +333,50 @@ board = adafruit_qtpy_esp32s3_nopsram build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM extra_scripts = pre:rename_usb_config.py +; Adafruit QT Py ESP32-S3 with PSRAM +[env:adafruit_qtpy_esp32s3_with_psram] +extends = common:esp32 +board = adafruit_qtpy_esp32s3_n4r2 +build_flags = -DARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2 -DBOARD_HAS_PSRAM +extra_scripts = pre:rename_usb_config.py + +[env:adafruit_qtpy_esp32s3_with_psram_debug] +extends = common:esp32 +board = adafruit_qtpy_esp32s3_n4r2 +board_build.partitions = tinyuf2-partitions-4MB-noota.csv +build_type = debug +build_flags = + -DARDUINO_ADAFRUIT_QTPY_ESP32S3_N4R2 + -DBOARD_HAS_PSRAM + -DCFG_TUSB_DEBUG=1 + -DNDEBUG=1 + -DDEBUG=1 + -DESP_LOG_LEVEL=5 + -DARDUINO_CORE_DEBUG_LEVEL=5 + -DARDUINO_DEBUG_LEVEL=5 + # -DARDUINO_DEBUG_OUTPUT=Serial + # -DARDUINO_DEBUG_BAUD=115200 + -DARDUINO_USB_CDC_ON_BOOT=1 + ; cdc + usb otg (tinyusb) + -DARDUINO_USB_MODE=0 + ; hwcdc jtag + ;-DARDUINO_USB_MODE=1 + -DARDUINO_LOG_LEVEL=5 + -DCORE_DEBUG_LEVEL=5 + -DARDUHAL_LOG_LEVEL=5 +extra_scripts = pre:rename_usb_config.py + ; Espressif ESP32-S3 NO PSRAM espressif_esp32s3_devkitc_1_n8 [env:espressif_esp32s3_devkitc_1_n8] extends = common:esp32 board = esp32-s3-devkitc-1 +build_flags = -DARDUINO_ESPRESSIF_ESP32S3_DEVKITC_1_N8 +extra_scripts = pre:rename_usb_config.py + +; Espressif ESP32-S3 NO PSRAM espressif_esp32s3_devkitc_1_n8 (DEBUG) +[env:espressif_esp32s3_devkitc_1_n8_debug] +extends = common:esp32 +board = esp32-s3-devkitc-1 build_type = debug build_flags = -DUSE_TINYUSB=1 @@ -300,8 +386,6 @@ build_flags = -DESP_LOG_LEVEL=5 -DARDUINO_CORE_DEBUG_LEVEL=5 -DARDUINO_DEBUG_LEVEL=5 - ; -DARDUINO_DEBUG_OUTPUT=Serial - ; -DARDUINO_DEBUG_BAUD=115200 -DARDUINO_LOG_LEVEL=5 -DCORE_DEBUG_LEVEL=5 -DARDUHAL_LOG_LEVEL=5