+ tasking example for black pill

This commit is contained in:
Vovanium 2024-03-21 19:20:03 +03:00
parent b465184160
commit 53c4324c9c
2 changed files with 26 additions and 1 deletions

View File

@ -2,7 +2,7 @@
X = led_flasher
# Supported board list
BOARDS = 407z_piswords 429disco
BOARDS = 401c_blackpill 407z_piswords 429disco
O = objects

View File

@ -0,0 +1,25 @@
with "../../library/gpr/light_tasking_stm32f4_library.gpr";
project LED_Flasher_401c_BlackPill is
for Languages use("Ada");
for Main use("led_flasher.adb");
for Object_Dir use "objects/401c_blackpill";
for Target use "arm-eabi";
for Runtime("Ada") use "light-tasking-stm32f401";
for Source_Dirs use(".", "../common/401c_blackpill");
package Compiler is
for Default_Switches("Ada") use ("-gnatwa.X", "-gnatQ", "-gnatn", "-O2");
end Compiler;
package Builder is
for Default_Switches("Ada") use ("-ggdb");
end Builder;
package IDE is
for Program_Host use "localhost:4242";
for Communication_Protocol use "remote";
for Connection_Tool use "st-util";
end IDE;
end LED_Flasher_401c_BlackPill;