Skip to content
@GNAT-Academic-Program

AdaCore GNAT Academic Program

GNAT Academic Program

Contact and Support

Join our Discord Server

Learn Ada

Ada main ressources

Capstone Ideas

Onboarding instructions

  1. Our process has been optimized for and tested exclusively on Linux, specifically Ubuntu 20.04/22.04 LTS.
  2. For the best experience, we advise installing and using Linux (preferably Ubuntu LTS) as your operating system.

Install Alire, an Ada package manager

Linux

which alr

Windows

  • Download and execute the Alire 2.0.x Windows installer
  • Download and install Everything
  • Open Everything. Wait it has finished indexing your drives. Then search for alr.exe and copy the path where it's found.
  • Add where_you_found_alr\bin to PATH
  • Verify Alire is found on your Path.
where alr

MacOS

AARCH64
X86_64
echo "where_you_unzipped_alr/bin" | sudo tee /etc/paths.d/alr_config > /dev/null
  • Change the permission of the created file with the following command:
sudo chmod 644 /etc/paths.d/alr_config
  • Update the machine's PATH:
/usr/libexec/path_helper -s
  • Verify Alire is found on your machine's PATH.
where alr

Add the GAP Alire index (IMPORTANT)

The GAP Alire index hosts crates for internal review before public release in the community index. Add this index for access to early crate versions.

From a command line, install the GAP Alire index named gap locally:

alr index --add git+https://github.com/GNAT-Academic-Program/alire-index --name gap

Install VSCode

sudo snap install --classic code

Install the VSCode Ada Extension

code --install-extension adacore.ada

Install OpenOCD (needed for embedded)

sudo apt-get install openocd

(Optional) If you need to delete the GAP index:

alr index --del gap

Popular repositories Loading

  1. stm32_blinky_demo stm32_blinky_demo Public

    Blinky Demo For STM32 (Alire)

    Ada 1

  2. Windows-platform Windows-platform Public

    Portable, Relocatable Microsoft Windows Development Environment with Alire, GnatStudio, VScode, Ada and Embedded Systems

    1

  3. CEG491X CEG491X Public

    1

  4. alire-index alire-index Public

    Forked from alire-project/alire-index

    Community index for the Alire project

  5. .github .github Public

  6. stm32_hal stm32_hal Public

    STM32 - HAL, Devices, Drivers (Alire)

    Ada 1

Repositories

Showing 10 of 38 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…