Re: How to enable deadman timer in Harmony
Did you include "peripheral/peripheral.h" ? This should include "peripheral/dmt/plib_dmt.h", which includes other stuff, which includes depending on your processor the correct "dmt_p32mz??????????.h", which has the definition for DMT_ID_0.
Btw, note, that DMT and WDT can also be enabled permanently by hardware. You can find this in MHC at
"Device & Project configuration" > "[???] Device Configuration" > "DEVCFG1".