Gentlebeings,
I would have thought this is a simple question to find the answer to, but I can't in the datasheet/RM or the MQX documentation.
I'm looking for a way to determine within my software what is the processor executing. Ideally, I would like to get down to processor family (ie K20, K22) and Flash size.
Is there a register in the Kinetis and (ideally) an MQX API that provides this information?
I'm asking because I'm looking at a follow on products to the Jade Robot https://www.mimetics.ca and I would like some sure fire way of ensuring that different products (which will use different processors) can be identified.
This question is also being asked in the Kinetis forum.
Thanx,
myke
I just wanted to say that I have gotten some answers (and unexpected results) in the Kinetis forum: https://community.freescale.com/thread/336964
myke
Hi Myke
You can check the MQX API _mqx_get_cpu_type (mqx\source\kernel\mqx.c)
Have a great day,
Daniel