pull/1/head
Ondřej Hruška 9 years ago
parent b26ba76d45
commit b8e7242ffa
  1. 8
      README.md

@ -52,11 +52,9 @@ PROG_TYPE = arduino
PROG_ARGS = -c $(PROG_TYPE) -p $(MCU) -b $(PROG_BAUD) -P $(PROG_DEV) PROG_ARGS = -c $(PROG_TYPE) -p $(MCU) -b $(PROG_BAUD) -P $(PROG_DEV)
``` ```
Adjust `PROG_DEV` to the device your board is connected to. On Linux it's usually `/dev/ttyUSB0`, but it can also be `/dev/ttyACM0` or something else. On Mac, it'll be `/dev/cu.xxx`, on Windows it's some `COMx`. - Adjust `PROG_DEV` to the device your board is connected to. On Linux it's usually `/dev/ttyUSB0`, but it can also be `/dev/ttyACM0` or something else. On Mac, it'll be `/dev/cu.xxx`. On Windows it's some `COMx`.
Linux and Mac users can just `ls /dev` to see what devices they have. Windows users will find this in their Device Manager.
Linux and Mac users can just `ls /dev` to see what devices they have. Windows users can find this in their Device Manager. - You may also adjust the baudrate (`PROG_BAUD`). Some boards need `115200`.
You may also adjust the baudrate (`PROG_BAUD`). Some boards need `115200`.
**TIP:** You can look what the Arduino IDE is using - it's running avrdude too. **TIP:** You can look what the Arduino IDE is using - it's running avrdude too.

Loading…
Cancel
Save