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.

Compilation errors in HALCOGEN for pinmux

Other Parts Discussed in Thread: HALCOGEN

Hello.

I use RM46L852PGE chip and last HALCOGEN.

Is that code correct in file include/pinmux.h ?

#define PINMUX_BALL_G5_MASK                     (~(uint32)((uint32)0xFFU << PINMUX_BALL_G4_SHIFT))

G4 ball is not used at all, at least in datasheet.
Macro  PINMUX_BALL_G4_SHIFT is not defined. Is it copy-paste error?

May be, correct line should be:

#define PINMUX_BALL_G5_MASK                     (~(uint32)((uint32)0xFFU << PINMUX_BALL_G5_SHIFT))

There are some lines like that in that file.

Regards,

  Vitaliy

  • 6278.pinmux.hHi Vitally,

     Which HalCoGen version do you use? Also when you create a new HalCoGen project did you choose the RM46L852PGE or you choose RM46L852ZWT?

    Attached is the pinmux.h I generated from HalCoGen for RM46L852PGE and  I don't find the #define PINMUX_BALL_G5_MASK.