我们需要 AM275 上的解决方案...请提供 AM275 上的修复程序
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.
我们需要 AM275 上的解决方案...请提供 AM275 上的修复程序
尊敬的 Ritapravo:
请帮助客户使用 SysConfig 为 AM275x 配置 GPIO。
之前的讨论是 AUDIO-am62d-evm-dio-output-configuration-in-sysconfig-tool-is-in-not-proper 实现。
此致、
Tushar
请在此处查看详细信息 AUDIO-am62d-evm-dio-output-configuration-in-sysconfig-tool-is-in-not-proper
尊敬的 Ashik:
GPIO 引脚方向由 GPIO_setDirMode () 设置、这称为 GPIO_init () 函数。 sysconfig 不会生成 gpio_init () 代码。 因此、针方向没有事先设置、需要手动设置。 您可以在中添加以下更改 {mcu_plus_sdk_folder}\source\drivers\.meta\gpio\V0_1\gpio_v0_1.syscfg.js 最终目的 GPIO_MODULE -> 模板 部件
templates: { "/drivers/system/system_config.h.xdt": { driver_config: "/drivers/gpio/templates/gpio.h.xdt", moduleName: gpio_module_name, }, "/drivers/system/system_config.c.xdt": { driver_config: "/drivers/gpio/templates/gpio_config.c.xdt", driver_init: "/drivers/gpio/templates/gpio_init.c.xdt", moduleName: gpio_module_name, }, "/drivers/pinmux/pinmux_config.c.xdt": { moduleName: gpio_module_name, }, },
这会将 gpio_init () 代码包含到自动生成的 SysConfig 文件中。
此致、
Ritapravo