esp32.cfg 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 Espressif ESP32.
  15. {
  16. 'section': {
  17. # By default, only these sections will be included
  18. # when operating by sections.
  19. 'default': ['.flash.text', '.flash.rodata', '.dram0.bss', '.dram0.data', '.iram0.text']
  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. # 'end': [],
  29. }
  30. },
  31. 'region': {
  32. # Regions are sets of sections that can be used for aggregate reports.
  33. 'sections': {
  34. 'FLASH': [
  35. '.flash.rodata',
  36. '.flash.text',
  37. ],
  38. 'IRAM': [
  39. '.iram0.text',
  40. '.iram0.vectors',
  41. ],
  42. 'DRAM': [
  43. '.dram0.bss',
  44. '.dram0.data',
  45. ],
  46. }
  47. },
  48. 'collect': {
  49. # Strip these prefixes from compilation unit paths.
  50. # 'prefix': [],
  51. },
  52. }