Can anyone share a WORKING printf example using PE MQX Standard in KDS3.0 + KSDK 1.2.0
Thanks in advance!
About which chip ?
And print to console or UART ?
Print to UART1 on FRDM-K22F as this will use OpenSDA/OCD connection....
Print to UART4 for MK22FX512VLL12 or MK24FN1M0VLL12 MCU.
In addition to the above, the example showing a printf statement from main.c.
Please check the following thread, there is an example about printf in KSDK+MQX+PE
sdk_standard mqx +PE -- printf -kds3.0
Yes, you can refer to the thread Daniel mentioned.
When using PE MQX Standard in KDS3.0 + KSDK 1.2.0 , you only need add the fsl_uart component , and configure it refer to your board,
then you can use the printf funtion.
Hope it helps
This project does not show if it is possible to use printf using MQX Standard AND from main.c......it shows how to print from a task once MQX has started.
I have sinced moved our main.c printf statements to the first task that is executed and used it as a bootup task and for initialization of our application.
My printfs were working from main.c using MQX Lite....but stopped after moving to MQX Standard.
Retrieving data ...