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.

HALCOGEN: HALCoGen creates inconsitent include guards

Part Number: HALCOGEN

HALCoGen creates (at least for TMS570LC43xx, don't know for others) inconsistent include guards:

Examples:

  • HL_reg_dma.h: #define __REG_DMA_H__
  • HL_sys_dma.h: #define DMA_H_
  • HL_pom.h: #define __POM_H__

So it is

  1. remove "HL"-prefix, two underscores, file name in uppercase and append "_H_" 
  2. remove "HL"-prefix, remove a infix, uppercase the Suffix and append "_H_"
  3. remove "HL"-prefix, uppercase the suffix and append "_H_"

Working with an inconsitency like this is very uncomfortable in a large code base.

Would it be possible that you create a HALCoGen update, that creates a include guard naming schema you can rely on?