Quantcast
Viewing latest article 38
Browse Latest Browse All 47

Answer by Jeremy for Embedding constant at specific memory location

Assuming the bootloader and main app are both under your control, you could have the bootloader jump to the application entry point with a pointer to the version information (and any other information you wish) in a register, for the app to make use of as it sees fit. This eliminates any reliance on fixed memory locations.


Viewing latest article 38
Browse Latest Browse All 47


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>