5 Replies Latest reply on Jul 11, 2018 1:37 AM by user_2870091

    Smarter way to direct the path of cyelftool?

      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?