Ways to change code in generated file?

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

cross mob
Anonymous
Not applicable

I want to suppress a assertion in the generated file 'I2C_INT.c', line 291. I know the possibilities of inserting my code via cyapicallbacks or using the section marked with /* `#START I2C_ISR_intc` */, but both ways will not skip or change the generated code section with the unwanted assert. Or I don't see it how these 2 ways to insert user code can help me...

0 Likes
1 Reply
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Please check page#313 of this PSoC Creator Guide:

http://www.cypress.com/file/137441/download

You can try the option "Skip Code Generation" – true .Then do build only and check whether the changes made in the Generated source file is getting  removed or not

Note Skipping code generation effectively locks the design such that future changes to the schematic, design-wide resources, and so on are not incorporated into the build output.

0 Likes