Open JomerDev opened 10 months ago
@JomerDev I tried to reproduce this, but noticed that rust usually seems to pick up changes immediately, without needing a cargo clean
. But this only works when the pio file is inside your source directory.
(I'm not saying that this isn't still a bug that should be fixed. I just try to fully understand what's happening.)
I got the issue inside embassy's examples directory. The pio file was also inside the same directory next to the code.
It could of course be that calling cargo run --bin pio_uart
makes rust behave differently/ignore files with paths
I got the issue inside embassy's examples directory. The pio file was also inside the same directory next to the code. It could of course be that calling
cargo run --bin pio_uart
makes rust behave differently/ignore files with paths
Thank you, I was able to reproduce the issue. #54 should solve the issue, but is not yet tested sufficiently.
I'd love to see this get resolved. Let me know if there's anything I can do to help test.
As the title says, pio_proc::pio_file seems to only pick up changes to the pio file after a cargo clean call and not otherwise. If it is supposed to be this way I'd ask to at least reflect that in the documentation