Ada_Drivers_Library/boards/stm32f746_discovery.gpr

27 lines
831 B
Plaintext

aggregate library project Stm32F746_Discovery is
Board := "stm32f746disco";
type RTS_Profile_Type is ("ravenscar-sfp", "ravenscar-full");
RTS_Profile : RTS_Profile_Type :=
external ("RTS_Profile", "ravenscar-sfp");
type Build_Type is ("Debug", "Production");
Build : Build_Type := external ("PLATFORM_BUILD", "Production");
for Target use "arm-eabi";
for Runtime ("Ada") use RTS_Profile & "-" & Board;
Obj_Suffix := Board & "/" & RTS_Profile & "/" & Build;
for Library_Name use Board;
for Library_Dir use "lib/" & Obj_Suffix;
for external ("Obj_Suffix") use Obj_Suffix;
for external ("RTS_Profile") use RTS_Profile;
for Project_Path use
(Project'Project_Dir, Project'Project_Dir & "..");
for Project_Files use ("stm32f746_discovery/board.gpr");
end Stm32F746_Discovery;