Software

Creating ELF Files for UC3

The example below shows how to add data for the user page in UC3 devices.

#include <avr/io.h>

const char userdata[] __attribute__((section(".userpage"))) = "Hello Page";

int main(void)
{
    while(1)
    {
        //TODO:: Write your application code
    }
}