From 49b228c4b37b95412308aae5f7d631e766a97d74 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 7 Mar 2012 18:05:10 -0500 Subject: [PATCH] Add instructions to regenerate speed_lookuptable when changing F_CPU --- Marlin/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/Makefile b/Marlin/Makefile index 9e41c28d33..955ccd5e33 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -23,7 +23,9 @@ # 3. Set the line containing "MCU" to match your board's processor. # Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth # or Diecimila have the atmega168. If you're using a LilyPad Arduino, -# change F_CPU to 8000000. +# change F_CPU to 8000000. If you are using Gen7 electronics, you +# probably need to use 20000000. Either way, you must regenerate +# the speed lookup table with create_speed_lookuptable.py. # # 4. Type "make" and press enter to compile/verify your program. # @@ -42,6 +44,8 @@ MCU = atmega1280 #Arduino install directory INSTALL_DIR = ../../arduino-0022/ +# Be sure to regenerate speed_lookuptable.h with create_speed_lookuptable.py +# if you are setting this to something other than 16MHz F_CPU = 16000000 UPLOAD_RATE = 115200