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...
Please check page#313 of this PSoC Creator Guide:
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.