Guest User

Untitled

a guest
Oct 18th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. BASE_ADDR = 0x4000;
  2.  
  3. MEMORY
  4. {
  5. m_interrupts (RX) : ORIGIN = BASE_ADDR, LENGTH = 0x0200
  6. m_bootloader_config (RX) : ORIGIN = BASE_ADDR + 0x3C0, LENGTH = 0x0040
  7. m_text (RX) : ORIGIN = BASE_ADDR + 0x400, LENGTH = 0x10000 - (BASE_ADDR + 0x400)
  8. m_data (RW) : ORIGIN = 0x1FFFF000, LENGTH = 0x4000
  9. }
  10.  
  11. Invoking: Cross ARM C++ Linker
  12. ../MKL27Z64xxx4_flash.ld:67: nonconstant expression for origin
  13. collect2: error: ld returned 1 exit status
  14.  
  15. m_interrupts (RX) : ORIGIN = BASE_ADDR, LENGTH = 0x0200
Add Comment
Please, Sign In to add comment