Pigmeo was a compiler and framework for writing microcontroller firmware in C# and other .NET languages, developed by Adrián Bulnes (Urriellu) between 2007 and 2010. This is a frozen, read-only archive of the project’s website, pigmeo.org; nothing here is maintained. Source code: github.com/Urriellu/pigmeo · Original capture: Wayback Machine · urriellu.net

INT0006

From Pigmeo - .NET/Mono/CLI (C#, VB.NET, C++/CLI, Nemerle...) for microcontrollers (PIC, dsPIC, AVR...)

config.Compilation.TargetDeviceInfo is null

Before accessing the target device information we need to set config.Compilation.TargetDeviceInfo to an instance of InfoDevice class, retrieved by Pigmeo.Internal.DeviceTarget.GetDeviceTarget() (found in pigmeo-framework/src/internal/CustomAttributes.cs) from the target device library referenced by the user application being compiled.