Browse Source

Add instructions to regenerate speed_lookuptable when changing F_CPU

Ben Gamari 13 years ago
parent
commit
49b228c4b3
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/Makefile

+ 5
- 1
Marlin/Makefile View File

@@ -23,7 +23,9 @@
23 23
 #  3. Set the line containing "MCU" to match your board's processor. 
24 24
 #     Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth
25 25
 #     or Diecimila have the atmega168.  If you're using a LilyPad Arduino,
26
-#     change F_CPU to 8000000.
26
+#     change F_CPU to 8000000. If you are using Gen7 electronics, you
27
+#     probably need to use 20000000. Either way, you must regenerate
28
+#     the speed lookup table with create_speed_lookuptable.py.
27 29
 #
28 30
 #  4. Type "make" and press enter to compile/verify your program.
29 31
 #
@@ -42,6 +44,8 @@ MCU = atmega1280
42 44
 #Arduino install directory
43 45
 INSTALL_DIR = ../../arduino-0022/
44 46
 
47
+# Be sure to regenerate speed_lookuptable.h with create_speed_lookuptable.py
48
+# if you are setting this to something other than 16MHz
45 49
 F_CPU = 16000000
46 50
 
47 51
 UPLOAD_RATE = 115200

Loading…
Cancel
Save