My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

flash.ld 866B

1234567891011121314151617181920212223242526
  1. /*
  2. * libmaple linker script for "Flash" builds.
  3. *
  4. * A Flash build puts .text (and .rodata) in Flash, and
  5. * .data/.bss/heap (of course) in SRAM, but offsets the sections by
  6. * enough space to store the Maple bootloader, which lives in low
  7. * Flash and uses low memory.
  8. */
  9. /*
  10. * This pulls in the appropriate MEMORY declaration from the right
  11. * subdirectory of stm32/mem/ (the environment must call ld with the
  12. * right include directory flags to make this happen). Boards can also
  13. * use this file to use any of libmaple's memory-related hooks (like
  14. * where the heap should live).
  15. */
  16. INCLUDE mem-flash.inc
  17. /* Provide memory region aliases for common.inc */
  18. REGION_ALIAS("REGION_TEXT", rom);
  19. REGION_ALIAS("REGION_DATA", ram);
  20. REGION_ALIAS("REGION_BSS", ram);
  21. REGION_ALIAS("REGION_RODATA", rom);
  22. /* Let common.inc handle the real work. */
  23. INCLUDE common.inc