AdaCore / Ada_Drivers_Library

Ada source code and complete sample GNAT projects for selected bare-board platforms supported by GNAT.
BSD 3-Clause "New" or "Revised" License
240 stars 141 forks source link

[RFC] STM32 easy device setup #170

Closed Fabien-Chouteau closed 7 years ago

Fabien-Chouteau commented 7 years ago

The goal of this PR is to provide easier setup of common STM32 devices (I2C, SPI, UART, I2S). This kind of setup code is duplicated a lot in the ADL so will be able to both factorize and provide an better experience for users.

This is only an RFC right now, not all the setups are implemented and/or used.

pat-rogers commented 7 years ago

I like the first two a lot, the third makes sense too.