Hi, my processor is STM32L010C6TX. I added function to my project to use microsecond But " DWT" "CTRL" etc. It says not defined. However, they are all in the "core_cm4.h" library. This library is in Drivers-> CMSIS->Include. why doesn't it call this function and say "undeclared"?
@Khouloud OTHMAN ST should really do a better job here of only copying the core file(s) used by that family. There's no reason to have headers for all different Cortex types within a project. No need to have Cortex-M4 specific files in a Cortex-M0+ project.
"If you feel a post has answered your question, please click ""Accept as Solution""."