New tutorial about ARM debugging in Eclipse

Planned for very long, the tutorial about debugging a distortos-based project for ARM microcontroller in Eclipse was finally published – Documentation > Eclipse debugging setup for ARM microcontrollers. Even though the screenshots in the article were made on Windows 10, the guide is completely system-agnostic – the procedure will be identical on Linux.

This final guide completes the basic series of tutorials:

  1. ARM toolchain for Windows (Windows specific),
  2. Creating and configuring a project in Eclipse (mostly system-agnostic),
  3. Eclipse debugging setup for ARM microcontrollers (mostly system-agnostic).

Updated build instructions for kconfig-frontends

With the most recent gperf release – 3.1, released on 5th January 2017 (almost 8 years after previous 3.0.4) – the “standard” kconfig-frontends build procedure no longer works. The type of length argument used in generated functions was changed from unsigned int to size_t, which causes the build to fail with following error:

  CC     libkconfig_parser_la-yconf.lo
In file included from yconf.c:234:0:
hconf.gperf:141:1: error: conflicting types for 'kconf_id_lookup'
hconf.gperf:12:31: note: previous declaration of 'kconf_id_lookup' was here
 static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
                               ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:456: libkconfig_parser_la-yconf.lo] Error 1
make[2]: *** [Makefile:350: all] Error 2
make[1]: *** [Makefile:334: all-recursive] Error 1
make: *** [Makefile:385: all-recursive] Error 1

Continue reading Updated build instructions for kconfig-frontends

Support for ARMv6-M architecture & STM32F0 chips

In the last few weeks distortos gained support for ARMv6-M architecture (ARM Cortex-M0(+) and ARM Cortex-M1 cores). The first chip family added to distortos using this architecture is STM32F0. You can select any of 72 chips from that family in the Kconfig configuration system and they are all supported by source code of distortos. Total number of supported chips rose to 281! Continue reading Support for ARMv6-M architecture & STM32F0 chips

distortos 0.1.0, distortosExamples 20160226 and distortosTemplateSubfolder 20160226 released

Today – after 19 months of continuous development and more than 2500 commits – first release of distortos (0.1.0), distortosExamples (20160226) and distortosTemplateSubfolder (20160226) was completed! Continue reading distortos 0.1.0, distortosExamples 20160226 and distortosTemplateSubfolder 20160226 released