cancel
Showing results for 
Search instead for 
Did you mean: 

USB EZ-PD Type-C

Anonymous
Not applicable

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?

0 Likes
1 Solution
RajathB_01
Moderator
Moderator

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

View solution in original post

0 Likes
5 Replies
RyanZhao
Moderator
Moderator

Hi Sing-han,

Where did you get the post_build.bat?

Thanks,

Ryan

0 Likes
Roy_Liu
Moderator
Moderator

mdl​ do you have any idea on this?

Thanks

Roy

Roy Liu
0 Likes
mattl_01
Employee

unfortunately, no. 

Maybe one of the USB guys might know.

0 Likes
RajathB_01
Moderator
Moderator

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

View solution in original post

0 Likes
Anonymous
Not applicable

OK. Thanks anyways.