I've updated my MCUXpresso toolchain to release 11.0.0
I generated a new TWR_K60D100M SDK package from the NXP MCUXpresso SDK builder (https://mcuxpresso.nxp.com/en/dashboard )
I import this new SDK into MCUXpresso IDE and generated a new workspace.
I then generated a new SDK project named UartExample. The example project used all default settings plus the freertos OS.
All the code compiles and run fine.
I then added the new peripheral UART3 using the MCUXpresso Config Tools and allowed the tools to update my code.
The newly generated code does not compile. It appears to require a changed structure definition for uart_config_t from the fsl_uart class.
My sample code can be found at the following repository: GitHub - tsbiberdorf/twrK60D_UartExample: K60D SDK example code does not compile
This is all generated code from MCUExpresso tools, what steps did I not follow correctly when adding new peripherals?
Thanks
Terry
Solved! Go to Solution.
The Peripherals tool components are downloaded automatically.
To remove component, you can right-click on it in the Components tab and select Remove:
To add a new one, click on the "+" button next to "Peripheral drivers" title. In the Component selector window, make sure that the "Show only latest component versions":
Regards,
Lukas
Hi Terry,
the compilation error is caused by combination of incompatible version of Peripherals tool component and SDK driver. Your project is based on MCUXpresso SDK v2.2 which contains UART driver v2.1.4, however, in Peripherals tool you are using UART component for SDK driver v2.1.5 which has different API from v2.1.4 (the uart_config_t differs). Please remove the Peripherals tool component v2.1.5 and replace it with v2.1.4 using component selector:
There should be also visible warning about the incompatible versions in the MCUXpresso Config Tools Problems view:
Regards,
Lukas
Can you provide a link on directions to remove and replace the toll component. The one link I did find https://community.nxp.com/thread/506760
I attempted to perform the "right button" of the warning, but could not get the indicated window to appear.
The Peripherals tool components are downloaded automatically.
To remove component, you can right-click on it in the Components tab and select Remove:
To add a new one, click on the "+" button next to "Peripheral drivers" title. In the Component selector window, make sure that the "Show only latest component versions":
Regards,
Lukas
Thanks, it now appears to be working.