You've already forked Ada_Drivers_Library
mirror of
https://github.com/AdaCore/Ada_Drivers_Library.git
synced 2026-02-12 12:26:55 -08:00
This change introduces a library aggregate project at board level, that ensures that the proper runtime and configuration is used througout the other projects.
17 lines
435 B
Plaintext
17 lines
435 B
Plaintext
with "../../boards/stm32f407_discovery.gpr";
|
|
|
|
project Accelerometer extends "../common/common.gpr" is
|
|
|
|
for Runtime ("Ada") use STM32F407_Discovery'Runtime ("Ada");
|
|
for Target use "arm-eabi";
|
|
for Main use ("main.adb");
|
|
for Languages use ("Ada");
|
|
for Source_Dirs use ("src");
|
|
for Object_Dir use "obj";
|
|
|
|
package Linker is
|
|
for Default_Switches ("Ada") use ("-Wl,--print-memory-usage");
|
|
end Linker;
|
|
|
|
end Accelerometer;
|