added informative error message for people building 0.6 for atmega168 (impossible)

This commit is contained in:
Simen Svale Skogsrud 2011-02-17 19:22:10 +01:00
parent 3f172fa276
commit 31635481ad

4
main.c
View File

@ -31,6 +31,10 @@
#include "settings.h"
#include "wiring_serial.h"
#ifndef __AVR_ATmega328P__
# error "As of version 0.6 Grbl only supports atmega328p. If you want to run Grbl on an 168 check out 0.51 ('git co v0_51')"
#endif
int main(void)
{
sp_init();