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
 #  3. Set the line containing "MCU" to match your board's processor. 
23
 #  3. Set the line containing "MCU" to match your board's processor. 
24
 #     Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth
24
 #     Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth
25
 #     or Diecimila have the atmega168.  If you're using a LilyPad Arduino,
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
 #  4. Type "make" and press enter to compile/verify your program.
30
 #  4. Type "make" and press enter to compile/verify your program.
29
 #
31
 #
42
 #Arduino install directory
44
 #Arduino install directory
43
 INSTALL_DIR = ../../arduino-0022/
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
 F_CPU = 16000000
49
 F_CPU = 16000000
46
 
50
 
47
 UPLOAD_RATE = 115200
51
 UPLOAD_RATE = 115200

Loading…
Cancel
Save