mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 22:35:19 +01:00
Detect if the rt flag is defined in the PAC/HAL
Better error message Improved error string Update UI tests
This commit is contained in:
parent
1db5faad62
commit
48abc26e85
6 changed files with 7 additions and 15 deletions
|
|
@ -144,7 +144,7 @@ pub fn app(app: &App, analysis: &Analysis, extra: &Extra) -> TokenStream2 {
|
|||
/// Implementation details
|
||||
mod #name {
|
||||
/// Always include the device crate which contains the vector table
|
||||
use #device as _;
|
||||
use #device as you_must_enable_the_rt_feature_for_the_pac_in_your_cargo_toml;
|
||||
#(#imports)*
|
||||
#(#user_imports)*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue