Arduino compatible PLC board has error compiling FreeRTOS /avr/wdt.h not found

My google searches said this is possibly because the board is not AVR.

The board is described as a hardened Arduino-compatible PLC from AutomationDirect:

https://www.automationdirect.com/adc/shopping/catalog/programmable_controllers/open_source_controllers_(arduino-compatible)/productivityopen_(arduino-compatible)/controllers_-a-_shields/p1am-100

The board definition worked with Arduino and the AutomationDirect code loads and compiles fine.
https://raw.githubusercontent.com/facts-engineering/facts-engineering.github.io/master/package_productivity-P1AM-boardmanagermodule_index.json

I get the compile error when I added the FreeRTOS lib.

The board turned out to be SAMD (vs AVR or ARM), and the FreeRTOS lib I had was for AVR and hence the mismatch. I was able to find the right architecture lib at: FreeRTOS_SAMD21 - Arduino Libraries.

Hopefully this post and self-answer will help others who are trying the Arduino and FreeRTOS combo.