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/gap-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. neorv32_hal neorv32_hal Public

    Ada-based Hardware Abstraction Layer for the neorv32 SoC

    Ada 4 1

  2. stm32_blinky_demo stm32_blinky_demo Public

    Blinky Demo For STM32 (Alire)

    Ada 3

  3. mcu_bootloader_cli mcu_bootloader_cli Public

    This is the command line interface which interacts with the microcontroller bootloader also in the academic program

    Ada 1

  4. Windows-platform Windows-platform Public

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

    1

  5. AFTI AFTI Public

    Ada For The Impatient

    Ada 1 1

  6. CEG491X CEG491X Public

    1

Repositories

Showing 10 of 45 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…