在 Adafruit STM32 Feather 开发板上用 Ada 编程

其它相关内容
问题讨论
回复
头像
shaoziyang
帖子: 3917
注册时间: 2019年 10月 21日 13:48

在 Adafruit STM32 Feather 开发板上用 Ada 编程

#1

帖子 shaoziyang »

来自:https://blog.adacore.com/ada-on-a-feather

图片

介绍了在 Adafruit STM32 Feather 开发板上移植 Ada。
In the last couple of years, the maker community switched from AVR based micro-controllers (popularized by Arduino) to the ARM Cortex-M architecture. AdaFruit was at the forefront of this migration, with boards like the Circuit Playground Express or some of the Feathers.
 AdaFruit chose to adopt the Atmel (now Microchip) SAMD micro-controller family. Unfortunately for us it is not in the list of platforms with the most Ada support so far (stay tuned, this might change soon ;)). 
So I was quite happy to see AdaFruit release their first Feather format board including a micro-controller with plenty of Ada support, the STM32F4. I bought a board right away and implemented some support code for it.
The support for the Feather STM32F405 is now available in the Ada Drivers Library, along with two examples. The first just blinks the on-board LED and the second displays Make With Ada on a CharlieWing expansion board.
设定

要编译示例,您需要下载并安装以下内容:adacore.com/download上的GNAT arm-elf软件包(我也建议使用本机软件包以获取IDE GNAT Studio)和GitHub上的Ada Driver Library代码(AdaCore / Ada_Drivers_Library)。

然后,您必须运行脚本  scripts / install_dependencies.py来安装运行时BSP。


构建

要构建示例,使用GNATstudio(Aka GPS)打开项目文件examples / feather_stm32f405 / blinky / blinky.gprexamples / feather_stm32f405 / charlie_wing / charlie_wing.gpr之一,然后单击“全部构建”图标。


下载

使用DFU或者编程器

图片
 

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章