Hello,
When I use the S32DS functional group to configure different variants, and if the only direction is different and others are same in port module, but in generated code, the direction are same in different variants and they are not complied with our configure. And the direction is complied with the last functional group.
As you can see, there have two functional group:
The PTD1 is configured to output in BOARD_InitPins, but it is configured to input in BOARD_InitPins_copy_1, and the BOARD_InitPins_copy_1 is the last group. And for generated code, the PTD1 is input in different group, it is unnormal. So please help me confirm if it is an issue, thanks.
Thanks for pointing it out,
Actually, you can do more testing on this feature and you will find that maybe only GPIO has such limitation(you can use API to change the GPIO direction ), if you set the port to LPUART or other peripheral, it will configure as expected.
Hello @Senlent
Thanks for your solution.