Struct in code

How Can I define a struct in code memory??
I want to create a Default config and put this in code memory, If the program detect that is unconfigurated this load the Default configuration.

thanks

More questions in this forum