It's impossible to use the current POHI-Ada mechanism to add drivers for the STM32F4 platform (building with GNAT2017).
One issue is that there are exceptions raised by the pragma Debug statements in polyorb_hi-thread_interrogators.adb. In particular the "+" operator redefined for String types, and used in such statements:
pragma Debug (Put_Line
(Verbose,
CE
+ ": Wait_Event: oldest unread event port = "
+ Thread_Port_Images (P)));
But even in Release mode, stack overflows occur and crash the application.
It's impossible to use the current
POHI-Ada
mechanism to add drivers for theSTM32F4
platform (building withGNAT2017
).One issue is that there are exceptions raised by the
pragma Debug
statements inpolyorb_hi-thread_interrogators.adb
. In particular the "+" operator redefined forString
types, and used in such statements:But even in Release mode, stack overflows occur and crash the application.