使用管道符来作为find_func_def.py的输入
This commit is contained in:
180
find_func_def.py
180
find_func_def.py
@@ -806,180 +806,10 @@ def find_type(path:str,fix:str):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# with open("build/build_log.log",mode="r",encoding="utf-8") as f:
|
||||||
|
# _out_text=f.readlines()
|
||||||
|
|
||||||
_out_text='''
|
_out_text=sys.stdin.readlines()
|
||||||
.output/plc/sbl/obj/src/common.o: In function `do_help':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_cmp'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `find_cmd':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `iot_strcmp'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_param_generate':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_param_get_value':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:243: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_param_set_value':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:255: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:257: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:252: undefined reference to `iot_strlen'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:259: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:264: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_param_load':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:493: undefined reference to `flash_get_dev_base'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:490: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:285: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:287: undefined reference to `os_mem_set'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_param_save_list':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:300: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:309: undefined reference to `flash_write'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_mem_display':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:346: undefined reference to `os_mem_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:382: undefined reference to `os_mem_set'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `do_print':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:599: undefined reference to `iot_layout_get_index'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `run_boot_delay':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:780: undefined reference to `iot_strlen'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_main_loop':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1020: undefined reference to `iot_strlen'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `readline':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:835: undefined reference to `iot_strcpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_main_loop':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1024: undefined reference to `iot_strlen'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `readline':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:860: undefined reference to `iot_strcpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `run_command':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:983: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_get_start_part':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1067: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1075: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1086: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1093: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o:/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1103: more undefined references to `os_mem_cpy' follow
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `sbl_get_start_part':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1112: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1118: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1144: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1149: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1154: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1163: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1167: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1168: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1170: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1174: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1183: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1202: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1202: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1224: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1123: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1126: undefined reference to `os_mem_cpy'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `parse_param':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1229: undefined reference to `os_mem_cmp'
|
|
||||||
.output/plc/sbl/obj/src/common.o: In function `do_bootm':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:1248: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:676: undefined reference to `os_mem_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/common.c:683: undefined reference to `os_mem_cmp'
|
|
||||||
.output/plc/sbl/obj/src/boot.o: In function `display_banner':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/boot.c:41: undefined reference to `flash_get_dev_size'
|
|
||||||
.output/plc/sbl/obj/src/boot.o: In function `start_boot':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/boot.c:52: undefined reference to `iot_layout_init_index'
|
|
||||||
.output/plc/sbl/obj/src/sbl_printf.o: In function `sbl_uart_printf':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/sbl_printf.c:40: undefined reference to `uart_e_ctrl'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/sbl_printf.c:40: undefined reference to `uart_e_ctrl'
|
|
||||||
.output/plc/sbl/obj/src/sbl_printf.o: In function `sbl_fifo_flush':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/sbl_printf.c:33: undefined reference to `uart_e_ctrl'
|
|
||||||
.output/plc/sbl/obj/src/sbl_printf.o: In function `getc':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/sbl_printf.c:61: undefined reference to `uart_e_ctrl'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_boot_hw_init':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:106: undefined reference to `efuse_init'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:107: undefined reference to `efuse_get_ft_pass_flag'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_calib_code_load':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:70: undefined reference to `efuse_get_d_bg_vbg_cntl'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:71: undefined reference to `efuse_get_d_bg_iccal'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:72: undefined reference to `efuse_get_dcdc_trim'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:73: undefined reference to `efuse_get_flash_ldo_out_trim'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:74: undefined reference to `efuse_get_d_mdll_ldo_vref_trim'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:78: undefined reference to `ana_vbg_trim_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:79: undefined reference to `ana_iccal_trim_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:82: undefined reference to `ana_dcdc_vref_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:91: undefined reference to `ana_mdll_ldo_trim_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:94: undefined reference to `ana_ldo_trim_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:98: undefined reference to `ahb_emc_disable'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_boot_hw_init':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:110: undefined reference to `ahb_emc_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:111: undefined reference to `clk_system_clock_tree_config'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:114: undefined reference to `flash_init'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:119: undefined reference to `ahb_cache_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:130: undefined reference to `ahb_cache_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:131: undefined reference to `ahb_cache_fill_valid_space'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:132: undefined reference to `ahb_cache_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:138: undefined reference to `ahb_cache_set_buffer_mode'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:139: undefined reference to `ahb_cache_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:143: undefined reference to `ahb_cache_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:144: undefined reference to `ahb_cache_fill_valid_space'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:145: undefined reference to `ahb_cache_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:151: undefined reference to `ahb_cache_set_buffer_mode'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:152: undefined reference to `ahb_cache_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:156: undefined reference to `ahb_cache_set_buffer_mode'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:160: undefined reference to `ana_dcdc_vref_code_set'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_calib_code_load':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:86: undefined reference to `ana_dcdc_vref_code_set'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:86: undefined reference to `apb_wdg_enable'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_wdg_ena':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:171: undefined reference to `wdg_set_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:172: undefined reference to `wdg_set_timeout_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:178: undefined reference to `wdg_set_cpurst_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:179: undefined reference to `wdg_set_fullrst_cmp'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:179: undefined reference to `wdg_cnt_enable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:181: undefined reference to `wdg_enable'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_wdg_disable':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:183: undefined reference to `wdg_cnt_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:194: undefined reference to `wdg_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:195: undefined reference to `wdg_cnt_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:197: undefined reference to `wdg_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:198: undefined reference to `wdg_cnt_disable'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:200: undefined reference to `wdg_disable'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_scratch_reg_set':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:210: undefined reference to `scratch_p_set_wdg_reset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:211: undefined reference to `scratch_p_set_wdg_reset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:212: undefined reference to `scratch_p_get_wdg_reset'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_check_reset_by_wdg':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:225: undefined reference to `scratch_p_get_wdg_reset'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `get_fw_addr_info':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:339: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `image_check':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:293: undefined reference to `ahb_cache_clear'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:294: undefined reference to `os_mem_cpy'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:306: undefined reference to `iot_getcrc32'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `get_fw_addr_info':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:383: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:349: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_load_next_firmware':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:448: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:476: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:478: undefined reference to `iot_layout_get_part_offset'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:479: undefined reference to `iot_layout_get_part_size'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:480: undefined reference to `flash_addr_mapping'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:483: undefined reference to `os_mem_cmp'
|
|
||||||
.output/plc/sbl/obj/src/hw4/sbl_boot.o: In function `sbl_decompress_image':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:414: undefined reference to `iot_getcrc32'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/src/hw4/sbl_boot.c:421: undefined reference to `system_set_fw_boot_param'
|
|
||||||
.output/plc/sbl/obj/lzma/LzmaTools.o: In function `outputCallback':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:113: undefined reference to `ahb_cache_space_dis_for_flash_write'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:127: undefined reference to `flash_write'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:127: undefined reference to `ahb_cache_space_ena_for_flash_write'
|
|
||||||
.output/plc/sbl/obj/lzma/LzmaTools.o: In function `flash_erase_blocks':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:73: undefined reference to `ahb_cache_space_dis_for_flash_write'
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:77: undefined reference to `ahb_cache_space_ena_for_flash_write'
|
|
||||||
.output/plc/sbl/obj/lzma/LzmaTools.o: In function `Decode2':
|
|
||||||
/home/ran.chuan@htzd.com/work/kunlun/iotelic/kunlun/Mainline/sbl/lzma/LzmaTools.c:184: undefined reference to `flash_erase'
|
|
||||||
|
|
||||||
'''.split('\n')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -991,6 +821,7 @@ if __name__=="__main__":
|
|||||||
file_list=[]
|
file_list=[]
|
||||||
for item in sys.argv[1:]:
|
for item in sys.argv[1:]:
|
||||||
file_list+=find_type(item,'.c')
|
file_list+=find_type(item,'.c')
|
||||||
|
print(f"there is {len(file_list)} .c file.")
|
||||||
func_list=[]
|
func_list=[]
|
||||||
for item in _out_text:
|
for item in _out_text:
|
||||||
key_str='undefined reference to `'
|
key_str='undefined reference to `'
|
||||||
@@ -998,7 +829,8 @@ if __name__=="__main__":
|
|||||||
if(index<0):
|
if(index<0):
|
||||||
continue
|
continue
|
||||||
index+=len(key_str)
|
index+=len(key_str)
|
||||||
func=item[index:-1]
|
index_end=item[index:].find('\'')
|
||||||
|
func=item[index:index+index_end]
|
||||||
if not (func in func_list):
|
if not (func in func_list):
|
||||||
func_list.append(func)
|
func_list.append(func)
|
||||||
print(func_list)
|
print(func_list)
|
||||||
|
@@ -3,7 +3,7 @@ group("mfgtools") {
|
|||||||
# This will expand to the name "//tutorial:tutorial" which is the full name
|
# This will expand to the name "//tutorial:tutorial" which is the full name
|
||||||
# of our new target. Run "gn help labels" for more.
|
# of our new target. Run "gn help labels" for more.
|
||||||
# "//ah:aha",
|
# "//ah:aha",
|
||||||
"ah:aha"
|
"ah:ah"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
executable("aha") {
|
executable("ah") {
|
||||||
sources = [
|
sources = [
|
||||||
"add_header_v1.c",
|
"add_header_v1.c",
|
||||||
"../ram/src/crc.c",
|
"../ram/src/crc.c",
|
||||||
|
Reference in New Issue
Block a user