Bug report: MQX Vybrid GPIO definitions

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug report: MQX Vybrid GPIO definitions

Jump to solution
485 Views
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.

Tags (3)
1 Solution
52 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
53 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos