LuckyTurtleDev / pybadge-high

High Level Board Support crate for the Adafruit pybadge
Apache License 2.0
0 stars 0 forks source link

neopixels not works if lto is not enable #10

Closed LuckyTurtleDev closed 8 months ago

LuckyTurtleDev commented 1 year ago

If one of the following keys is not present at the workspace root Cargo.toml the neopixel leds does not work.

[profile.release]
codegen-units = 1 # better optimizations
lto = true # better optimizations

I have no idea why this happens, but I should at least mention it at the doc/example/readme.