My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

jtag.ld 1.1KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * libmaple linker script for "JTAG" builds.
  3. *
  4. * A "JTAG" build puts .text (and .rodata) in Flash, and
  5. * .data/.bss/heap (of course) in SRAM, but links starting at the
  6. * Flash and SRAM starting addresses (0x08000000 and 0x20000000
  7. * respectively). This will wipe out a Maple bootloader if there's one
  8. * on the board, so only use this if you know what you're doing.
  9. *
  10. * Of course, a "JTAG" build is perfectly usable for upload over SWD,
  11. * the system memory bootloader, etc. The name is just a historical
  12. * artifact.
  13. */
  14. /*
  15. * This pulls in the appropriate MEMORY declaration from the right
  16. * subdirectory of stm32/mem/ (the environment must call ld with the
  17. * right include directory flags to make this happen). Boards can also
  18. * use this file to use any of libmaple's memory-related hooks (like
  19. * where the heap should live).
  20. */
  21. INCLUDE mem-jtag.inc
  22. /* Provide memory region aliases for common.inc */
  23. REGION_ALIAS("REGION_TEXT", rom);
  24. REGION_ALIAS("REGION_DATA", ram);
  25. REGION_ALIAS("REGION_BSS", ram);
  26. REGION_ALIAS("REGION_RODATA", rom);
  27. /* Let common.inc handle the real work. */
  28. INCLUDE common.inc