Skip to content

Commit d965898

Browse files
committed
WipperSnapper on Funhouse causes bootloop and crash.
Investigate #630
1 parent 901e2a4 commit d965898

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

platformio.ini

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ lib_deps =
7878
https://github.com/Sensirion/arduino-i2c-sen5x.git
7979
https://github.com/adafruit/WiFiNINA.git
8080
https://github.com/Starmbi/hp_BH1750.git
81+
;;;;;;;;;;; FunHouse / LVGL Boards ;;;;;;;;;;;;;;
82+
https://github.com/adafruit/Adafruit_HX8357_Library.git
83+
https://github.com/adafruit/Adafruit_ILI9341.git
84+
https://github.com/adafruit/Adafruit_STMPE610.git
85+
https://github.com/adafruit/Adafruit-ST7735-Library.git
86+
https://github.com/adafruit/Adafruit_TouchScreen.git
87+
https://github.com/brentru/lvgl.git#wippersnapper
88+
https://github.com/brentru/Adafruit_LvGL_Glue.git#development
8189

8290

8391
; Common build environment for ESP32 platform
@@ -254,6 +262,53 @@ build_flags = -DARDUINO_METRO_ESP32S2 -DBOARD_HAS_PSRAM
254262
board_build.partitions = tinyuf2-partitions-4MB.csv
255263
extra_scripts = pre:rename_usb_config.py
256264

265+
; Adafruit Funhouse ESP32-S2
266+
[env:adafruit_funhouse_esp32s2]
267+
extends = common:esp32
268+
board = adafruit_funhouse_esp32s2
269+
build_flags = -DARDUINO_FUNHOUSE -DBOARD_HAS_PSRAM
270+
;set partition to tinyuf2-partitions-4MB.csv as of idf 5.1
271+
board_build.partitions = tinyuf2-partitions-4MB-noota.csv
272+
extra_scripts = pre:rename_usb_config.py
273+
274+
; Adafruit Funhouse ESP32-S2
275+
[env:adafruit_funhouse_esp32s2_debug]
276+
extends = common:esp32
277+
board = adafruit_funhouse_esp32s2
278+
;lib_extra_dirs =
279+
build_type = debug
280+
build_flags =
281+
-DARDUINO_FUNHOUSE
282+
-DBOARD_HAS_PSRAM
283+
-DCFG_TUSB_DEBUG=1
284+
-DNDEBUG=1
285+
-DDEBUG=1
286+
-DESP_LOG_LEVEL=5
287+
-DARDUINO_CORE_DEBUG_LEVEL=5
288+
-DARDUINO_DEBUG_LEVEL=5
289+
;# -DARDUINO_DEBUG_OUTPUT=Serial
290+
;# -DARDUINO_DEBUG_BAUD=115200
291+
;-DARDUINO_USB_CDC_ON_BOOT=1
292+
;; cdc + usb otg (tinyusb)
293+
;-DARDUINO_USB_MODE=0
294+
;; hwcdc jtag
295+
;;-DARDUINO_USB_MODE=1
296+
-DARDUINO_LOG_LEVEL=5
297+
-DCORE_DEBUG_LEVEL=5
298+
-DARDUHAL_LOG_LEVEL=5
299+
; lvgl debug
300+
-DLVGL_DEBUG=1
301+
-DLV_USE_LOG=1
302+
-DLV_LOG_PRINTF=1
303+
-DLV_LOG_MEM=1
304+
-DLV_LOG_MEM_GUARD=1
305+
-DLV_LOG_MEM_LEAK=1
306+
-DLV_LOG_COLOR=1
307+
-DLV_LOG_LEVEL=5
308+
;set partition to tinyuf2-partitions-4MB.csv as of idf 5.1
309+
board_build.partitions = tinyuf2-partitions-4MB-noota.csv
310+
extra_scripts = pre:rename_usb_config.py
311+
257312
; Adafruit QT Py ESP32 Pico
258313
[env:adafruit_qtpy_esp32]
259314
extends = common:esp32

0 commit comments

Comments
 (0)