1. Download arduino version big than 1.5
2. Download prusa i3from git
3.
Compile command
arduino --board arduino:avr:mega --pref build.path=/tmp/build --verify /tmp/test/prusa_i3/Marlin/Marlin.ino
Compile && upload command
sudo arduino --board arduino:avr:mega:cpu=atmega2560 --port /dev/ttyUSB0 --upload /tmp/test/prusa_i3/Marlin/Marlin.ino
Reference:
- ARDUINO
- Arduino IDE 1.5 from command line
- Programming APM using AVRdude through the command console
- [Prusa I3][3PD] How to upload firmware to (Mega 2560)
0 意見:
張貼留言