PetervdPerk-NXP opened a new issue #5843:
URL: https://github.com/apache/incubator-nuttx/issues/5843


   I've noticed this PR https://github.com/apache/incubator-nuttx/pull/5327 and 
tried to get Segger System View it on my S32K144 based board.
   
   Unfortunely there wasn't a how to guide, but I tried to mimick the SIM 
sysview configuration 
https://github.com/anchao/incubator-nuttx/blob/9efb473feaa116b61c6d47d00878baf6a08a167d/boards/sim/sim/sim/configs/sysview/defconfig
   
   When compiling though I got a couple of errors:
   
   1. Regarding a ASM file optimized for ARMv7 `SEGGER_RTT_ASM_ARMv7M.S`, my 
workaround was to remove that from build system and use the fallback C file.
   
   2. Some errors regarding missing `up_perf_gettime` and `up_perf_getfreq` 
function, I circumvented this by enabling CONFIG_TIMER_ARCH which implements 
these functions, but it seems that the sim config didn't require those.
   
   After this it successfully compiles and it seems I can connect through 
SEGGER systemview,
   ![MicrosoftTeams-image 
(21)](https://user-images.githubusercontent.com/57130844/160156326-e7a2c16a-63be-46d4-bee7-f2ce54339bea.png)
   
   However as you can see it's partly working however time stays at zero and I 
can't see task switching itself.
   
   @anchao would you be able to provide steps you did to get it to work on your 
Cortex-M55 platform, or do you have an idea on which interfaces I need 
implement/enable to get this fully to work?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to