You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -428,6 +428,20 @@ all of the examples. The bootstrap script is primarily intended for use by a
428
428
continuous integration server, specifically Travis CI. It is not intended for
429
429
normal users.
430
430
431
+
## Makefile Generator and Project Initialisation
432
+
433
+
`ardmk-init` within the bin/ folder is a utility Python script to create a
434
+
Arduino-mk Makefile for a project and also has option to create a traditional *tree*
435
+
organization (src, lib, bin). It can be used as with commanline arguments or
436
+
prompted - see examples below (append `$ARDMK_DIR/bin/` to command if not on path):
437
+
438
+
* Run prompted within current working directory: `ardmk-init`
439
+
* Create Arduino Uno Makefile (useful within a library example): `ardmk-init -qb uno`
440
+
* Create boilerplate Arduino Uno project in current working directory of same
441
+
name: `ardmk-init -b uno --quiet --project`
442
+
* Create Arduino-mk nano Makefile in current working directory with template .ino: `ardmk-init -b nano -u atmega328 -qtn my-project`
443
+
* See `ardmk-init --help` for more.
444
+
431
445
### Bare-Arduino–Project
432
446
433
447
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.
0 commit comments