You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I am pretty new to the whole Rust ecosystem so please bear with me if I am overlooking something obvious)
The SparkFun Pro Micro, just like the SparkFun Pro Mini has a 3.3V/8MHz and a 5V/16MHz variant. For the Pro Mini, there's two different feature flags (sparkfun-promini-5v and sparkfun-promini-3v3) which result in different clock speeds in clock.rs:
In contrast, the sparkfun-promicro flag does not differentiate between the two variants and always assumes a 16 MHz clock.
It seems as if both variants are meant to be supported, since boards.toml explicitly mentions both versions:
Treating both variants the same seems to be incorrect, the 3.3 V variant has a 8 MHz clock and should be treated differently than the 5V variant (SparkFun boards.txt which mentions this difference here).
Should both variants be behind different feature flags so they are treated differently?
The text was updated successfully, but these errors were encountered:
(I am pretty new to the whole Rust ecosystem so please bear with me if I am overlooking something obvious)
The SparkFun Pro Micro, just like the SparkFun Pro Mini has a 3.3V/8MHz and a 5V/16MHz variant. For the Pro Mini, there's two different feature flags (
sparkfun-promini-5v
andsparkfun-promini-3v3
) which result in different clock speeds in clock.rs:In contrast, the
sparkfun-promicro
flag does not differentiate between the two variants and always assumes a 16 MHz clock.It seems as if both variants are meant to be supported, since boards.toml explicitly mentions both versions:
Treating both variants the same seems to be incorrect, the 3.3 V variant has a 8 MHz clock and should be treated differently than the 5V variant (SparkFun boards.txt which mentions this difference here).
Should both variants be behind different feature flags so they are treated differently?
The text was updated successfully, but these errors were encountered: