From 51ea65120551ed8045e144bce7ee58e049761c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 14 Feb 2016 10:20:39 +0100 Subject: [PATCH] readme line formatting --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 258e273..a25f34c 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,11 @@ PROG_TYPE = arduino 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`.
- Linux and Mac users can use `ls /dev` to see their devices. Windows users will find this in their Device Manager. +- 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 use `ls /dev` to see their devices. Windows users will find + this in their Device Manager. - 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. @@ -63,5 +66,5 @@ PROG_ARGS = -c $(PROG_TYPE) -p $(MCU) -b $(PROG_BAUD) -P $(PROG_DEV) - If you *add a new C file* to the project, add an entry for it's `.o` (object file, created by the compiler before linking) to the `OBJS` list in the Makefile. - Similarly, if you *add a new folder with header files*, add it to `INCL_DIRS`. -- In case you need `printf` (or `printf` with floats), enable the appropriate LD_FLAGS in the Makefile (it's well -commented). Code size will - obviously - grow quite a bit. +- In case you need `printf` (or `printf` with floats), enable the appropriate LD_FLAGS + in the Makefile (it's well commented). Code size will - obviously - grow quite a bit.