littlefs2 icon indicating copy to clipboard operation
littlefs2 copied to clipboard

Target thumbv6m unsupported due to delog dependency

Open Maxgamerboy1 opened this issue 2 years ago • 1 comments

Using the thumbv6m toolchain when building this library you get a couple errors. image

Not sure if waiting delog to support thumbv6m is the way to go. https://github.com/trussed-dev/delog/issues/9

IMO, debug info should be used for development via dev-dependency or, opt-in via feature or, compiled out for release builds or, some third option.

Maxgamerboy1 avatar Feb 23 '23 21:02 Maxgamerboy1

Use this patch for delog which switches AtomicUsize with the one from the atomic-pollyfill which adds pollyfills when the platform does not support core atomic size operations.

[patch.crates-io]
delog = {git = "https://github.com/LechevSpace/delog.git", rev = "869167f7ff0630518c86f30afd215fee124d19c1"}

You can also track the PR here: https://github.com/trussed-dev/delog/pull/12

elpiel avatar Mar 16 '23 15:03 elpiel