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.

[参考译文] AM3354:sdk6.1 更新到 SDK 9.3 GPIO 并编译问题

Guru**** 2425240 points
Other Parts Discussed in Thread: PCA9535

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1537791/am3354-am3354-sdk6-1-update-to-sdk-9-3-gpio-and-compile-issue

器件型号:AM3354
主题中讨论的其他器件:PCA9535

工具/软件:

 AM 335x  Processor  SDK 9.1 或 9.3 交叉编译工具

为什么选择使用 external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- 而不是内置一个(只有内置一个有编译问题?)

在 AM57 处理器的 sdk9.3 中、我们使用内置 1、如果是、不同的处理器将面临编译工具链的问题  

2.在 SDK 6.3 和 SDK 9.1/9.3 之间、GPIO num 在 DTS 中具有不同的配置

例如在 SDK 6.3 中:  

在使用 sdk9.1:时

SDK 6.3 中的 I2C 外部扩展 IO PCA9535 的 GPIO 编号已从 496-511 更改为 2026-2041、我们可以通过简单的修改使其与旧 SDK 保持一致