add stm3240g-eval board (#84)

wch-ch32v003
hollmmax 2 years ago committed by GitHub
parent 0d9721d907
commit c5f68cae63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,6 +32,12 @@ pub const stm32f4discovery = Board{
.chip = chips.stm32f407vg, .chip = chips.stm32f407vg,
}; };
pub const stm3240geval = Board{
.name = "STM3240GEVAL",
.path = root_path ++ "boards/stm3240geval/stm3240geval.zig",
.chip = chips.stm32f407vg,
};
pub const stm32f429idiscovery = Board{ pub const stm32f429idiscovery = Board{
.name = "STM32F429IDISCOVERY", .name = "STM32F429IDISCOVERY",
.path = root_path ++ "boards/stm32f429idiscovery/stm32f429idiscovery.zig", .path = root_path ++ "boards/stm32f429idiscovery/stm32f429idiscovery.zig",

@ -0,0 +1,13 @@
pub const chip = @import("chip");
pub const micro = @import("microzig");
pub const pin_map = .{
// LD1 green
.@"LD1" = "PG6",
// LD2 orange
.@"LD2" = "PG8",
// LD3 red
.@"LD3" = "PI9",
// LD4 blue
.@"LD4" = "PC7",
};
Loading…
Cancel
Save