Hello NXP team:
I used EB to configure MCAL Wdg (4.3.1) without generating Wdg_Cfg.h by itself, I don't know what the problem is.EB configuration is as follows:
General configuration:
Clock reference configuration:
WDG Configuration:
Code Generation:
Reason found, GPT side of the callback must be this name to generate Wdg_Cfg.h, God pit!
I've encountered this when CAN is configured for multiplexing, and then the Cfg is generated when it is configured correctly. wdg configuration items are just that much, and it doesn't seem to work when I try it.
1. Arbitrarily change an IO port, and then generate code to see if it will change DIO_CFG.h or Port_CFg.h
2. Check whether the path of the generated code is correct or not
3. Check whether the configuration is wrong, I previously configured can, eb did not report errors, but the generated file is not changed. I found out later that there was a misconfiguration somewhere, so it is also recommended that you check more.
4. Comparison of online configuration watchdog and EB comes with routines, see where there are different places, and then follow your needs to change!
This is my personal experience, so if it still doesn't work out, wait and see what the community gurus have to say in response