Make embedded-hal 0.2.7 dependency optional #149
Annotations
33 errors and 6 warnings
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/serial.rs#L489
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/serial.rs:489:52
|
489 | impl<USART: Deref<Target = usart0::RegisterBlock>> embedded_hal_02::serial::Read<u8> for Rx<USART> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
489 | impl<USART: Deref<Target = usart0::RegisterBlock>> embedded_hal::serial::Read<u8> for Rx<USART> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/serial.rs#L480
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/serial.rs:480:5
|
480 | embedded_hal_02::serial::Read<u8> for Serial<USART, TXPIN, RXPIN>
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
480 | embedded_hal::serial::Read<u8> for Serial<USART, TXPIN, RXPIN>
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/serial.rs#L414
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/serial.rs:414:52
|
414 | impl<USART: Deref<Target = usart0::RegisterBlock>> embedded_hal_02::serial::Write<u8>
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
414 | impl<USART: Deref<Target = usart0::RegisterBlock>> embedded_hal::serial::Write<u8>
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/serial.rs#L380
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/serial.rs:380:5
|
380 | embedded_hal_02::serial::Write<u8> for Serial<USART, TXPIN, RXPIN>
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
380 | embedded_hal::serial::Write<u8> for Serial<USART, TXPIN, RXPIN>
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L575
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:575:18
|
575 | impl embedded_hal_02::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
759 | / gpio_noaf!(GPIOF, gpiof, [
760 | | PF0: (pf0, 0, Input<Floating>),
761 | | PF1: (pf1, 1, Input<Floating>),
762 | | PF2: (pf2, 2, Input<Floating>),
... |
775 | | PF15: (pf15, 15, Input<Floating>),
776 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
575 | impl embedded_hal::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L553
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:553:24
|
553 | impl<MODE> embedded_hal_02::digital::v2::InputPin for $PXi<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
759 | / gpio_noaf!(GPIOF, gpiof, [
760 | | PF0: (pf0, 0, Input<Floating>),
761 | | PF1: (pf1, 1, Input<Floating>),
762 | | PF2: (pf2, 2, Input<Floating>),
... |
775 | | PF15: (pf15, 15, Input<Floating>),
776 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
553 | impl<MODE> embedded_hal::digital::v2::InputPin for $PXi<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:533:24
|
533 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
759 | / gpio_noaf!(GPIOF, gpiof, [
760 | | PF0: (pf0, 0, Input<Floating>),
761 | | PF1: (pf1, 1, Input<Floating>),
762 | | PF2: (pf2, 2, Input<Floating>),
... |
775 | | PF15: (pf15, 15, Input<Floating>),
776 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
533 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L511
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:511:24
|
511 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
759 | / gpio_noaf!(GPIOF, gpiof, [
760 | | PF0: (pf0, 0, Input<Floating>),
761 | | PF1: (pf1, 1, Input<Floating>),
762 | | PF2: (pf2, 2, Input<Floating>),
... |
775 | | PF15: (pf15, 15, Input<Floating>),
776 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
511 | impl<MODE> embedded_hal::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L575
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:575:18
|
575 | impl embedded_hal_02::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
740 | / gpio_noaf!(GPIOD, gpiod, [
741 | | PD0: (pd0, 0, Input<Floating>),
742 | | PD1: (pd1, 1, Input<Floating>),
743 | | PD2: (pd2, 2, Input<Floating>),
... |
756 | | PD15: (pd15, 15, Input<Floating>),
757 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
575 | impl embedded_hal::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L553
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:553:24
|
553 | impl<MODE> embedded_hal_02::digital::v2::InputPin for $PXi<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
740 | / gpio_noaf!(GPIOD, gpiod, [
741 | | PD0: (pd0, 0, Input<Floating>),
742 | | PD1: (pd1, 1, Input<Floating>),
743 | | PD2: (pd2, 2, Input<Floating>),
... |
756 | | PD15: (pd15, 15, Input<Floating>),
757 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
553 | impl<MODE> embedded_hal::digital::v2::InputPin for $PXi<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:533:24
|
533 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
740 | / gpio_noaf!(GPIOD, gpiod, [
741 | | PD0: (pd0, 0, Input<Floating>),
742 | | PD1: (pd1, 1, Input<Floating>),
743 | | PD2: (pd2, 2, Input<Floating>),
... |
756 | | PD15: (pd15, 15, Input<Floating>),
757 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
533 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L511
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:511:24
|
511 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
740 | / gpio_noaf!(GPIOD, gpiod, [
741 | | PD0: (pd0, 0, Input<Floating>),
742 | | PD1: (pd1, 1, Input<Floating>),
743 | | PD2: (pd2, 2, Input<Floating>),
... |
756 | | PD15: (pd15, 15, Input<Floating>),
757 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio_noaf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
511 | impl<MODE> embedded_hal::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L575
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:575:18
|
575 | impl embedded_hal_02::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
721 | / gpio!(GPIOC, gpioc, [
722 | | PC0: (pc0, 0, Input<Floating>),
723 | | PC1: (pc1, 1, Input<Floating>),
724 | | PC2: (pc2, 2, Input<Floating>),
... |
737 | | PC15: (pc15, 15, Input<Floating>),
738 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
575 | impl embedded_hal::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L553
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:553:24
|
553 | impl<MODE> embedded_hal_02::digital::v2::InputPin for $PXi<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
721 | / gpio!(GPIOC, gpioc, [
722 | | PC0: (pc0, 0, Input<Floating>),
723 | | PC1: (pc1, 1, Input<Floating>),
724 | | PC2: (pc2, 2, Input<Floating>),
... |
737 | | PC15: (pc15, 15, Input<Floating>),
738 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
553 | impl<MODE> embedded_hal::digital::v2::InputPin for $PXi<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:533:24
|
533 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
721 | / gpio!(GPIOC, gpioc, [
722 | | PC0: (pc0, 0, Input<Floating>),
723 | | PC1: (pc1, 1, Input<Floating>),
724 | | PC2: (pc2, 2, Input<Floating>),
... |
737 | | PC15: (pc15, 15, Input<Floating>),
738 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
533 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L511
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:511:24
|
511 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
721 | / gpio!(GPIOC, gpioc, [
722 | | PC0: (pc0, 0, Input<Floating>),
723 | | PC1: (pc1, 1, Input<Floating>),
724 | | PC2: (pc2, 2, Input<Floating>),
... |
737 | | PC15: (pc15, 15, Input<Floating>),
738 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
511 | impl<MODE> embedded_hal::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L575
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:575:18
|
575 | impl embedded_hal_02::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
702 | / gpio!(GPIOB, gpiob, [
703 | | PB0: (pb0, 0, Input<Floating>),
704 | | PB1: (pb1, 1, Input<Floating>),
705 | | PB2: (pb2, 2, Input<Floating>),
... |
718 | | PB15: (pb15, 15, Input<Floating>),
719 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
575 | impl embedded_hal::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L553
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:553:24
|
553 | impl<MODE> embedded_hal_02::digital::v2::InputPin for $PXi<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
702 | / gpio!(GPIOB, gpiob, [
703 | | PB0: (pb0, 0, Input<Floating>),
704 | | PB1: (pb1, 1, Input<Floating>),
705 | | PB2: (pb2, 2, Input<Floating>),
... |
718 | | PB15: (pb15, 15, Input<Floating>),
719 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
553 | impl<MODE> embedded_hal::digital::v2::InputPin for $PXi<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:533:24
|
533 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
702 | / gpio!(GPIOB, gpiob, [
703 | | PB0: (pb0, 0, Input<Floating>),
704 | | PB1: (pb1, 1, Input<Floating>),
705 | | PB2: (pb2, 2, Input<Floating>),
... |
718 | | PB15: (pb15, 15, Input<Floating>),
719 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
533 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L511
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:511:24
|
511 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
702 | / gpio!(GPIOB, gpiob, [
703 | | PB0: (pb0, 0, Input<Floating>),
704 | | PB1: (pb1, 1, Input<Floating>),
705 | | PB2: (pb2, 2, Input<Floating>),
... |
718 | | PB15: (pb15, 15, Input<Floating>),
719 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
511 | impl<MODE> embedded_hal::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L575
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:575:18
|
575 | impl embedded_hal_02::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
683 | / gpio!(GPIOA, gpioa, [
684 | | PA0: (pa0, 0, Input<Floating>),
685 | | PA1: (pa1, 1, Input<Floating>),
686 | | PA2: (pa2, 2, Input<Floating>),
... |
699 | | PA15: (pa15, 15, Input<Floating>),
700 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
575 | impl embedded_hal::digital::v2::InputPin for $PXi<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L553
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:553:24
|
553 | impl<MODE> embedded_hal_02::digital::v2::InputPin for $PXi<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
683 | / gpio!(GPIOA, gpioa, [
684 | | PA0: (pa0, 0, Input<Floating>),
685 | | PA1: (pa1, 1, Input<Floating>),
686 | | PA2: (pa2, 2, Input<Floating>),
... |
699 | | PA15: (pa15, 15, Input<Floating>),
700 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
553 | impl<MODE> embedded_hal::digital::v2::InputPin for $PXi<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L533
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:533:24
|
533 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
683 | / gpio!(GPIOA, gpioa, [
684 | | PA0: (pa0, 0, Input<Floating>),
685 | | PA1: (pa1, 1, Input<Floating>),
686 | | PA2: (pa2, 2, Input<Floating>),
... |
699 | | PA15: (pa15, 15, Input<Floating>),
700 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
533 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L511
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:511:24
|
511 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
...
683 | / gpio!(GPIOA, gpioa, [
684 | | PA0: (pa0, 0, Input<Floating>),
685 | | PA1: (pa1, 1, Input<Floating>),
686 | | PA2: (pa2, 2, Input<Floating>),
... |
699 | | PA15: (pa15, 15, Input<Floating>),
700 | | ]);
| |__- in this macro invocation
|
= note: this error originates in the macro `gpio_core` which comes from the expansion of the macro `gpio` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a crate or module with a similar name
|
511 | impl<MODE> embedded_hal::digital::v2::OutputPin for $PXi<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L270
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:270:6
|
270 | impl embedded_hal_02::digital::v2::InputPin for Pin<Output<OpenDrain>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
270 | impl embedded_hal::digital::v2::InputPin for Pin<Output<OpenDrain>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L248
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:248:12
|
248 | impl<MODE> embedded_hal_02::digital::v2::InputPin for Pin<Input<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
248 | impl<MODE> embedded_hal::digital::v2::InputPin for Pin<Input<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L228
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:228:12
|
228 | impl<MODE> embedded_hal_02::digital::v2::StatefulOutputPin for Pin<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
228 | impl<MODE> embedded_hal::digital::v2::StatefulOutputPin for Pin<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L200
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:200:12
|
200 | impl<MODE> embedded_hal_02::digital::v2::OutputPin for Pin<Output<MODE>> {
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
200 | impl<MODE> embedded_hal::digital::v2::OutputPin for Pin<Output<MODE>> {
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/timer.rs#L14
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/timer.rs:14:5
|
14 | use embedded_hal_02::timer::{Cancel, CountDown, Periodic};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
14 | use embedded_hal::timer::{Cancel, CountDown, Periodic};
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/i2c.rs#L40
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/i2c.rs:40:5
|
40 | use embedded_hal_02::blocking::i2c::{Read, Write, WriteRead};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
40 | use embedded_hal::blocking::i2c::{Read, Write, WriteRead};
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/gpio.rs#L9
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/gpio.rs:9:5
|
9 | use embedded_hal_02::digital::v2::toggleable;
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
9 | use embedded_hal::digital::v2::toggleable;
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/adc.rs#L28
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/adc.rs:28:5
|
28 | use embedded_hal_02::adc::Channel;
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
28 | use embedded_hal::adc::Channel;
| ~~~~~~~~~~~~
|
failed to resolve: use of undeclared crate or module `embedded_hal_02`:
src/watchdog.rs#L11
error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal_02`
--> src/watchdog.rs:11:5
|
11 | use embedded_hal_02::watchdog::{Watchdog, WatchdogEnable};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal_02`
|
help: there is a crate or module with a similar name
|
11 | use embedded_hal::watchdog::{Watchdog, WatchdogEnable};
| ~~~~~~~~~~~~
|
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|