Skip to content

Use of the secondary stack #8

@maxime-esa

Description

@maxime-esa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions