I am working on kds with MKL27Z256 MCU. I want to print real time and wrote some functions and variables such as clock_gettime, CLOCK_MONOTONIC and struct tm. But I got errors about them. Errors said they are undeclared. Of course, I set also time.h.
Why is there the problem and how can I solve this?
Happy new year!