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
26 lines
670 B
Plaintext
26 lines
670 B
Plaintext
with "../../boards/MicroBit/microbit_zfp.gpr";
|
|
|
|
project MicroBit_Example is
|
|
|
|
for Runtime ("ada") use Project'Project_Dir & "/zfp-nrf51";
|
|
for Target use "arm-eabi";
|
|
for Main use ("main.adb");
|
|
for Languages use ("Ada");
|
|
for Source_Dirs use ("src");
|
|
for Object_Dir use "obj";
|
|
for Create_Missing_Dirs use "True";
|
|
|
|
package Compiler renames MicroBit_ZFP.Compiler;
|
|
|
|
package Linker is
|
|
for Default_Switches ("Ada") use ("-Wl,--print-memory-usage",
|
|
"-Wl,--gc-sections");
|
|
end Linker;
|
|
|
|
package Ide is
|
|
for Program_Host use ":1234";
|
|
for Communication_Protocol use "remote";
|
|
end Ide;
|
|
|
|
end MicroBit_Example;
|