altos/stm: Provide another 4kB of flash space for apps
[fw/altos] / src / stm / altos-loader.ld
index 2e36dce9cab630792fa6dcf01ed9eb721c8016b5..78649be2ca6557b8c4de4afc63b7e676d5a82e2e 100644 (file)
@@ -32,12 +32,7 @@ SECTIONS {
        .text : {
                __text_start__ = .;
                *(.interrupt)   /* Interrupt vectors */
-
-               . = ORIGIN(rom) + 0x100;
-
-               ao_romconfig.o(.romconfig*)
-               ao_product.o(.romconfig*)
-
+               *(.romconfig)
                *(.text)        /* Executable code */
                *(.rodata)      /* Constants */
 
@@ -52,7 +47,7 @@ SECTIONS {
         * the application and bootloader share the same addresses.
         * This must be all uninitialized data
         */
-       .boot : {
+       .boot (NOLOAD) : {
                __boot_start__ = .;
                *(.boot)
                . = ALIGN(4);