Hello,
I am using mcu MKL27Z256 and kinetis design studio.
While I debug my code, I have questions.
First of all, I am using a function "gettimeofday" to get timestamp. ("clock_gettime" don't work even if header files are defined.) I defined "nosys" in Linker libraries following USB CDC example from SDK. If "nosys" is defined, the function "gettimeofday" returns error -1 such as "Function not implemented".
Which relationship do they, "gettimeofday" and "nosys", have?
How can it be solved or should I use other functions?
Second, I am using a delay function "usleep". As I understand, I need "-specs=rdimon.specs" in linker flags for file system and semihosting and "usleep" can be declared with this flag. But USB virtual com port will be recognised only like below when I debug the code. PC don't recognise usb com port, if the board is connected just via USB (no debugging, IDE).

What does the flag "-specs=rdimon.specs" affect the USB driver?
Which relationship do they have?