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.

STM32F103x8_stm32duino_bootloader.ld 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. * ST32F103xB memory setup.
  17. */
  18. MEMORY
  19. {
  20. flash : org = 0x08002000, len = 64k - 0x2000
  21. ram0 : org = 0x20000C00, len = 20k - 0xC00
  22. ram1 : org = 0x00000000, len = 0
  23. ram2 : org = 0x00000000, len = 0
  24. ram3 : org = 0x00000000, len = 0
  25. ram4 : org = 0x00000000, len = 0
  26. ram5 : org = 0x00000000, len = 0
  27. ram6 : org = 0x00000000, len = 0
  28. ram7 : org = 0x00000000, len = 0
  29. }
  30. /* RAM region to be used for Main stack. This stack accommodates the processing
  31. of all exceptions and interrupts*/
  32. REGION_ALIAS("MAIN_STACK_RAM", ram0);
  33. /* RAM region to be used for the process stack. This is the stack used by
  34. the main() function.*/
  35. REGION_ALIAS("PROCESS_STACK_RAM", ram0);
  36. /* RAM region to be used for data segment.*/
  37. REGION_ALIAS("DATA_RAM", ram0);
  38. /* RAM region to be used for BSS segment.*/
  39. REGION_ALIAS("BSS_RAM", ram0);
  40. /* RAM region to be used for the default heap.*/
  41. REGION_ALIAS("HEAP_RAM", ram0);
  42. INCLUDE rules.ld