This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to store constant variable/struct at perticular offset address in application hex file

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