nrfconnect.cfg 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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 Nordic nRF Connect.
  15. {
  16. 'section': {
  17. # By default, only these sections will be included
  18. # when operating by sections.
  19. 'default': ['text', 'rodata', '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': ['__kernel_ram_start'],
  28. 'end': ['_image_rom_end'],
  29. }
  30. },
  31. 'region': {
  32. # Regions are sets of sections that can be used for aggregate reports.
  33. 'sections': {
  34. 'FLASH': [
  35. "text",
  36. "rodata",
  37. "ctors",
  38. ".ARM.exidx",
  39. "bt_gatt_service_static_area",
  40. "bt_l2cap_fixed_chan_area",
  41. "init_array",
  42. "initlevel",
  43. "log_const_sections",
  44. "rom_start",
  45. "settings_handler_static_area",
  46. "shell_area",
  47. "shell_root_cmds_sections",
  48. ],
  49. 'RAM': [
  50. "bss",
  51. "datas",
  52. "devices",
  53. "k_heap_area",
  54. "k_mem_slab_area",
  55. "k_msgq_area",
  56. "k_mutex_area",
  57. "k_queue_area",
  58. "k_sem_area",
  59. "k_timer_area",
  60. "_net_buf_pool_area",
  61. "net_if_area",
  62. "net_if_dev_area",
  63. "net_l2_area",
  64. "noinit",
  65. "sw_isr_table",
  66. ]
  67. }
  68. },
  69. }