summaryrefslogtreecommitdiff
path: root/software/avr.README
diff options
context:
space:
mode:
Diffstat (limited to 'software/avr.README')
-rw-r--r--software/avr.README22
1 files changed, 20 insertions, 2 deletions
diff --git a/software/avr.README b/software/avr.README
index 7351be0..a822bda 100644
--- a/software/avr.README
+++ b/software/avr.README
@@ -51,9 +51,27 @@ build and flash blink example
-----------------------------
# cd blink
-# make
+adapt Makefile (set BOARD_TYPE)
# make program
-# make run
+
+
+Some Hints
+==========
+
+The object files for builded libs will be called lib-<name>.o so make sure
+not to use files named like this for your own code. i.e. if you want
+to use the `led` library it's not possible to have a source file name
+lib-led.c inside your project.
+
+The anyio lib provides a failover between serial and usb-serial (using LUFA)
+streams. It's not safe to use any STDIO functions inside interrupts.
+
+To use LUFA in your project you have to provide the path to the LUFA
+source code. You may do this by calling `make` inside the contrib tree.
+But any external path is ok. In order to build the lufa object file the
+build system has to call `make clean` inside the LUFA_PATH so make sure
+there is no lufa build inside which you still need. Also paralell builds
+of several projects using the same LUFA_PATH is not possible.
License