I'm upgrading a project from KSDK1.1 to 1.2 and I get error "g_portBaseAddr' was not declared in this scope". Since some variables are renamed in this new 1.2 library, I think the g_portBaseAddr is renamed as well.
Does anyone know in which header file the g_portBaseAddr(portNumber) is defined in KSDK1.2? It should return "PORT_Type * base".
Solved! Go to Solution.
Hello Sint erklaas:
That is defined as g_portBase[PORT_INSTANCE_COUNT] in the file fsl_gpio_common.c and declared as "extern" in the file fsl_gpio_driver.h.
Regards!
Jorge Gonzalez
Hello Sint erklaas:
That is defined as g_portBase[PORT_INSTANCE_COUNT] in the file fsl_gpio_common.c and declared as "extern" in the file fsl_gpio_driver.h.
Regards!
Jorge Gonzalez
Thank you! The namechange explains why notepad++ couldn't find it anywhere. Now I can continue again :smileyhappy:.
Upgrading takes more time than I expected. I wish there would be a list of all changes from 1.1 to 1.2, although other posts in this forum tell me there aint one.