Using: shared-bus= { version="=0.2.3", features = ["std"] } results in compilation errors (ARM)
Log
error[E0433]: failed to resolve: could not find `OneShot` in `adc`
--> /.cargo/registry/src/github.com-1ecc6299db9ec823/shared-bus-0.2.3/src/proxies.rs:146:34
|
146 | type Error = <M::Bus as adc::OneShot<ADC, Word, Pin>>::Error;
| ^^^^^^^ could not find `OneShot` in `adc`
error[E0405]: cannot find trait `OneShot` in module `adc`
--> /.cargo/registry/src/github.com-1ecc6299db9ec823/shared-bus-0.2.3/src/proxies.rs:141:51
|
141 | impl<'a, M: crate::BusMutex, ADC, Word, Pin> adc::OneShot<ADC, Word, Pin> for AdcProxy<'a, M>
| ^^^^^^^ not found in `adc`
error[E0405]: cannot find trait `Channel` in module `adc`
--> /.cargo/registry/src/github.com-1ecc6299db9ec823/shared-bus-0.2.3/src/proxies.rs:143:15
|
143 | Pin: adc::Channel<ADC>,
| ^^^^^^^ not found in `adc`
error[E0405]: cannot find trait `OneShot` in module `adc`
--> /.cargo/registry/src/github.com-1ecc6299db9ec823/shared-bus-0.2.3/src/proxies.rs:144:18
|
144 | M::Bus: adc::OneShot<ADC, Word, Pin>,
| ^^^^^^^ not found in `adc`
Some errors have detailed explanations: E0405, E0433.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `shared-bus` due to 4 previous errors
Using shared-bus= { version="=0.2.2", features = ["std"] } works as expected. Is this a regression or is ARM not supported (anymore)?
Ouch, this slipped through because our CI doesn't hit it during test builds... I pushed a fix in commit ef0e8a3db3be ("Enable unproven feature of e-h 0.2.x"). Will create a new release shortly.
Using:
shared-bus= { version="=0.2.3", features = ["std"] }
results in compilation errors (ARM)Log
Using
shared-bus= { version="=0.2.2", features = ["std"] }
works as expected. Is this a regression or is ARM not supported (anymore)?