Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub mod mcu;
pub mod diagram;
pub mod mcu;
170 changes: 170 additions & 0 deletions src/mcu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3361,6 +3361,176 @@ lazy_static! {
"STM32L4S9ZIYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32L4S9ZIYx.xml"),
);

mcus.insert(
"STM32G474MEYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474MEYx.xml"),
);
mcus.insert(
"STM32G474P(B-C-E)Ix".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474P(B-C-E)Ix.xml"),
);
mcus.insert(
"STM32G474Q(B-C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474Q(B-C-E)Tx.xml"),
);
mcus.insert(
"STM32G474R(B-C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474R(B-C-E)Tx.xml"),
);
mcus.insert(
"STM32G474V(B-C-E)Hx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474V(B-C-E)Hx.xml"),
);
mcus.insert(
"STM32G474V(B-C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G474V(B-C-E)Tx.xml"),
);
mcus.insert(
"STM32G483CETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483CETx.xml"),
);
mcus.insert(
"STM32G483CEUx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483CEUx.xml"),
);
mcus.insert(
"STM32G483METx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483METx.xml"),
);
mcus.insert(
"STM32G483MEYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483MEYx.xml"),
);
mcus.insert(
"STM32G483PEIx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483PEIx.xml"),
);
mcus.insert(
"STM32G483QETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483QETx.xml"),
);
mcus.insert(
"STM32G483RETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483RETx.xml"),
);
mcus.insert(
"STM32G483VEHx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483VEHx.xml"),
);
mcus.insert(
"STM32G483VETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G483VETx.xml"),
);
mcus.insert(
"STM32G484CETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484CETx.xml"),
);
mcus.insert(
"STM32G484CEUx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484CEUx.xml"),
);
mcus.insert(
"STM32G484METx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484METx.xml"),
);
mcus.insert(
"STM32G484MEYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484MEYx.xml"),
);
mcus.insert(
"STM32G484PEIx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484PEIx.xml"),
);
mcus.insert(
"STM32G484QETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484QETx.xml"),
);
mcus.insert(
"STM32G484RETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484RETx.xml"),
);
mcus.insert(
"STM32G484VEHx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484VEHx.xml"),
);
mcus.insert(
"STM32G484VETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G484VETx.xml"),
);
mcus.insert(
"STM32G491C(C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491C(C-E)Tx.xml"),
);
mcus.insert(
"STM32G491C(C-E)Ux".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491C(C-E)Ux.xml"),
);
mcus.insert(
"STM32G491K(C-E)Ux".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491K(C-E)Ux.xml"),
);
mcus.insert(
"STM32G491M(C-E)Sx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491M(C-E)Sx.xml"),
);
mcus.insert(
"STM32G491M(C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491M(C-E)Tx.xml"),
);
mcus.insert(
"STM32G491R(C-E)Ix".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491R(C-E)Ix.xml"),
);
mcus.insert(
"STM32G491R(C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491R(C-E)Tx.xml"),
);
mcus.insert(
"STM32G491REYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491REYx.xml"),
);
mcus.insert(
"STM32G491V(C-E)Tx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G491V(C-E)Tx.xml"),
);
mcus.insert(
"STM32G4A1CETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1CETx.xml"),
);
mcus.insert(
"STM32G4A1CEUx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1CEUx.xml"),
);
mcus.insert(
"STM32G4A1KEUx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1KEUx.xml"),
);
mcus.insert(
"STM32G4A1MESx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1MESx.xml"),
);
mcus.insert(
"STM32G4A1METx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1METx.xml"),
);
mcus.insert(
"STM32G4A1REIx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1REIx.xml"),
);
mcus.insert(
"STM32G4A1RETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1RETx.xml"),
);
mcus.insert(
"STM32G4A1REYx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1REYx.xml"),
);
mcus.insert(
"STM32G4A1VETx".to_owned(),
include_str!("../cube-MX-db/mcu/STM32G4A1VETx.xml"),
);

mcus
};
}
4 changes: 4 additions & 0 deletions src/mcu.rs:Zone.Identifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://teams.microsoft.com/_
HostUrl=https://tbiholding-my.sharepoint.com/personal/c_peters_eekels_com/_layouts/15/download.aspx?UniqueId=a4ed8392-8775-435a-b66f-52fd4814c750&Translate=false&tempauth=eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDAvdGJpaG9sZGluZy1teS5zaGFyZXBvaW50LmNvbUBmODFkMjFmNi0xYzJhLTQ4YzQtYmRiMy1hZmQ3MzMwNTk0MGMiLCJpc3MiOiIwMDAwMDAwMy0wMDAwLTBmZjEtY2UwMC0wMDAwMDAwMDAwMDAiLCJuYmYiOiIxNjUzOTIwODE3IiwiZXhwIjoiMTY1MzkyMTExNyIsImVuZHBvaW50dXJsIjoia2V3V2dEN1VrR1MyYUFMTUJHeGxSNkdVVGRINGdQR2lTUHlibTY3RExYST0iLCJlbmRwb2ludHVybExlbmd0aCI6IjE1MyIsImlzbG9vcGJhY2siOiJUcnVlIiwiY2lkIjoiT1dJM09EUXlZVEF0WkRCaE15MDBNREF3TFRBMVlXSXRZMlE0T0RkalpqZ3hNREk1IiwidmVyIjoiaGFzaGVkcHJvb2Z0b2tlbiIsInNpdGVpZCI6Ik1tWTJOak0xT1RBdE1EVTJOeTAwWkRBNExUZ3paamN0TTJaaE5Ea3hObVkwTm1NMyIsImFwcF9kaXNwbGF5bmFtZSI6Ik1pY3Jvc29mdCBUZWFtcyIsImdpdmVuX25hbWUiOiJOYW5kbyIsImZhbWlseV9uYW1lIjoiQm9uZ2VycyIsImFwcGlkIjoiMWZlYzhlNzgtYmNlNC00YWFmLWFiMWItNTQ1MWNjMzg3MjY0IiwidGlkIjoiZjgxZDIxZjYtMWMyYS00OGM0LWJkYjMtYWZkNzMzMDU5NDBjIiwidXBuIjoibi5ib25nZXJzQGVla2Vscy5jb20iLCJwdWlkIjoiMTAwMzIwMDA5QkQ3QTE3RCIsImNhY2hla2V5IjoiMGguZnxtZW1iZXJzaGlwfDEwMDMyMDAwOWJkN2ExN2RAbGl2ZS5jb20iLCJzY3AiOiJteWZpbGVzLndyaXRlIGFsbHNpdGVzLmZ1bGxjb250cm9sIGFsbHNpdGVzLm1hbmFnZSBhbGxwcm9maWxlcy53cml0ZSIsInR0IjoiMiIsInVzZVBlcnNpc3RlbnRDb29raWUiOm51bGwsImlwYWRkciI6IjE4NS4xMTQuMTIyLjI4In0.elNjK1Z5RmtrWkl0VzlxNExNaXJKTkJ6a1lxeFMxNTNuT1NwbTdqZVg3Zz0&ApiVersion=2.0