Open falloutkid opened 4 years ago
The problem is that the PAC itself isn't really used in the example and the PAC is the responsible for providing the interrupt vectors to cortex-m-rt
, the simplest solution is to have something like this:
use stm32l4 as _;
But yeah, the example is wrong and should be fixed.
Hm, usually that should work automatically via the prelude. If it doesn't that's probably a problem with the HAL impl.
Hm, usually that should work automatically via the prelude. If it doesn't that's probably a problem with the HAL impl.
The problem is that the example in question doesn't use the prelude, or any use statements for the PAC.
I update follwing files for using STM32L476
Then, I compline device
cargo build --example device
is finish. After that, I complie hello 'cargo build --example hello'. But it happen a build error.Is this sorce code support STM32L476?