- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Friends,
I need to add a variable in Generated Source Files (in FIleName_UART.c & FileName_SPI_UART.h) every time.
If I clean & rebuild my project or restart PSoC Creator, then these modified files are overlapped by newly generated ones.
How can I solve my problem?
-Chinmay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello chsh_4442971,
You can make use of "Skip Code Generation" option in the Build Settings. To open Build Settings, right click on the project and then set "Skip Code Generation" to True as shown below:
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello chsh_4442971,
You can make use of "Skip Code Generation" option in the Build Settings. To open Build Settings, right click on the project and then set "Skip Code Generation" to True as shown below:
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Chinmay-san,
If the variable is not affecting "Generated Source", you can add <your_own>.h and <your_own>.c in your project by Add New at Header Files folder and Source Files folder in the Workspace Explorer like below.
adding a new header file
adding a new source file
I did similar thing in my sample below.
tty_utils a utility sample for CLI type program
I added tty_utils.h and tty_utils.c
But if you need to modify the generated source, although IMHO it is not recommended,
I have no idea to workaround it.
Best Regards,
4-Dec-2019
Motoo Tanaka