aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2018-01-12 19:27:14 +0000
committerGitHub <noreply@github.com>2018-01-12 19:27:14 +0000
commit74e1ef00fd824e07ebbc5254465a4a9e87514eaa (patch)
tree342fd8732f1220e40ef423fff1be8c81f032af92 /README.md
parentc3fe5dcc2fbd5c895b032ca5a5a1f60af163b744 (diff)
parenta6d979ef90ddae3549876917f80847ea647c284a (diff)
Merge pull request #530 from tuna-f1sh/master
ardmk-init - Makefile initialisation and template project utility
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 972b03d..953d067 100644
--- a/README.md
+++ b/README.md
@@ -428,6 +428,20 @@ all of the examples. The bootstrap script is primarily intended for use by a
continuous integration server, specifically Travis CI. It is not intended for
normal users.
+## Makefile Generator and Project Initialisation
+
+`ardmk-init` within the bin/ folder is a utility Python script to create a
+Arduino-mk Makefile for a project and also has option to create a traditional *tree*
+organization (src, lib, bin). It can be used as with commanline arguments or
+prompted - see examples below (append `$ARDMK_DIR/bin/` to command if not on path):
+
+* Run prompted within current working directory: `ardmk-init`
+* Create Arduino Uno Makefile (useful within a library example): `ardmk-init -qb uno`
+* Create boilerplate Arduino Uno project in current working directory of same
+ name: `ardmk-init -b uno --quiet --project`
+* Create Arduino-mk nano Makefile in current working directory with template .ino: `ardmk-init -b nano -u atmega328 -qtn my-project`
+* See `ardmk-init --help` for more.
+
### Bare-Arduino–Project
If you are planning on using this makefile in a larger/professional project, you might want to take a look at the [Bare-Arduino–Project](https://github.com/WeAreLeka/Bare-Arduino-Project) framework.