Skip to content

Commit

Permalink
🔨 Update SAMD51 build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed May 28, 2024
1 parent a4a0887 commit 35a03d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ini/samd51.ini
Original file line number Diff line number Diff line change
@@ -15,11 +15,12 @@
[env:SAMD51_grandcentral_m4]
platform = atmelsam
board = adafruit_grandcentral_m4
build_flags = ${common.build_flags} -std=gnu++17
build_flags = ${common.build_flags} -std=gnu++17 -DUSE_TINYUSB
build_unflags = -std=gnu++11
build_src_filter = ${common.default_src_filter} +<src/HAL/SAMD51>
lib_deps = ${common.lib_deps}
SoftwareSerialM
Adafruit TinyUSB Library

This comment has been minimized.

Copy link
@mh-dm

mh-dm May 29, 2024

Contributor

Sorry for the random drive by comment: Doesn't the spaces mean that they're treated as 3 different libraries and thus they likely don't exist and get ignored?

This comment has been minimized.

Copy link
@thisiskeithb

thisiskeithb Jun 1, 2024

Member

Doesn't the spaces mean that they're treated as 3 different libraries and thus they likely don't exist and get ignored?

@mh-dm: No. See https://registry.platformio.org/libraries/adafruit/Adafruit%20TinyUSB%20Library/installation for details.

We really should be using adafruit/Adafruit TinyUSB Library@3.1.4 to ensure we're using Adafruit's library & to pin the version, but this will work for now.

This comment has been minimized.

Copy link
@mh-dm

mh-dm Jun 1, 2024

Contributor

Ah, sorry

extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py
custom_marlin.HAS_MEDIA = SdFat - Adafruit Fork, Adafruit SPIFlash

0 comments on commit 35a03d6

Please sign in to comment.