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