PD Buddy Sink Firmware
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.

STM32F072xB.ld 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /*
  14. * STM32F072xB memory setup.
  15. *
  16. * Flash is defined as 2k smaller than it really is to reserve the last page
  17. * for configuration.
  18. */
  19. MEMORY
  20. {
  21. flash : org = 0x08000000, len = 126k
  22. ram0 : org = 0x20000000, len = 16k
  23. ram1 : org = 0x00000000, len = 0
  24. ram2 : org = 0x00000000, len = 0
  25. ram3 : org = 0x00000000, len = 0
  26. ram4 : org = 0x00000000, len = 0
  27. ram5 : org = 0x00000000, len = 0
  28. ram6 : org = 0x00000000, len = 0
  29. ram7 : org = 0x00000000, len = 0
  30. }
  31. /* RAM region to be used for Main stack. This stack accommodates the processing
  32. of all exceptions and interrupts*/
  33. REGION_ALIAS("MAIN_STACK_RAM", ram0);
  34. /* RAM region to be used for the process stack. This is the stack used by
  35. the main() function.*/
  36. REGION_ALIAS("PROCESS_STACK_RAM", ram0);
  37. /* RAM region to be used for data segment.*/
  38. REGION_ALIAS("DATA_RAM", ram0);
  39. /* RAM region to be used for BSS segment.*/
  40. REGION_ALIAS("BSS_RAM", ram0);
  41. /* RAM region to be used for the default heap.*/
  42. REGION_ALIAS("HEAP_RAM", ram0);
  43. INCLUDE rules.ld