Keyboard firmwares for Atmel AVR and Cortex-M
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.

MKL26Z64.ld 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
  3. This file is part of ChibiOS.
  4. ChibiOS is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. ChibiOS is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. /*
  16. * KL26Z64 memory setup.
  17. */
  18. MEMORY
  19. {
  20. flash0 : org = 0x00000000, len = 0xc0
  21. flashcfg : org = 0x00000400, len = 0x10
  22. flash : org = 0x00000410, len = 62k - 0x410
  23. eeprom_emu : org = 0x0000F800, len = 2k
  24. ram0 : org = 0x1FFFF800, len = 8k
  25. ram1 : org = 0x00000000, len = 0
  26. ram2 : org = 0x00000000, len = 0
  27. ram3 : org = 0x00000000, len = 0
  28. ram4 : org = 0x00000000, len = 0
  29. ram5 : org = 0x00000000, len = 0
  30. ram6 : org = 0x00000000, len = 0
  31. ram7 : org = 0x00000000, len = 0
  32. }
  33. __eeprom_workarea_start__ = ORIGIN(eeprom_emu);
  34. __eeprom_workarea_size__ = LENGTH(eeprom_emu);
  35. __eeprom_workarea_end__ = __eeprom_workarea_start__ + __eeprom_workarea_size__;
  36. /* RAM region to be used for Main stack. This stack accommodates the processing
  37. of all exceptions and interrupts*/
  38. REGION_ALIAS("MAIN_STACK_RAM", ram0);
  39. /* RAM region to be used for the process stack. This is the stack used by
  40. the main() function.*/
  41. REGION_ALIAS("PROCESS_STACK_RAM", ram0);
  42. /* RAM region to be used for data segment.*/
  43. REGION_ALIAS("DATA_RAM", ram0);
  44. /* RAM region to be used for BSS segment.*/
  45. REGION_ALIAS("BSS_RAM", ram0);
  46. /* RAM region to be used for the default heap.*/
  47. REGION_ALIAS("HEAP_RAM", ram0);
  48. INCLUDE ld/rules_kinetis.ld