# Static Call Graph for image .\_build\ble_app_beacon.axf

#<CALLGRAPH># ARM Linker, 5060300: Last Updated: Sat May 20 11:46:08 2017

### Maximum Stack Usage = 320 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)

### Call chain for Maximum Stack Depth:

__rt_entry_main ⇒ main ⇒ advertising_init ⇒ ble_advdata_set ⇒ adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode

### Functions with no stack information

- __user_initial_stackheap

### Mutually Recursive functions

- NMI_Handler ⇒ NMI_Handler
- HardFault_Handler ⇒ HardFault_Handler
- SVC_Handler ⇒ SVC_Handler
- PendSV_Handler ⇒ PendSV_Handler
- SysTick_Handler ⇒ SysTick_Handler
- ADC_IRQHandler ⇒ ADC_IRQHandler

  ### Function Pointers

  - ADC_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - CCM_AAR_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - ECB_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - GPIOTE_IRQHandler from config.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - HardFault_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - LPCOMP_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - NMI_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - POWER_CLOCK_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - PendSV_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - QDEC_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - RADIO_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - RNG_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - RTC0_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - RTC1_IRQHandler from config.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - Reset_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SPI0_TWI0_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SPI1_TWI1_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SVC_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI0_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI1_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI2_IRQHandler from softdevice_handler.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI3_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI4_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SWI5_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SysTick_Handler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - SystemInit from system_nrf51.o(.text) referenced from arm_startup_nrf51.o(.text)
  - TEMP_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - TIMER0_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - TIMER1_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - TIMER2_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - UART0_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - WDT_IRQHandler from arm_startup_nrf51.o(.text) referenced from arm_startup_nrf51.o(RESET)
  - __main from __main.o(!!!main) referenced from arm_startup_nrf51.o(.text)
  - ble_evt_dispatch from main.o(.text) referenced from main.o(.text)
  - softdevice_assertion_handler from softdevice_handler.o(.text) referenced from softdevice_handler.o(.text)

  ### Global Symbols

  __main (Thumb, 8 bytes, Stack size 0 bytes, __main.o(!!!main))
  [Calls]

  - >> __rt_entry
  - >> __scatterload

  __scatterload (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter))
  [Called By]

  - >> __main

  __scatterload_rt2 (Thumb, 52 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)
  [Calls]

  - >> __rt_entry

  __scatterload_rt2_thumb_only (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

  __scatterload_null (Thumb, 0 bytes, Stack size unknown bytes, __scatter.o(!!!scatter), UNUSED)

  __scatterload_copy (Thumb, 26 bytes, Stack size unknown bytes, __scatter_copy.o(!!handler_copy), UNUSED)
  [Calls]

  - >> __scatterload_copy
  [Called By]
  - >> __scatterload_copy

  __scatterload_zeroinit (Thumb, 28 bytes, Stack size unknown bytes, __scatter_zi.o(!!handler_zi), UNUSED)

  __rt_lib_init (Thumb, 0 bytes, Stack size unknown bytes, libinit.o(.ARM.Collect$$libinit$$00000000))
  [Called By]

  - >> __rt_entry_li

  __rt_lib_init_alloca_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002E))

  __rt_lib_init_argv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000002C))

  __rt_lib_init_atexit_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001B))

  __rt_lib_init_clock_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000021))

  __rt_lib_init_cpp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000032))

  __rt_lib_init_exceptions_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000030))

  __rt_lib_init_fp_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000002))

  __rt_lib_init_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001F))

  __rt_lib_init_getenv_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000023))

  __rt_lib_init_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000A))

  __rt_lib_init_lc_collate_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000011))

  __rt_lib_init_lc_ctype_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000013))

  __rt_lib_init_lc_monetary_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000015))

  __rt_lib_init_lc_numeric_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000017))

  __rt_lib_init_lc_time_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000019))

  __rt_lib_init_preinit_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000004))

  __rt_lib_init_rand_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000E))

  __rt_lib_init_return (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000033))

  __rt_lib_init_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000001D))

  __rt_lib_init_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$00000025))

  __rt_lib_init_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libinit2.o(.ARM.Collect$$libinit$$0000000C))

  __rt_lib_shutdown (Thumb, 0 bytes, Stack size unknown bytes, libshutdown.o(.ARM.Collect$$libshutdown$$00000000))
  [Called By]

  - >> __rt_exit_ls

  __rt_lib_shutdown_cpp_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000002))

  __rt_lib_shutdown_fp_trap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000007))

  __rt_lib_shutdown_heap_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000F))

  __rt_lib_shutdown_return (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000010))

  __rt_lib_shutdown_signal_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000A))

  __rt_lib_shutdown_stdio_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$00000004))

  __rt_lib_shutdown_user_alloc_1 (Thumb, 0 bytes, Stack size unknown bytes, libshutdown2.o(.ARM.Collect$$libshutdown$$0000000C))

  __rt_entry (Thumb, 0 bytes, Stack size unknown bytes, __rtentry.o(.ARM.Collect$$rtentry$$00000000))
  [Called By]

  - >> __main
  - >> __scatterload_rt2

  __rt_entry_presh_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$00000002))

  __rt_entry_sh (Thumb, 0 bytes, Stack size unknown bytes, __rtentry4.o(.ARM.Collect$$rtentry$$00000004))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = __rt_entry_sh ⇒ __user_setup_stackheap
  [Calls]
  - >> __user_setup_stackheap

  __rt_entry_li (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000A))
  [Calls]

  - >> __rt_lib_init

  __rt_entry_postsh_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$00000009))

  __rt_entry_main (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000D))
  [Stack]

  - Max Depth = 320 + Unknown Stack Size
  - Call Chain = __rt_entry_main ⇒ main ⇒ advertising_init ⇒ ble_advdata_set ⇒ adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> exit
  - >> main

  __rt_entry_postli_1 (Thumb, 0 bytes, Stack size unknown bytes, __rtentry2.o(.ARM.Collect$$rtentry$$0000000C))

  __rt_exit (Thumb, 0 bytes, Stack size unknown bytes, rtexit.o(.ARM.Collect$$rtexit$$00000000))
  [Called By]

  - >> exit

  __rt_exit_ls (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000003))
  [Calls]

  - >> __rt_lib_shutdown

  __rt_exit_prels_1 (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000002))

  __rt_exit_exit (Thumb, 0 bytes, Stack size unknown bytes, rtexit2.o(.ARM.Collect$$rtexit$$00000004))
  [Calls]

  - >> _sys_exit

  __aeabi_memcpy4 (Thumb, 56 bytes, Stack size 0 bytes, rt_memcpy.o(.emb_text))
  [Called By]

  - >> __aeabi_memcpy

  __aeabi_memcpy8 (Thumb, 0 bytes, Stack size 0 bytes, rt_memcpy.o(.emb_text), UNUSED)

  app_error_handler (Thumb, 48 bytes, Stack size 0 bytes, main.o(.text))
  [Called By]

  - >> SWI2_IRQHandler
  - >> intern_softdevice_events_execute
  - >> main
  - >> assert_nrf_callback
  - >> ble_stack_init
  - >> advertising_start
  - >> advertising_init

  assert_nrf_callback (Thumb, 14 bytes, Stack size 0 bytes, main.o(.text))
  [Calls]

  - >> app_error_handler
  [Called By]
  - >> softdevice_assertion_handler

  main (Thumb, 78 bytes, Stack size 0 bytes, main.o(.text))
  [Stack]

  - Max Depth = 320
  - Call Chain = main ⇒ advertising_init ⇒ ble_advdata_set ⇒ adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> spi_init
  - >> softdevice_handler_sd_disable
  - >> gpio_config
  - >> adxl_config
  - >> app_error_handler
  - >> ble_stack_init
  - >> advertising_start
  - >> advertising_init
  [Called By]
  - >> __rt_entry_main

  wait_ms (Thumb, 16 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> adxl_config

  gpio_config (Thumb, 76 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = gpio_config ⇒ nrf_gpio_cfg_input
  [Calls]
  - >> nrf_gpio_cfg_input
  - >> NVIC_EnableIRQ
  - >> rtc_start
  [Called By]
  - >> main

  gpio_config_deep_sleep (Thumb, 32 bytes, Stack size 8 bytes, config.o(.text), UNUSED)
  [Calls]

  - >> nrf_gpio_cfg_input

  spi_init (Thumb, 84 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = spi_init ⇒ nrf_gpio_cfg_input
  [Calls]
  - >> nrf_gpio_pin_set
  - >> nrf_gpio_cfg_input
  - >> nrf_gpio_cfg_output
  - >> rtc_start
  [Called By]
  - >> main

  spi_write_byte (Thumb, 30 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> spi_read
  - >> spi_send

  spi_send (Thumb, 42 bytes, Stack size 16 bytes, config.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = spi_send
  [Calls]
  - >> spi_write_byte
  - >> nrf_gpio_pin_clear
  - >> nrf_gpio_pin_set
  [Called By]
  - >> adxl_config

  spi_read (Thumb, 44 bytes, Stack size 16 bytes, config.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = spi_read
  [Calls]
  - >> spi_write_byte
  - >> nrf_gpio_pin_clear
  - >> nrf_gpio_pin_set
  [Called By]
  - >> adxl_config

  adxl_config (Thumb, 132 bytes, Stack size 40 bytes, config.o(.text))
  [Stack]

  - Max Depth = 56
  - Call Chain = adxl_config ⇒ spi_read
  [Calls]
  - >> spi_read
  - >> spi_send
  - >> wait_ms
  - >> rtc_start
  [Called By]
  - >> main

  RTC1_IRQHandler (Thumb, 22 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = RTC1_IRQHandler
  [Calls]
  - >> NVIC_SystemReset
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  GPIOTE_IRQHandler (Thumb, 22 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = GPIOTE_IRQHandler
  [Calls]
  - >> NVIC_SystemReset
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  ble_advdata_set (Thumb, 122 bytes, Stack size 104 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 232
  - Call Chain = ble_advdata_set ⇒ adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> srdata_check
  - >> advdata_check
  - >> adv_data_encode
  [Called By]
  - >> advertising_init

  softdevice_assertion_handler (Thumb, 18 bytes, Stack size 16 bytes, softdevice_handler.o(.text))
  [Stack]

  - Max Depth = 16
  - Call Chain = softdevice_assertion_handler
  [Calls]
  - >> assert_nrf_callback
  [Address Reference Count : 1]
  - softdevice_handler.o(.text)

  intern_softdevice_events_execute (Thumb, 168 bytes, Stack size 24 bytes, softdevice_handler.o(.text))
  [Stack]

  - Max Depth = 24
  - Call Chain = intern_softdevice_events_execute
  [Calls]
  - >> app_error_handler
  [Called By]
  - >> SWI2_IRQHandler

  softdevice_handler_init (Thumb, 84 bytes, Stack size 40 bytes, softdevice_handler.o(.text))
  [Stack]

  - Max Depth = 40
  - Call Chain = softdevice_handler_init
  [Called By]
  - >> ble_stack_init

  softdevice_handler_sd_disable (Thumb, 24 bytes, Stack size 8 bytes, softdevice_handler.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = softdevice_handler_sd_disable
  [Called By]
  - >> main

  softdevice_ble_evt_handler_set (Thumb, 18 bytes, Stack size 0 bytes, softdevice_handler.o(.text))
  [Called By]

  - >> ble_stack_init

  softdevice_sys_evt_handler_set (Thumb, 18 bytes, Stack size 0 bytes, softdevice_handler.o(.text), UNUSED)

  SWI2_IRQHandler (Thumb, 52 bytes, Stack size 16 bytes, softdevice_handler.o(.text))
  [Stack]

  - Max Depth = 40
  - Call Chain = SWI2_IRQHandler ⇒ intern_softdevice_events_execute
  [Calls]
  - >> intern_softdevice_events_execute
  - >> app_error_handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  Reset_Handler (Thumb, 26 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  NMI_Handler (Thumb, 2 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> NMI_Handler
  [Called By]
  - >> NMI_Handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  HardFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> HardFault_Handler
  [Called By]
  - >> HardFault_Handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> SVC_Handler
  [Called By]
  - >> SVC_Handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> PendSV_Handler
  [Called By]
  - >> PendSV_Handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  SysTick_Handler (Thumb, 2 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> SysTick_Handler
  [Called By]
  - >> SysTick_Handler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  ADC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Calls]

  - >> ADC_IRQHandler
  [Called By]
  - >> ADC_IRQHandler
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(RESET)

  CCM_AAR_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  ECB_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  LPCOMP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  POWER_CLOCK_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  QDEC_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  RADIO_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  RNG_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  RTC0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SPI0_TWI0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SPI1_TWI1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SWI0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SWI1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SWI3_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SWI4_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  SWI5_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  TEMP_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  TIMER0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  TIMER1_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  TIMER2_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  UART0_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  WDT_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, arm_startup_nrf51.o(.text))
  [Address Reference Count : 1]

  - arm_startup_nrf51.o(RESET)

  __user_initial_stackheap (Thumb, 0 bytes, Stack size unknown bytes, arm_startup_nrf51.o(.text))
  [Called By]

  - >> __user_setup_stackheap

  SystemCoreClockUpdate (Thumb, 8 bytes, Stack size 0 bytes, system_nrf51.o(.text), UNUSED)

  SystemInit (Thumb, 38 bytes, Stack size 8 bytes, system_nrf51.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = SystemInit
  [Calls]
  - >> is_manual_peripheral_setup_needed
  - >> is_disabled_in_debug_needed
  [Address Reference Count : 1]
  - arm_startup_nrf51.o(.text)

  __aeabi_memcpy (Thumb, 130 bytes, Stack size 24 bytes, rt_memcpy.o(.text))
  [Stack]

  - Max Depth = 24
  - Call Chain = __aeabi_memcpy
  [Calls]
  - >> __aeabi_memcpy4
  [Called By]
  - >> service_data_encode
  - >> manuf_specific_data_encode
  - >> uint8_array_encode

  __rt_memcpy (Thumb, 0 bytes, Stack size 24 bytes, rt_memcpy.o(.text), UNUSED)

  _memset_w (Thumb, 26 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)
  [Called By]

  - >> __rt_memclr_w
  - >> _memset

  _memset (Thumb, 30 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)
  [Calls]

  - >> _memset_w
  [Called By]
  - >> __aeabi_memclr

  __aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)
  [Calls]

  - >> _memset

  __rt_memclr (Thumb, 0 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)

  __aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, rt_memclr.o(.text))
  [Called By]

  - >> advertising_init

  __aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)

  __rt_memclr_w (Thumb, 4 bytes, Stack size 0 bytes, rt_memclr.o(.text), UNUSED)
  [Calls]

  - >> _memset_w

  __use_two_region_memory (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __rt_heap_escrow$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __rt_heap_expand$2region (Thumb, 2 bytes, Stack size 0 bytes, heapauxi.o(.text), UNUSED)

  __user_setup_stackheap (Thumb, 62 bytes, Stack size 8 bytes, sys_stackheap_outer.o(.text))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = __user_setup_stackheap
  [Calls]
  - >> __user_perproc_libspace
  - >> __user_initial_stackheap
  [Called By]
  - >> __rt_entry_sh

  exit (Thumb, 16 bytes, Stack size 8 bytes, exit.o(.text))
  [Stack]

  - Max Depth = 8 + Unknown Stack Size
  - Call Chain = exit
  [Calls]
  - >> __rt_exit
  - >> _call_atexit_fns (Weak Reference)
  [Called By]
  - >> __rt_entry_main

  __user_libspace (Thumb, 8 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

  __user_perproc_libspace (Thumb, 0 bytes, Stack size 0 bytes, libspace.o(.text))
  [Called By]

  - >> __user_setup_stackheap

  __user_perthread_libspace (Thumb, 0 bytes, Stack size 0 bytes, libspace.o(.text), UNUSED)

  _sys_exit (Thumb, 8 bytes, Stack size 0 bytes, sys_exit.o(.text))
  [Called By]

  - >> __rt_exit_exit

  __I$use$semihosting (Thumb, 0 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

  __use_no_semihosting_swi (Thumb, 2 bytes, Stack size 0 bytes, use_no_semi.o(.text), UNUSED)

  __semihosting_library_function (Thumb, 0 bytes, Stack size unknown bytes, indicate_semi.o(.text), UNUSED)

  ### Local Symbols

  advertising_init (Thumb, 122 bytes, Stack size 88 bytes, main.o(.text))
  [Stack]

  - Max Depth = 320
  - Call Chain = advertising_init ⇒ ble_advdata_set ⇒ adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> __aeabi_memclr4
  - >> ble_advdata_set
  - >> app_error_handler
  [Called By]
  - >> main

  advertising_start (Thumb, 64 bytes, Stack size 8 bytes, main.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = advertising_start
  [Calls]
  - >> app_error_handler
  [Called By]
  - >> main

  on_ble_evt (Thumb, 24 bytes, Stack size 0 bytes, main.o(.text))
  [Called By]

  - >> ble_evt_dispatch

  ble_evt_dispatch (Thumb, 12 bytes, Stack size 8 bytes, main.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = ble_evt_dispatch
  [Calls]
  - >> on_ble_evt
  [Address Reference Count : 1]
  - main.o(.text)

  ble_stack_init (Thumb, 136 bytes, Stack size 16 bytes, main.o(.text))
  [Stack]

  - Max Depth = 56
  - Call Chain = ble_stack_init ⇒ softdevice_handler_init
  [Calls]
  - >> softdevice_handler_init
  - >> softdevice_ble_evt_handler_set
  - >> app_error_handler
  [Called By]
  - >> main

  NVIC_SystemReset (Thumb, 44 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> GPIOTE_IRQHandler
  - >> RTC1_IRQHandler

  rtc_start (Thumb, 66 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = rtc_start
  [Calls]
  - >> NVIC_EnableIRQ
  [Called By]
  - >> spi_init
  - >> gpio_config
  - >> adxl_config

  NVIC_EnableIRQ (Thumb, 18 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> rtc_start
  - >> gpio_config

  nrf_gpio_cfg_output (Thumb, 18 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> spi_init

  nrf_gpio_cfg_input (Thumb, 20 bytes, Stack size 8 bytes, config.o(.text))
  [Stack]

  - Max Depth = 8
  - Call Chain = nrf_gpio_cfg_input
  [Called By]
  - >> gpio_config_deep_sleep
  - >> spi_init
  - >> gpio_config

  nrf_gpio_pin_set (Thumb, 10 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> spi_read
  - >> spi_send
  - >> spi_init

  nrf_gpio_pin_clear (Thumb, 10 bytes, Stack size 0 bytes, config.o(.text))
  [Called By]

  - >> spi_read
  - >> spi_send

  name_encode (Thumb, 150 bytes, Stack size 48 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 48
  - Call Chain = name_encode
  [Called By]
  - >> adv_data_encode

  appearance_encode (Thumb, 74 bytes, Stack size 24 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 24
  - Call Chain = appearance_encode
  [Calls]
  - >> uint16_encode
  [Called By]
  - >> adv_data_encode

  uint8_array_encode (Thumb, 82 bytes, Stack size 24 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 48
  - Call Chain = uint8_array_encode ⇒ __aeabi_memcpy
  [Calls]
  - >> __aeabi_memcpy
  [Called By]
  - >> adv_data_encode

  tx_power_level_encode (Thumb, 48 bytes, Stack size 12 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 12
  - Call Chain = tx_power_level_encode
  [Called By]
  - >> adv_data_encode

  uuid_list_sized_encode (Thumb, 196 bytes, Stack size 64 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 64
  - Call Chain = uuid_list_sized_encode
  [Called By]
  - >> uuid_list_encode

  uuid_list_encode (Thumb, 64 bytes, Stack size 40 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 104
  - Call Chain = uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> uuid_list_sized_encode
  [Called By]
  - >> adv_data_encode

  conn_int_check (Thumb, 88 bytes, Stack size 0 bytes, ble_advdata.o(.text))
  [Called By]

  - >> conn_int_encode

  conn_int_encode (Thumb, 92 bytes, Stack size 24 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 24
  - Call Chain = conn_int_encode
  [Calls]
  - >> uint16_encode
  - >> conn_int_check
  [Called By]
  - >> adv_data_encode

  manuf_specific_data_encode (Thumb, 106 bytes, Stack size 24 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 48
  - Call Chain = manuf_specific_data_encode ⇒ __aeabi_memcpy
  [Calls]
  - >> __aeabi_memcpy
  - >> uint16_encode
  [Called By]
  - >> adv_data_encode

  service_data_encode (Thumb, 140 bytes, Stack size 32 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 56
  - Call Chain = service_data_encode ⇒ __aeabi_memcpy
  [Calls]
  - >> __aeabi_memcpy
  - >> uint16_encode
  [Called By]
  - >> adv_data_encode

  adv_data_encode (Thumb, 302 bytes, Stack size 24 bytes, ble_advdata.o(.text))
  [Stack]

  - Max Depth = 128
  - Call Chain = adv_data_encode ⇒ uuid_list_encode ⇒ uuid_list_sized_encode
  [Calls]
  - >> service_data_encode
  - >> manuf_specific_data_encode
  - >> conn_int_encode
  - >> uuid_list_encode
  - >> tx_power_level_encode
  - >> uint8_array_encode
  - >> appearance_encode
  - >> name_encode
  [Called By]
  - >> ble_advdata_set

  advdata_check (Thumb, 34 bytes, Stack size 0 bytes, ble_advdata.o(.text))
  [Called By]

  - >> ble_advdata_set

  srdata_check (Thumb, 16 bytes, Stack size 0 bytes, ble_advdata.o(.text))
  [Called By]

  - >> ble_advdata_set

  uint16_encode (Thumb, 18 bytes, Stack size 0 bytes, ble_advdata.o(.text))
  [Called By]

  - >> service_data_encode
  - >> manuf_specific_data_encode
  - >> conn_int_encode
  - >> appearance_encode

  is_disabled_in_debug_needed (Thumb, 52 bytes, Stack size 0 bytes, system_nrf51.o(.text))
  [Called By]

  - >> SystemInit

  is_manual_peripheral_setup_needed (Thumb, 104 bytes, Stack size 0 bytes, system_nrf51.o(.text))
  [Called By]

  - >> SystemInit

  ### Undefined Global Symbols

  _call_atexit_fns (ARM, 0 bytes, Stack size 0 bytes, UNDEFINED)
  [Called By]

  - >> exit