There's an MPLAB/Harmony WDT example for the SAME54. Relative to the Harmony directory, it is
{HarmonyDir}/csp_apps_sam_d5x_e5x/apps/wdt/wdt_timeout/
When you build the example project, it creates (relative to your project directory):
{ProjectDir}/firmware/src/config/sam_e54_xpro/peripheral/plib_wdt.c
{ProjectDir}/firmware/src/config/sam_e54_xpro/peripheral/plib_wdt.c
I want the same thing. BUT: when I build a project using MPLAB/Harmony3, I can't figure out how to cajole MHC into creating plib_wdt.*. It's not listed as an available peripheral. I tried enabling the WDT system fuse (under the System module), but that didn't result in plib_wdt files. I even tried looking in the python and .ftl files to see what would generate the files, but couldn't quite decipher it.
Suggestions? (Please resist making "drop MPLAB" comments. It's already been a rough day...) Thanks!