forked from stcarrez/ada-enet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdns.gpr.in
23 lines (17 loc) · 783 Bytes
/
dns.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
with "@DRIVERS_PATH@/boards/@BOARD_SUBDIR@/@BOARD_PROJECT@";
with "anet_stm32fxxx";
project Dns extends "@DRIVERS_PATH@/examples/shared/common/common.gpr" is
for Runtime ("Ada") use @BOARD_RUNTIME@'Runtime("Ada");
for Object_Dir use "obj/@BOARD_DIR@";
for Main use ("dns.adb");
for Source_Dirs use ("demos/dns", "demos/utils", "@DRIVERS_PATH@/examples/shared/common/gui");
package Compiler is
-- The network packets are stored in the SDRAM and the SDRAM raises a hardware
-- fault when we access un-aligned 32-bit words.
for Default_Switches ("Ada")
use Anet_STM32FXXX.Compiler'Default_Switches ("Ada") & "-gnatwn";
end Compiler;
package Builder is
for Global_Configuration_Pragmas use "gnat.adc";
end Builder;
end Dns;