This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

File path for advanced config mode NHET

Other Parts Discussed in Thread: HALCOGEN

Hi,

Is the file path to indicate the .h and .c file in halcogen for advanced config mode capable of relative paths based on where the halcogen file is located?  There are several developers that will be using the same halcogen file to generate code, if the path is hardcoded to something on my harddrive, then when they go to generate code it won't be able to find the file.

 

Thanks,

David

  • Hi David,

    I have forwarded your post to our Halcogen team lead. Unfortunately, he is out until 11/10 so there may be a short delay in getting his inputs. Please let me know if this is not a sufficient response time.

  • The full path is kept in the HALCoGen project file, see snippet:

      <HET>
        <FILENAME>
          <HET1ASMHDR>
            <NAME>C:\Users\Jan\Documents\elektronica\Texas Instruments\Hercules\HET\het_ide_workspace\HET_IO_TEST\HET_IO_TEST.h</NAME>
          </HET1ASMHDR>
          <HET1ASMSRC>
            <NAME>C:\Users\Jan\Documents\elektronica\Texas Instruments\Hercules\HET\het_ide_workspace\HET_IO_TEST\HET_IO_TEST.c</NAME>
          </HET1ASMSRC>
        </FILENAME>
    

    I solved this by creating my HET IDE project inside my project folder,

    and making the .c and .h files at build time by adding these steps to the build process:

    ${HET_COMPILER} -n0 -v2  -hc32 "..\het\HET_IO_TEST.het
    copy /Y  ..\het\HET_IO_TEST.h ..\include\HET_IO_TEST.h
    copy /Y  ..\het\HET_IO_TEST.c ..\source\HET_IO_TEST.c