Hi Marcio,
it seems dynamic pin configuration is supported for LDD components only.
Init method of the KBI component does not contain initialization of the pin(s), this initialization is shared in after-reset code, see void Common_Init(void)
Init_KBI.c module is static, it is not generated, but copied into project if not there. You can modify this module manually (add pin routing) and your changes should be preserved.
Marek
Regards,
Marek
NOTE: If you find the answer useful, kindly click on [ACCEPT AS SOLUTION] button