Make embedded-hal 0.2.7 dependency optional #149
clippy
33 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 33 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check failure on line 489 in src/serial.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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> {
| ~~~~~~~~~~~~
Check failure on line 480 in src/serial.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>
| ~~~~~~~~~~~~
Check failure on line 414 in src/serial.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>
| ~~~~~~~~~~~~
Check failure on line 380 in src/serial.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>
| ~~~~~~~~~~~~
Check failure on line 575 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 553 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 533 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 511 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 575 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 553 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 533 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 511 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 575 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 553 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 533 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 511 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 575 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 553 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 533 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 511 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 575 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 553 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 533 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 511 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~
Check failure on line 270 in src/gpio.rs
github-actions / clippy
failed to resolve: use of undeclared crate or module `embedded_hal_02`
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>> {
| ~~~~~~~~~~~~