]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/ldscript.common
Only re-compile version.c as often as necessary
[proxmark3-svn] / common / ldscript.common
index 4c4bd3906127eebe0f6f7315e0c4aff20fd41e0d..4379d40c8511ec26dd4c1d6a5206c74be5a6b955 100644 (file)
@@ -14,3 +14,7 @@ MEMORY
         ram        : ORIGIN = 0x00200000, LENGTH = 64K
 }
 
+/* Export some information that can be used from within the firmware */
+_bootphase1_version_pointer = ORIGIN(bootphase1) + LENGTH(bootphase1) - 0x4;
+_flash_start = ORIGIN(bootphase1);
+_flash_end = ORIGIN(osimage) + LENGTH(osimage);
\ No newline at end of file
Impressum, Datenschutz