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.

[参考译文] AWR2944P:autosar 4.3.1中缺少 SPI 标准 API

Guru**** 2455360 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1509912/awr2944p-spi-standard-api-is-missing-in-autosar-4-3-1

器件型号:AWR2944P

工具/软件:

MCAL REL_02.02.05.00

 集成 SPI 模块时、发生以下编译错误

错误:

未定义首次引用
符号
----- ------------------------
Spi_Read:/work/ACP-8.8.11_AM263PX_clang-4.0.0_LTS/test_base/Compile/IN:Spi_Com Test_2/output/obj/Test_api.o Spi_Com
Spi_Write:/work/ACP-8.8.11_AM263PX_clang-4.0.0_LTS/test_base/Compile/IN:Spi_Com Test_2/output/obj/Test_api.o Spi_Com

错误:未解析的符号保留
错误:链接过程中遇到错误;

原因: 根据 Spi_Read、API.IB 和 Spi_Write API.IB 的 Autosar 规范4.3.1、 给定源静态代码中缺少这些 API。

您能否说明缺少这些 API 的原因。  

BR、

Prashant Singh Tomar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Prashant、

    到目前为止、尚未为任何客户申请这些 API。 人们已经使用 MCAL 进行了生产、我们看不到要求。
    如果您看到这些器件的函数实现有要求、请告诉我、或者您是否只需要为不受支持的 API 使用存根函数?

    此致、