This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

函数调用报错 first referenced 。。。。。。.obj

引用 这个prvvUARTxReadyISR()和prvvUARTRxISR()就会报错  我已经尝试将文件夹都加入头文件和库文件了还是有问题  函数本体如下图

函数声明如下图

希望可以帮忙解决下  谢谢

  • 如果把这两个函数不调用就没有报错
  • 自己顶一顶
  • 能否给出 build log?有可能是因为您的main.c被编译了而portserial.c没有被编译
    E2E上有很多这样的问题,您可以先看一下
    e2e.ti.com/.../582767
  • rademe.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    **** Build of configuration Debug for project Example_28035 ****
    "D:\\software\\CCS6_2\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: D:/software/CCS6_2/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_DefaultIsr.c'
    'Invoking: C2000 Compiler'
    "D:/software/CCS6_2/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --preinclude="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/port/port.h" --include_path="E:/CCS_Workspace/Example_28035/app_layer/includes" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/port" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/modbus/ascii" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/modbus/functions" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/modbus/include" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/modbus/rtu" --include_path="E:/CCS_Workspace/Example_28035/Extended_module/Freemodbus/modbus/tcp" --include_path="E:/CCS_Workspace/Example_28035/drive_layer/includes" --include_path="D:/software/CCS6_2/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" --include_path="E:/CCS_Workspace/Example_28035/physical_layer/includes" --include_path="D:/software/CCS6_2/controlSUITE/device_support/f2803x/v130/DSP2803x_headers/include" --include_path="D:/software/CCS6_2/controlSUITE/device_support/f2803x/v130/DSP2803x_common/include" --include_path="D:/software/CCS6_2/controlSUITE/libs/math/IQmath/v160/include" -g --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --diag_suppress=10063 --issue_remarks --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="DSP2803x_DefaultIsr.d" "D:/software/CCS6_2/controlSUITE/device_support/f2803x/v130/DSP2803x_common/source/DSP2803x_DefaultIsr.c"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    这就是我的编译日志