any document about how to profile codes in psoc creator?
i found the arm-none-eabi-gprof.exe in the psoc import and wonder how it works?
tried to add -pg in the compiler and linker but get error messages -ffuction-sections disable; make profiling impossible.
can i execute arm-none-eabi-gprof.exe directly under cmd terminal at PC? i tried but no success.
AFAIK there is no profiling support available. Remember, there is no operating system environment avilable on the PSOC. So even when you could instrument your application using GCC, where shnould the profiling data go? There is no file system or something like that.
This article explains how to profile ARM Cortex-M based microcontrollers:
I have following issues with PSoC creator:
1) Inability to apply compiler options to selected files
2) No support for semihosting: How to use semi hosting in POSC?
I think I may have to copy all the generated code to an eclipse project to get this done.
Please let me know if better options exist.