@@ -16,8 +16,16 @@ framework = arduino
1616monitor_speed = 115200
1717lib_compat_mode = strict
1818lib_deps =
19+ ; ;;;;;;;;;; FunHouse / LVGL Boards uncomment these ;;;;;;;;;;;;;;
20+ ; https://github.com/adafruit/Adafruit_HX8357_Library.git
21+ ; https://github.com/adafruit/Adafruit_ILI9341.git
22+ ; https://github.com/adafruit/Adafruit_STMPE610.git
23+ ; https://github.com/adafruit/Adafruit-ST7735-Library.git
24+ ; https://github.com/adafruit/Adafruit_TouchScreen.git
25+ ; https://github.com/brentru/lvgl.git#wippersnapper
26+ ; https://github.com/brentru/Adafruit_LvGL_Glue.git#development
27+ ; ;;;;;;;;;; All Boards need these libraries included ;;;;;;;;;;;;;;
1928 adafruit/Adafruit Zero DMA Library
20- https://github.com/adafruit/Adafruit_TinyUSB_Arduino.git
2129 adafruit/Adafruit NeoPixel
2230 adafruit/Adafruit SPIFlash
2331 adafruit/Adafruit DotStar
@@ -78,14 +86,8 @@ lib_deps =
7886 https://github.com/Sensirion/arduino-i2c-sen5x.git
7987 https://github.com/adafruit/WiFiNINA.git
8088 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
89+ https://github.com/adafruit/Adafruit_TinyUSB_Arduino.git
90+
8991
9092
9193; Common build environment for ESP32 platform
@@ -107,9 +109,10 @@ platform = atmelsam
107109platform_packages =
108110 platformio/framework-arduino-samd-adafruit@^1.7.13
109111 platformio/tool-jlink@^1.78811.0
110- lib_ldf_mode = deep
112+ lib_ldf_mode = chain+
113+ lib_compat_mode = strict
111114lib_archive = no ; debug timer issues see https://community.platformio.org/t/choose-usb-stack-as-tiny-usb/22451/5
112- lib_ignore = OneWire
115+ lib_ignore = OneWire, USBHost
113116
114117[common:rp2040]
115118platform = https://github.com/maxgerhardt/platform-raspberrypi.git
@@ -418,8 +421,9 @@ upload_port = /dev/cu.SLAB_USBtoUART
418421[env:adafruit_pyportal_m4]
419422extends = common:atsamd
420423board = adafruit_pyportal_m4
421- build_flags = -DUSE_TINYUSB =1
424+ build_flags = -DUSE_TINYUSB
422425 -DADAFRUIT_PYPORTAL
426+ extra_scripts = pre:rename_usb_config.py
423427
424428; Adafruit PyPortal M4 Titano
425429[env:adafruit_pyportal_m4_titano]
@@ -463,8 +467,9 @@ build_flags = -DUSE_TINYUSB
463467[env:adafruit_metro_m4_airliftlite]
464468extends = common:atsamd
465469board = adafruit_metro_m4_airliftlite
466- build_flags = -DUSE_TINYUSB =1
470+ build_flags = -DUSE_TINYUSB
467471 -DADAFRUIT_METRO_M4_AIRLIFT_LITE
472+ ; extra_scripts = pre:rename_usb_config.py
468473upload_port = /dev/cu.usbmodem1201
469474
470475
0 commit comments