This repository contains Ada software to play with four Arduino shields:
- Four Relay Shield;
- Multifunction Shield;
- LCD 1602 Keypad Shield;
- DC Motor Shield.
The software is based on the Ada Drivers Library from Adacore. The main board where these shields are attached is the NUCLEO-F429ZI, from ST Microelectronics, that has connectors for Arduino shields. If you want to use other nucleo boards, do the Project Wizard that comes with the Ada Drivers Library choosing your board. You will need to change the hardware addresses of the *_shield.ads files inside the src folder of each shield directory.
You may use the GNAT Programming Studio from Adacore, Visual Studio Code from Microsoft or Sublime Text from Sublime HQ Pty Ltd to cross-compile these sources. For VSCode, the root directory has a .vscode/tasks.json file that permits to check syntax and semantic, compile, build, clean, convert elf to hex and bin files and flash hex and bin files to board. For Sublime Text, there is a .stext/project.sublime-project file to do the same. All IDEs need the ST-LINK (version 1.6 or later) to flash the executable to the nucleo board, but the VSCode and Sublime Text have the option to use STM32CubeProgrammer and flash elf files.