Closed
Description
Describe the bug
Run following command to run CI, but it is failed.
This issue can be observed after commit c4c1d92.
west build -p -b rpi_pico/rp2040 ../modules/lang/rust/tests/drivers/gpio-async -T test.rust.drivers.gpio-async
Regression
- This is a regression.
Steps to reproduce
Run following command.
west build -p -b rpi_pico/rp2040 ../modules/lang/rust/tests/drivers/gpio-async -T test.rust.drivers.gpio-async
The issue can reproduce on various boards, such as qemu_cortex_m3
.
Relevant log output
error[E0432]: unresolved imports `zephyr_sys::GPIO_INT_LEVEL_HIGH`, `zephyr_sys::GPIO_INT_LEVEL_LOW`
--> /home/tokita/zephyrproject/modules/lang/rust/zephyr/src/device/gpio.rs:34:60
|
34 | gpio_pin_interrupt_configure_dt, gpio_port_pins_t, GPIO_INT_LEVEL_HIGH, GPIO_INT_LEVEL_LOW,
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `GPIO_INT_LEVEL_LOW` in the root
| |
| no `GPIO_INT_LEVEL_HIGH` in the root
|
help: a similar name exists in the module
|
34 - gpio_pin_interrupt_configure_dt, gpio_port_pins_t, GPIO_INT_LEVEL_HIGH, GPIO_INT_LEVEL_LOW,
34 + gpio_pin_interrupt_configure_dt, gpio_port_pins_t, GPIO_ACTIVE_HIGH, GPIO_INT_LEVEL_LOW,
|
help: a similar name exists in the module
|
34 - gpio_pin_interrupt_configure_dt, gpio_port_pins_t, GPIO_INT_LEVEL_HIGH, GPIO_INT_LEVEL_LOW,
34 + gpio_pin_interrupt_configure_dt, gpio_port_pins_t, GPIO_INT_LEVEL_HIGH, GPIO_ACTIVE_LOW,
|
Impact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
No response
Additional Context
No response