How to override printf's in PSoC4?

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

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

How to override printf's in PSoC4?

   

Overriden the printf function in retarget.c, but still crashing in "__sinit" arm lib function call.

   

How can we skip (/ override) __sinit function call in PSoC4 compilation?

   

Aim is to go to fputc function defined in retarget.c from printf. 

   

Attaching project for reference.

0 Likes
7 Replies