This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to store constant variables at specific address during compile time

Hi,

I would like to store firmware version number at a particular offset from the application start address so that it can be retrieved by boot loader as explained here.

Could you give an example on how to do this? The version number will be generated at compile time.

Thanks in advance Arjun

Related