@@ -16,8 +16,16 @@ framework = arduino
16
16
monitor_speed = 115200
17
17
lib_compat_mode = strict
18
18
lib_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 ;;;;;;;;;;;;;;
19
28
adafruit/Adafruit Zero DMA Library
20
- https://github.com/adafruit/Adafruit_TinyUSB_Arduino.git
21
29
adafruit/Adafruit NeoPixel
22
30
adafruit/Adafruit SPIFlash
23
31
adafruit/Adafruit DotStar
@@ -78,14 +86,8 @@ lib_deps =
78
86
https://github.com/Sensirion/arduino-i2c-sen5x.git
79
87
https://github.com/adafruit/WiFiNINA.git
80
88
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
+
89
91
90
92
91
93
; Common build environment for ESP32 platform
@@ -107,9 +109,10 @@ platform = atmelsam
107
109
platform_packages =
108
110
platformio/framework-arduino-samd-adafruit@^1.7.13
109
111
platformio/tool-jlink@^1.78811.0
110
- lib_ldf_mode = deep
112
+ lib_ldf_mode = chain+
113
+ lib_compat_mode = strict
111
114
lib_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
113
116
114
117
[common:rp2040]
115
118
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
@@ -408,7 +411,23 @@ extra_scripts = pre:rename_usb_config.py
408
411
[env:huzzah]
409
412
extends =common:esp8266
410
413
board = 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
412
431
board_build.filesystem = littlefs
413
432
upload_port = /dev/cu.SLAB_USBtoUART
414
433
@@ -418,8 +437,9 @@ upload_port = /dev/cu.SLAB_USBtoUART
418
437
[env:adafruit_pyportal_m4]
419
438
extends = common:atsamd
420
439
board = adafruit_pyportal_m4
421
- build_flags = -DUSE_TINYUSB =1
440
+ build_flags = -DUSE_TINYUSB
422
441
-DADAFRUIT_PYPORTAL
442
+ extra_scripts = pre:rename_usb_config.py
423
443
424
444
; Adafruit PyPortal M4 Titano
425
445
[env:adafruit_pyportal_m4_titano]
@@ -463,8 +483,9 @@ build_flags = -DUSE_TINYUSB
463
483
[env:adafruit_metro_m4_airliftlite]
464
484
extends = common:atsamd
465
485
board = adafruit_metro_m4_airliftlite
466
- build_flags = -DUSE_TINYUSB =1
486
+ build_flags = -DUSE_TINYUSB
467
487
-DADAFRUIT_METRO_M4_AIRLIFT_LITE
488
+ ; extra_scripts = pre:rename_usb_config.py
468
489
upload_port = /dev/cu.usbmodem1201
469
490
470
491
@@ -494,7 +515,7 @@ build_flags =
494
515
-DDEBUG_RP2040_CORE
495
516
-DDEBUG_RP2040_WIFI
496
517
-DNDEBUG
497
- -DLWIP_DEBUG
518
+ -DLWIP_DEBUG =1
498
519
-DDEBUG_RP2040_PORT =Serial1
499
520
-DDEBUG_RP2040_UART_1
500
521
-DDEBUG_RP2040_UART =1
0 commit comments