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.

RM48L930: How to change default location where HALCoGen places the generated code?

Part Number: RM48L930

Hello,

I am looking for how to change the default location where HALCoGen places the generated code files.  By default, the Generate Code (F5) command creates the /include and /source folders at the top level of the project workspace folder (screenshot).  After generating the code, the project folder contains the following structure:

and the source folder contains the .asm and .c drivers files.  I am working on a large app and want to keep my application source code separate from the halcogen-created source code.  I created an App subfolder under ./source and put my files there.  The code builds Ok.  I also want to create a Halcogen folder under /source and move the Halcogen-created source files there.  I went into the halcogen.hcg config file and changed the <PATH> settings for each .asm and .c file, then restarted HALCoGen and opened the .hcg file.  When I ran F5 (generate) the code was regenerated under /source, not /source/Halcogen.  And since HALCoGen couldn't find my original files that I moved to the ./source/Halcogen subfolder, the re-gen'd files did not contain my user changes made between the USER CODE BEGIN / END statements.

How to change the default location where HALCoGen places the generated code files?   BTW, I am also using FreeRTOS in this project.

Thanks,

Keith