fysetc_aio_ii.ld 485 B

123456789101112131415161718
  1. /*
  2. * Linker script for Generic STM32F103RC boards, using the generic bootloader (which takes the lower 8k of memory)
  3. */
  4. MEMORY
  5. {
  6. ram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
  7. rom (rx) : ORIGIN = 0x08010000, LENGTH = 256K-40K
  8. }
  9. /* Provide memory region aliases for common.inc */
  10. REGION_ALIAS("REGION_TEXT", rom);
  11. REGION_ALIAS("REGION_DATA", ram);
  12. REGION_ALIAS("REGION_BSS", ram);
  13. REGION_ALIAS("REGION_RODATA", rom);
  14. /* Let common.inc handle the real work. */
  15. INCLUDE common.inc