The project is currently migrating to a new repository.
Indeed, the project will be managed by the AversivePlusPlus organisation.
It will contain a set of modules separated into several repositories. The library will be more modulare, and easier to maintain.
You can visit the project's website to get the most recent news.
This project provides a C++ library that eases microcontroller programming.
Its aim is to provide an interface simple enough to be able to create complex applications, and optimized enough to enable small microcontrollers to execute these applications.
The other aspect of this library is to be multiplatform. Indeed, it is designed to provide the same API for a simulator (named SASIAE) and for AVR-based and ARM-based microcontrollers.
A big part of the API is documented. You can find an online documentation, or compile the documentation from the source code with Doxygen.
Build the documentation by executing this command at the root of the project:
make doc
Then, you can open build/doc/html/index.html with any web browser.
Type the command:
make sasiae
- Qt5-core
Type the command:
make ${MMCU}
Where ${MMCU}
is the microcontroller's name.
You can find the names of the supported microcontrollers below.
- avr-gcc
- libc-avr
- avr-binutils
- atmega32
- atmega128
- atmega2560
Type the command:
make stm32
You can find the names of the supported microcontrollers below.
- arm-none-eabi-gcc
- stm32f4
The command below will build Aversive++ for all the supported platforms:
make
Note: some unit tests are implemented for every supported platforms.
make test_common
make test_sasiae
The AVR tests requires an Arduino Mega2560 to be connected to the computer. The board will be automatically programmed with different unit tests.
make test_avr