cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anonymous
Not applicable

hi,

   

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.

   

thanks

0 Likes
Reply
2 Replies
Honored Contributor II

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.

0 Likes
Reply
Anonymous
Not applicable

This article explains how to profile ARM Cortex-M based microcontrollers:

Tutorial: Using GNU Profiling (gprof) with ARM Cortex-M | MCU on Eclipse

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.

Thanks,

Aditya

0 Likes
Reply