Static Call Graph for image .\output\SD_card_showfile.axf



#<CALLGRAPH># ARM Linker, 5060422: Last Updated: Wed Jun 24 13:17:15 2020

Maximum Stack Usage = 800 bytes + Unknown(Cycles, Untraceable Function Pointers)

Call chain for Maximum Stack Depth:

main ⇒ create_file_list ⇒ file_extract_directory ⇒ file_extract_file

Mutually Recursive functions

  • NMI_Handler   ⇒   NMI_Handler
  • SVC_Handler   ⇒   SVC_Handler
  • PendSV_Handler   ⇒   PendSV_Handler
  • n00_WDG_IRQHandler   ⇒   n00_WDG_IRQHandler

    Function Pointers

    Global Symbols

    __main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
    [Address Reference Count : 1]

    _main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))

    _main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

    [Calls]

    __main_after_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))

    [Called By]

    _main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))

    _main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))

    _main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))

    __rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D))

    __rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))

    HardFault_Handler (Thumb, 24 bytes, Stack size 0 bytes, hardfaulthandler.o(.emb_text))
    [Address Reference Count : 1]

    Reset_Handler (Thumb, 10 bytes, Stack size 0 bytes, startup_as32m0.o(.text))

    NMI_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_as32m0.o(.text))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_as32m0.o(.text))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, startup_as32m0.o(.text))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

    n00_WDG_IRQHandler (Thumb, 0 bytes, Stack size 0 bytes, startup_as32m0.o(.text))

    [Calls]


    [Called By]
    [Address Reference Count : 1]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    __aeabi_uidiv (Thumb, 0 bytes, Stack size 12 bytes, uidiv.o(.text), UNUSED)

    __aeabi_uidivmod (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text))

    [Stack]


    [Called By]

    __aeabi_memcpy (Thumb, 36 bytes, Stack size 0 bytes, memcpya.o(.text), UNUSED)

    __aeabi_memcpy4 (Thumb, 0 bytes, Stack size 0 bytes, memcpya.o(.text))

    [Called By]

    __aeabi_memcpy8 (Thumb, 0 bytes, Stack size 0 bytes, memcpya.o(.text), UNUSED)

    __aeabi_memset (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

    [Called By]

    __aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

    __aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

    __aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)

    [Calls]

    __aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text))

    [Called By]

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

    _memset$wrapper (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)

    [Calls]

    __aeabi_uldivmod (Thumb, 96 bytes, Stack size 48 bytes, uldiv.o(.text), UNUSED)

    [Calls]


    [Called By]

    __aeabi_llsl (Thumb, 32 bytes, Stack size 8 bytes, llshl.o(.text), UNUSED)

    [Called By]

    _ll_shift_l (Thumb, 0 bytes, Stack size 8 bytes, llshl.o(.text), UNUSED)

    __scatterload (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))

    [Calls]


    [Called By]

    __scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)

    __aeabi_llsr (Thumb, 34 bytes, Stack size 8 bytes, llushr.o(.text), UNUSED)

    [Called By]

    _ll_ushift_r (Thumb, 0 bytes, Stack size 8 bytes, llushr.o(.text), UNUSED)

    initial_MCU007 (Thumb, 8 bytes, Stack size 0 bytes, initial_mcu007.o(INITIAL_CODE))

    DMA_Disable (Thumb, 14 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_Disable))

    [Called By]

    DMA_Enable (Thumb, 14 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_Enable))

    [Called By]

    DMA_Enable_Sync (Thumb, 16 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_Enable_Sync))

    [Called By]

    DMA_GetActiveChannels (Thumb, 8 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_GetActiveChannels))

    [Called By]

    DMA_LittleEndian (Thumb, 36 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_LittleEndian))

    [Called By]

    DMA_SetChConfig (Thumb, 50 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_SetChConfig))

    [Called By]

    DMA_SetChControl (Thumb, 68 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_SetChControl))

    [Called By]

    DMA_SetChLLI (Thumb, 14 bytes, Stack size 0 bytes, as32m0_dma.o(i.DMA_SetChLLI))

    [Called By]

    DMA_SetChannelReg (Thumb, 70 bytes, Stack size 36 bytes, as32m0_dma.o(i.DMA_SetChannelReg))

    [Stack]


    [Calls]
    [Called By]

    File_Check_Sector (Thumb, 30 bytes, Stack size 0 bytes, sd_card_showfile.o(i.File_Check_Sector))

    [Called By]

    PinCtrl_GIOSet (Thumb, 68 bytes, Stack size 16 bytes, as32m0_pinctrl.o(i.PinCtrl_GIOSet))

    [Stack]


    [Called By]

    SD_spi_command (Thumb, 362 bytes, Stack size 56 bytes, test_sd_card.o(i.SD_spi_command))

    [Stack]


    [Calls]
    [Called By]

    SD_spi_getdata (Thumb, 42 bytes, Stack size 8 bytes, test_sd_card.o(i.SD_spi_getdata))

    [Stack]


    [Calls]
    [Called By]

    SD_spi_read_command (Thumb, 340 bytes, Stack size 48 bytes, test_sd_card.o(i.SD_spi_read_command))

    [Stack]


    [Calls]
    [Called By]

    SD_spi_read_single_blk (Thumb, 224 bytes, Stack size 32 bytes, test_sd_card.o(i.SD_spi_read_single_blk))

    [Stack]


    [Calls]
    [Called By]

    SD_spi_send_byte (Thumb, 38 bytes, Stack size 8 bytes, test_sd_card.o(i.SD_spi_send_byte))

    [Stack]


    [Calls]
    [Called By]

    SER_PutChar (Thumb, 16 bytes, Stack size 8 bytes, printf_config.o(i.SER_PutChar))

    [Stack]


    [Calls]
    [Called By]

    SYSCTRL_ClrReset_APB_PinCtrl (Thumb, 8 bytes, Stack size 0 bytes, as32m0_sysctrl.o(i.SYSCTRL_ClrReset_APB_PinCtrl))

    [Called By]

    SYSCTRL_ClrReset_APB_SCI0 (Thumb, 10 bytes, Stack size 0 bytes, as32m0_sysctrl.o(i.SYSCTRL_ClrReset_APB_SCI0))

    [Called By]

    SysTick_Handler (Thumb, 12 bytes, Stack size 0 bytes, as32m0_systick.o(i.SysTick_Handler))
    [Address Reference Count : 1]

    UART_SendData (Thumb, 4 bytes, Stack size 0 bytes, as32m0_uart.o(i.UART_SendData))

    [Called By]

    __0printf$5 (Thumb, 24 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5), UNUSED)

    [Calls]

    __1printf$5 (Thumb, 0 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5), UNUSED)

    __2printf (Thumb, 0 bytes, Stack size 24 bytes, printf5.o(i.__0printf$5))

    [Stack]


    [Called By]

    __ARM_common_switch8 (Thumb, 28 bytes, Stack size 8 bytes, as32m0_dma.o(i.__ARM_common_switch8))

    [Stack]


    [Called By]

    __scatterload_copy (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)

    __scatterload_null (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)

    __scatterload_zeroinit (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)

    _sys_exit (Thumb, 4 bytes, Stack size 0 bytes, retarget.o(i._sys_exit))

    [Called By]

    apSSP_DMAAddressGet (Thumb, 8 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DMAAddressGet))

    [Called By]

    apSSP_DMAModeSet (Thumb, 62 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DMAModeSet))

    [Called By]

    apSSP_DeviceBusyGet (Thumb, 10 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DeviceBusyGet))

    [Called By]

    apSSP_DeviceDisable (Thumb, 10 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DeviceDisable))

    [Called By]

    apSSP_DeviceEnable (Thumb, 10 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DeviceEnable))

    [Called By]

    apSSP_DeviceParametersSet (Thumb, 50 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_DeviceParametersSet))

    [Called By]

    apSSP_DeviceReceiveClear (Thumb, 22 bytes, Stack size 8 bytes, as32m0_ssp.o(i.apSSP_DeviceReceiveClear))

    [Stack]


    [Called By]

    apSSP_Initialize (Thumb, 12 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_Initialize))

    [Called By]

    apSSP_ReadFIFO (Thumb, 8 bytes, Stack size 0 bytes, as32m0_ssp.o(i.apSSP_ReadFIFO))

    [Called By]

    apUART_BaudRateSet (Thumb, 58 bytes, Stack size 40 bytes, as32m0_uart.o(i.apUART_BaudRateSet))

    [Stack]


    [Calls]
    [Called By]

    apUART_Check_BUSY (Thumb, 10 bytes, Stack size 0 bytes, as32m0_uart.o(i.apUART_Check_BUSY))

    [Called By]

    apUART_Check_RXFIFO_EMPTY (Thumb, 10 bytes, Stack size 0 bytes, as32m0_uart.o(i.apUART_Check_RXFIFO_EMPTY))

    [Called By]

    apUART_Check_TXFIFO_FULL (Thumb, 10 bytes, Stack size 0 bytes, as32m0_uart.o(i.apUART_Check_TXFIFO_FULL))

    [Called By]

    apUART_Initialize (Thumb, 116 bytes, Stack size 16 bytes, as32m0_uart.o(i.apUART_Initialize))

    [Stack]


    [Calls]
    [Called By]

    config_uart0 (Thumb, 198 bytes, Stack size 48 bytes, printf_config.o(i.config_uart0))

    [Stack]


    [Calls]
    [Called By]

    crc7_mmc (Thumb, 64 bytes, Stack size 12 bytes, test_sd_card.o(i.crc7_mmc))

    [Stack]


    [Called By]

    create_file_list (Thumb, 106 bytes, Stack size 56 bytes, sd_card_showfile.o(i.create_file_list))

    [Stack]


    [Calls]
    [Called By]

    delay (Thumb, 12 bytes, Stack size 0 bytes, test_sd_card.o(i.delay))

    [Called By]

    file_extract_FAT32 (Thumb, 190 bytes, Stack size 48 bytes, test_file_system.o(i.file_extract_FAT32))

    [Stack]


    [Calls]
    [Called By]

    file_extract_checkfile (Thumb, 34 bytes, Stack size 0 bytes, test_file_system.o(i.file_extract_checkfile))

    [Called By]

    file_extract_directory (Thumb, 124 bytes, Stack size 80 bytes, test_file_system.o(i.file_extract_directory))

    [Stack]


    [Calls]
    [Called By]

    file_extract_file (Thumb, 210 bytes, Stack size 80 bytes, test_file_system.o(i.file_extract_file))

    [Stack]


    [Calls]
    [Called By]

    file_extract_parttition_table (Thumb, 186 bytes, Stack size 16 bytes, test_file_system.o(i.file_extract_parttition_table))

    [Stack]


    [Calls]
    [Called By]

    fputc (Thumb, 24 bytes, Stack size 16 bytes, retarget.o(i.fputc))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    hardfault_handler_c (Thumb, 108 bytes, Stack size 16 bytes, hardfaulthandler.o(i.hardfault_handler_c))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    init_SD_card_PowerUp (Thumb, 120 bytes, Stack size 16 bytes, test_sd_card.o(i.init_SD_card_PowerUp))

    [Stack]


    [Calls]
    [Called By]

    init_SD_card_spi_dma (Thumb, 458 bytes, Stack size 8 bytes, test_sd_card.o(i.init_SD_card_spi_dma))

    [Stack]


    [Calls]
    [Called By]

    init_SPI (Thumb, 44 bytes, Stack size 16 bytes, sd_card_showfile.o(i.init_SPI))

    [Stack]


    [Calls]
    [Called By]

    init_dma_spi (Thumb, 172 bytes, Stack size 8 bytes, sd_card_showfile.o(i.init_dma_spi))

    [Stack]


    [Calls]
    [Called By]

    main (Thumb, 214 bytes, Stack size 584 bytes, sd_card_showfile.o(i.main))

    [Stack]


    [Calls]
    [Address Reference Count : 1]

    sendchar (Thumb, 28 bytes, Stack size 16 bytes, printf_config.o(i.sendchar))

    [Stack]


    [Calls]
    [Called By]

    show_file_list (Thumb, 32 bytes, Stack size 16 bytes, test_file_system.o(i.show_file_list))

    [Stack]


    [Calls]
    [Called By]

    ssp_config (Thumb, 48 bytes, Stack size 24 bytes, as32m0_ssp.o(i.ssp_config))

    [Stack]


    [Calls]
    [Called By]

    Local Symbols

    _printf_core (Thumb, 688 bytes, Stack size 96 bytes, printf5.o(i._printf_core), UNUSED)

    [Calls]


    [Called By]

    Undefined Global Symbols