-
Notifications
You must be signed in to change notification settings - Fork 1
/
demos.gpr.in
38 lines (29 loc) · 1.04 KB
/
demos.gpr.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
with "@DRIVERS_PATH@/boards/@BOARD_SUBDIR@/@BOARD_PROJECT@";
with "ui_stm32fxxx";
project Demos is
for Runtime ("Ada") use @BOARD_RUNTIME@'Runtime("Ada");
for Object_Dir use "obj/@BOARD_DIR@";
for Target use "arm-eabi";
for Main use ("gallery-main.adb", "graphs-main.adb", "clock-main.adb");
for Source_Dirs use ("demos/gallery", "demos/graphs", "demos/clock");
package Compiler is
for Default_Switches ("Ada")
use Ui_STM32FXXX.Compiler'Default_Switches ("Ada");
end Compiler;
package Linker is
for Default_Switches ("Ada") use
("-Wl,--gc-sections",
"-Wl,--print-memory-usage");
end Linker;
package Builder is
for Global_Configuration_Pragmas use "gnat.adc";
end Builder;
package Ide is
for Gnat use "arm-eabi-gnat";
for Gnatlist use "arm-eabi-gnatls";
for Debugger_Command use "arm-eabi-gdb";
for Program_Host use "localhost:4242";
for Communication_Protocol use "remote";
for Connection_Tool use "st-util";
end Ide;
end Demos;