-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Build failed example on ESP32C3.
Build command:
west build -b esp32c3_supermini/esp32c3 modules/lang/rust/samples/embassy -d build_esp32_rust
Issue:
error[E0425]: cannot find function get_instance_raw in module super::super::super
--> /Users/phuc/Work/zephyr/original/zephyrproject_master/build_esp32_rust/rust/target/riscv32i-unknown-none-elf/debug/build/zephyr-bb0049bf78a25c75/out/devicetree.rs:4617:63
|
4617 | ... let device = super::super::super::get_instance_raw();
| ^^^^^^^^^^^^^^^^ not found in super::super::super
|
help: consider importing this function through its public re-export
|
4610 + use crate::devicetree::labels::gpio0::get_instance_raw;
|
help: if you import get_instance_raw, refer to it directly
|
4617 - let device = super::super::super::get_instance_raw();
4617 + let device = get_instance_raw();
|
error[E0425]: cannot find function get_instance_raw in module super::super::super
--> /Users/phuc/Work/zephyr/original/zephyrproject_master/build_esp32_rust/rust/target/riscv32i-unknown-none-elf/debug/build/zephyr-bb0049bf78a25c75/out/devicetree.rs:4781:63
|
4781 | ... let device = super::super::super::get_instance_raw();
| ^^^^^^^^^^^^^^^^ not found in super::super::super
|
help: consider importing this function through its public re-export
|
4774 + use crate::devicetree::labels::gpio0::get_instance_raw;
|
help: if you import get_instance_raw, refer to it directly
|
4781 - let device = super::super::super::get_instance_raw();
4781 + let device = get_instance_raw();
|
error[E0425]: cannot find function get_instance_raw in module super::super::super
--> /Users/phuc/Work/zephyr/original/zephyrproject_master/build_esp32_rust/rust/target/riscv32i-unknown-none-elf/debug/build/zephyr-bb0049bf78a25c75/out/devicetree.rs:4945:63
|
4945 | ... let device = super::super::super::get_instance_raw();
| ^^^^^^^^^^^^^^^^ not found in super::super::super
|
help: consider importing this function through its public re-export
|
4938 + use crate::devicetree::labels::gpio0::get_instance_raw;
|
help: if you import get_instance_raw, refer to it directly
|
4945 - let device = super::super::super::get_instance_raw();
4945 + let device = get_instance_raw();
|
error[E0425]: cannot find function get_instance_raw in module super::super::super
--> /Users/phuc/Work/zephyr/original/zephyrproject_master/build_esp32_rust/rust/target/riscv32i-unknown-none-elf/debug/build/zephyr-bb0049bf78a25c75/out/devicetree.rs:5109:63
|
5109 | ... let device = super::super::super::get_instance_raw();
| ^^^^^^^^^^^^^^^^ not found in super::super::super
|
help: consider importing this function through its public re-export
|
5102 + use crate::devicetree::labels::gpio0::get_instance_raw;
|
help: if you import get_instance_raw, refer to it directly
|
5109 - let device = super::super::super::get_instance_raw();
5109 + let device = get_instance_raw();
|
error[E0425]: cannot find function get_instance_raw in module super::super::super
--> /Users/phuc/Work/zephyr/original/zephyrproject_master/build_esp32_rust/rust/target/riscv32i-unknown-none-elf/debug/build/zephyr-bb0049bf78a25c75/out/devicetree.rs:5273:63
|
5273 | ... let device = super::super::super::get_instance_raw();
| ^^^^^^^^^^^^^^^^ not found in super::super::super
|
help: consider importing this function through its public re-export
|
5266 + use crate::devicetree::labels::gpio0::get_instance_raw;
|
help: if you import get_instance_raw, refer to it directly
|
5273 - let device = super::super::super::get_instance_raw();
5273 + let device = get_instance_raw();
|
For more information about this error, try rustc --explain E0425.