AdaCore yesterday announced the winners of its inaugural ‘Make with Ada’ programming competition for projects implemented on ARM Cortex M or R processors. Planned as an annual event, ‘Make with Ada’ aims to showcase Ada and SPARK as language technologies that can significantly improve code quality for modern embedded systems without requiring a steep learning curve for developers unfamiliar with these languages. Prizes are awarded to the projects that best meet the overall criteria of software dependability, openness, collaborativeness and inventiveness.
This year the first place prize of €5000 went to Stephane Carrez for his EtherScope monitoring tool that analyses Ethernet traffic. Running on an STMicroelectronics STM32F746 board (Cortex M7), it reads Ethernet packets, performs real-time analysis, and displays the results on a 480×272 touch panel. The EtherScope interface can filter the results at different levels and report various kinds of information.
The second place prize of €2000 was awarded to German Rivera for his framework to develop control software for the NXP cup race car. The development system is a miniature race car chassis coupled with a FRDM-KL25Z board and a TFC-shield board. The car kit also includes two DC motors for the rear wheels, a steering servo for the front wheels and a line scan camera. The microcontroller is an NXP Kinetis KL25Z chip, with Cortex-M0+ core, 128KB of NOR flash and 16KB of SRAM.
The third place prize of €1000 was awarded to Shawn Nock for his Bluetooth Beacons (“iBeacon”) project. The target was a Nordic Semiconductor nRF51822 System-on-a-Chip (a Cortex-M0 part with integrated 2.4GHz Radio) with a custom development board.
Two special prizes (Crazyflie 2.0 nano drones) were also awarded. The Robert Dewar Special Prize for dependability went to German Rivera for his IoT Networking Stack project for the NXP FRDM-K64F board. The Lady Ada Lovelace Special Prize for inventiveness was awarded to Sébastien Bardot for his Explorer and Mapper Robot project, which uses a Nucleo F411RE board based on stm32f411re chip from STMicroelectronics.
“I’ve been using Ada for several years on a variety of Open Source projects,” said first prize winner Stephane Carrez. “But this was my first experience with Ada on a bare metal target, and that gave me the opportunity and motivation to learn more about the Ada Ravenscar profile. Receiving first prize for the EtherScope project was a great honour to me, and I want to thank AdaCore for sponsoring this competition. Developing Open Source software in Ada on ARM has proved to be rewarding in multiple ways.”
“We were delighted to see the breadth and quality of the projects that were submitted, ranging from food dehydrators to robots to electronic power supplies,” said Cyrille Comar, AdaCore president and one of the judges for the competition. “It was also fascinating to see the diverse backgrounds of the entrants and the variety of ARM platforms that were used. It shows that Ada technology can help anyone build reliable and secure embedded software without severe constraints on the hardware choices.”
The ‘Make with Ada’ competition ran from 20 June to 30 September, 2016 and attracted 38 entries. Each entrant needed to design and implement an embedded software project for an ARM Cortex M or R processor, using Ada and/or SPARK as the principal language technologies. Entrants needed to demonstrate that their system met its requirements and was developed using sound software engineering practices.
Embedded systems experts Guillaume Foliard (radar digital processing architect at Thales), Jack Ganssle (principal consultant at The Ganssle Group), Dick Selwood (Europe editor at TechfocusMedia), Bill Wong (technical editor at Penton Media), and Cyrille Comar (AdaCore president) served as the competition judges.
One of AdaCore’s goals in sponsoring the competition was to attract entries from embedded systems developers with no previous Ada experience, to show that programmers could come up to speed quickly and productively. As evidenced in a blog entry from one of the entrants, prize winner Shawn Nock, this goal was met: “I was able to become productive in Ada in about eight hours (starting from zero experience).… Developing the beacon in Ada (a language I don”t know well) took roughly the same time as the similar functionality in C and I have more confidence in the Ada code.”
The ‘Make with Ada’ competition is part of an overall AdaCore initiative to foster the growth of Ada and SPARK for developing embedded systems and more generally for developing “software that matters”. Other elements of this initiative are the free on-line training available at AdaCore U, and the various resources for free software developers and students/hobbyists at the github repository and the libre site.
Information about next year’s ‘Make with Ada’ competition will be available during Q2 2017 at http://www.makewithada.org/.