efr32.cfg 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Copyright (c) 2021 Project CHIP Authors
  2. #
  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. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # Memory tools default configuation for Silicon Labs EFR32.
  15. {
  16. 'section': {
  17. # By default, only these sections will be included
  18. # when operating by sections.
  19. 'default': ['.text', '.data', '.bss']
  20. },
  21. 'symbol': {
  22. 'free': {
  23. # These symbols mark the start or end of areas where memory that
  24. # does not belong to any symbol is considered unused (rather than
  25. # a gap that may be in use for some non-symbol purpose, e.g. string
  26. # constants or alignment).
  27. 'start': [
  28. 'stack', '__bss_end__', 'end', '_end', '__end__',
  29. '__HeapLimit', '__HeapBase'
  30. ],
  31. 'end': ['_stack', '_fini', '__StackTop'],
  32. }
  33. },
  34. 'region': {
  35. # Regions are sets of sections that can be used for aggregate reports.
  36. 'sections': {
  37. 'FLASH': [
  38. '.text',
  39. '.nvm_dummy',
  40. '.ARM.exidx',
  41. ],
  42. 'RAM': [
  43. '.data',
  44. '.bss',
  45. ]
  46. }
  47. },
  48. }