Bug report: MQX Vybrid GPIO definitions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Bug report: MQX Vybrid GPIO definitions

跳至解决方案
856 次查看
billpringlemeir
Contributor V

I have MQX 4.0.2 and noticed two GPIO to 'PTx' mis-configurations.  In lwgpio_vgpio.h we have,

#define LWGPIO_PIN_PTB26    (LWGPIO_PORT3 | LWGPIO_PIN0)   /* Was LWGPIO_PORT2 | LWGPIO_PIN0 */
#define LWGPIO_PIN_PTC26  (LWGPIO_PORT3 | LWGPIO_PIN3)
#define LWGPIO_PIN_PTC27  (LWGPIO_PORT3 | LWGPIO_PIN4)
#define LWGPIO_PIN_PTC28  (LWGPIO_PORT3 | LWGPIO_PIN4)    /* Should be PIN5? */
#define LWGPIO_PIN_PTC29  (LWGPIO_PORT3 | LWGPIO_PIN6)

The PTB26 has been fixed in MQX 4.1, but the PTC28 issues still seems to remain?  Thanks for fixing the PTB26 so that NAND flash may function.  Someone has confused many software developers with these 'PTx' numbering.  These defines are helpful in avoiding that confusion.

标记 (3)
1 解答
423 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Bill

You are correct. That is a bug, and we  will fix it for MQX 4.2.0. Thank you very much for reporting this.

Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
424 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Bill

You are correct. That is a bug, and we  will fix it for MQX 4.2.0. Thank you very much for reporting this.

Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复