Building PSoC4 code from command line (ROS catkin)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I plan to use a PSoC4 in a ROS (robot operating system) environment. Ideally, I'll use the ROS catkin build system to generate some of the source files and manage the compile/link steps. Unfortunately ROS catkin isn't (yet?) supported on Windows and PSoC Creator isn't (yet?) supported on linux, so I'm cobbling together a mixed workflow.

   

Status is here: http://wiki.jigren.org/index.php?title=Rosserial_On_Cypress_PSoC4 . I seem to be missing the library functions for CyEnterCriticalSection, CyExitCriticalSection, and CyDelayCycles.

   

Any suggestions?

   

Chuck

0 Likes
3 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

CyEnterCriticalSection / CyExitCriticalSection / CyDelayCycles are in CyBootAsmGnu.s (the boot component). So you need to compile and link that one too.

0 Likes
Anonymous
Not applicable

This works to compile and link a PSoC application with gcc under Linux, bring it back to windows, and program the Pioneer board. The link has been updated. wiki.jigren.org/index.php . Thanks!

0 Likes
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

You're welcome. Have fun in the wonderful world of PSoC 🙂

0 Likes