From 6d0b878ee3155c2de6ca987ae106f5155574ab6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 7 Feb 2016 02:13:52 +0100 Subject: [PATCH] makef --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dc423bc..9c9e7ba 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ The provided main.c is a good starting point - it contains some simple demo code You can compile it with `make` and flash with `make flash`. -If you add a new C file to the project, add an entry for it's `.o` (object file, +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`. +Similarly, if you *add a new folder with header files*, add it to `INCL_DIRS`. -The Makefile should take care of everything for you, this is the only modification -you should have to do. +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.