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.

ram.ld 820B

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