- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We've worked on CCG4 projects. We created our project with PSoC Creator 4.1, but we have moved to 4.2 now.
In post_build.bat, the path is being hard-coded to the path we created the project. It caused the hex being created improperly.
For example, I am using PSoC Creator 4.2,
but this script looking for cyelftool.exe in "C:\Program Files (x86)\Cypress\PSoC Creator\4.1\PSoC Creator\bin"
It would be nice if we could make the post_build.bat select to the folder where we opened the IDE.
I've dumped the environment variables in that batch script but it seems there is no IDE program path there.
Does anyone know a way to pass this info into that batch script?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sing-han,
For the time being, you will have to add the PSoC Creator path in the system environment variables, and not specify the path of the elftool in the batch script.
Regards,
Rajath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sing-han,
Where did you get the post_build.bat?
Thanks,
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
unfortunately, no.
Maybe one of the USB guys might know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sing-han,
For the time being, you will have to add the PSoC Creator path in the system environment variables, and not specify the path of the elftool in the batch script.
Regards,
Rajath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK. Thanks anyways.