@@ -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# develop
@@ -408,7 +411,23 @@ extra_scripts = pre:rename_usb_config.py
408411[env:huzzah]
409412extends =common:esp8266
410413board = huzzah
411- build_flags = -DARDUINO_ESP8266_ADAFRUIT_HUZZAH
414+ board_build.f_cpu = 80000000L
415+ ; Arduino CLI uses this from adafruit_ci#ci-wippersnapper
416+ ; esp8266:esp8266:huzzah:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200
417+ build_flags =
418+ -Wl,--gc-sections
419+ -Wl,-Map =output.map
420+ -DARDUINO_ESP8266_ADAFRUIT_HUZZAH
421+ -DDEBUG_ESP_PORT =Serial
422+ -DVTABLES_IN_FLASH
423+ -DNO_EXCEPTIONS
424+ -DNO_STACK_SMASH_PROTECTION
425+ -DSSL_ALL
426+ -DMMU_3232
427+ -DNON32XFER_FAST
428+ -DDEBUG_DISABLED
429+ -DDEBUG_LEVEL_NONE
430+ board_build.eesz =4M2M
412431board_build.filesystem = littlefs
413432upload_port = /dev/cu.SLAB_USBtoUART
414433
@@ -418,8 +437,9 @@ upload_port = /dev/cu.SLAB_USBtoUART
418437[env:adafruit_pyportal_m4]
419438extends = common:atsamd
420439board = adafruit_pyportal_m4
421- build_flags = -DUSE_TINYUSB =1
440+ build_flags = -DUSE_TINYUSB
422441 -DADAFRUIT_PYPORTAL
442+ extra_scripts = pre:rename_usb_config.py
423443
424444; Adafruit PyPortal M4 Titano
425445[env:adafruit_pyportal_m4_titano]
@@ -463,8 +483,9 @@ build_flags = -DUSE_TINYUSB
463483[env:adafruit_metro_m4_airliftlite]
464484extends = common:atsamd
465485board = adafruit_metro_m4_airliftlite
466- build_flags = -DUSE_TINYUSB =1
486+ build_flags = -DUSE_TINYUSB
467487 -DADAFRUIT_METRO_M4_AIRLIFT_LITE
488+ ; extra_scripts = pre:rename_usb_config.py
468489upload_port = /dev/cu.usbmodem1201
469490
470491
0 commit comments