Board MKR give error no such file <avr/wdt.h> after compiling grbl

Hi,

I recently bought a MKR 1000 and after i installed it with board manager when i want to compile GRBL it give me some error about missing library while it compile wihtout error with an uno and others board :-/

I suppose it come with the directory which contain the le file to drive the MKR but i am not shure where to find these.

An advice ?

In file included from /Applications/Arduino.app/Contents/Java/libraries/grbl/examples/grblUpload/grblUpload.ino:27:0:
/Applications/Arduino.app/Contents/Java/libraries/grbl/grbl.h:32:21: fatal error: avr/wdt.h: No such file or directory
#include <avr/wdt.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino MKR1000.

No idea, but from Home · gnea/grbl Wiki · GitHub

Grbl is great for light duty production. We use it for all our milling, running it from our laptops or Raspberry Pis using superb GUIs written for Grbl to stream G-code jobs. Grbl is written in highly optimized C utilizing all the clever features of the Arduino's Atmega328p chips to achieve precise timing and asynchronous operation. It is able to maintain more than 30kHz step rate and delivers a clean, jitter free stream of control pulses.

Sounds to me that you're out of luck with the MKR1000 as it's not based on a 328P (or any AVR).