Skip to main content
BKAAN.1
Visitor II
February 7, 2023
Question

Run helloWorld program in Ada language on STM32MP157F board

  • February 7, 2023
  • 3 replies
  • 1251 views

Hi, we are trying to run a simple helloWorld program on the STM32MP157F board, but we couldn't find any documentation or any instructions on how to do so. We re not sure about the requirements. Is someone have any idea how to do that or where to find instructions that would be appreciated.

3 replies

Tesla DeLorean
Guru
February 7, 2023

Perhaps the same as any ADA compiler under Linux, or Embedded Linux

Perhaps pull in the compiler and check dependencies

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Erwan SZYMANSKI
Technical Moderator
February 8, 2023

Hello @BKAAN.1​ ,

Today ST does not provide any kind of support for ADA cross compilation. You can see the our arm-ostl-linux-gnueabi- toolchain does not support ADA compiler.

However, as mentioned @Community member​ , it may be possible but it will need a work from your side. It will be up to you to add the necessary elements to support the ADA cross compiler with our ecosystem.

Maybe this documentation can help you to go forward on the topic.

Kind regards,

Erwan.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Kevlar700
Associate II
April 7, 2025

A bit late but Ada is by far the best language for embedded development in 2025. No other language has Adas type system that can model hardware mapped registers so neatly and safely making maintenance and coding easier at the same time. It was a great decision for me to use Ada enabled by this post.

"https://blog.adacore.com/ada-on-any-arm-cortex-m-device-in-just-a-couple-minutes"

Andrew Neil
Super User
April 7, 2025

Also a bit off-topic - the question was about Cortex-A (STM32MP) - not Cortex-M

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.