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
Fix#147Fix#151Fix#153
The following are the detailed changes
- Remove ARDMK_PATH, ARDMK_FILE and arduino-mk subdirectory
- Looks for ard-reset-arduino in $PATH or ARDMK_DIR/bin
- Fix git-archive command in RPM SPEC file
- Remove some whitespace
- Remove arduino-mk dir from debian package's arduino-mk.install
- Update docs to reflect the above changes
- Bump Up version to 1.2.0
On Linux, you shouldn't need to set anything other than your board type and port:
19
20
20
-
ARDUINO_DIR = /usr/share/arduino
21
-
ARDMK_DIR = /usr/share/arduino
22
-
ARDMK_PATH = /usr/bin
23
-
AVR_TOOLS_DIR = /usr
21
+
BOARD_TAG = mega2560
22
+
MONITOR_PORT = /dev/ttyACM0
24
23
24
+
-`BOARD_TAG` - Type of board, for a list see boards.txt or `make show_boards`
25
+
-`MONITOR_PORT` - The port where your Arduino is plugged in, usually `/dev/ttyACM0` or `/dev/ttyUSB0`
25
26
-`ARDUINO_DIR` - Path to Arduino installation
26
27
-`ARDMK_DIR` - Path where the `*.mk` are present. If you installed the package, then it is usually `/usr/share/arduino`
27
-
-`ARDMK_PATH` - Path where the `ard-reset-arduino` script is present. If you installed the package, then it is usually `/usr/bin`
28
28
-`AVR_TOOLS_DIR` - Path where the avr tools chain binaries are present. If you are going to use the binaries that came with Arduino installation, then you don't have to set it.
29
29
30
30
The Makefile also delegates resetting the board to a short Perl program.
@@ -80,7 +80,7 @@ It is possible to use [`colorgcc`](https://github.com/colorgcc/colorgcc) with th
80
80
81
81
## Versioning
82
82
83
-
The current version of the makefile is `1.1.0`. You can find the full history in the [HISTORY.md](HISTORY.md) file
83
+
The current version of the makefile is `1.2.0`. You can find the full history in the [HISTORY.md](HISTORY.md) file
84
84
85
85
This project adheres to Semantic [Versioning 2.0](http://semver.org/).
86
86
@@ -92,7 +92,7 @@ published by the Free Software Foundation; either version 2.1 of the License, or
92
92
93
93
## Contribution
94
94
95
-
All contributions (even documentation) are welcome :) Open a pull request and I would be happy to merge them.
95
+
All contributions (even documentation) are welcome :) Open a pull request and I would be happy to merge them.
96
96
Also checkout the [contribution guide](CONTRIBUTING.md) for more details.
97
97
98
98
If you are looking for ideas to work on, then check out the following TODO items or the [issue tracker](https://github.com/sudar/Arduino-Makefile/issues/).
@@ -108,7 +108,7 @@ If you find an issue or have an idea for a feature then log them in the [issue t
108
108
109
109
## Credits
110
110
111
-
This makefile was originally created by [Martin Oldfield](http://mjo.tc/atelier/2009/02/arduino-cli.html) and he maintained it till v0.10.2.
111
+
This makefile was originally created by [Martin Oldfield](http://mjo.tc/atelier/2009/02/arduino-cli.html) and he maintained it till v0.10.2.
112
112
From May 2013, it is maintained by [Sudar](http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile)
Copy file name to clipboardExpand all lines: packaging/fedora/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ First install the dependencies as root:
6
6
7
7
From the top-level Arduino-Makefile directory you've checked out of github, run the following (as unprivileged user) to create a compressed tarball using the naming conventions required by rpmbuild:
8
8
9
-
git archive --prefix=arduino-mk-1.1.0/ --format=tar -o ../arduino-mk-1.1.0.tar.gz -v HEAD | gzip
9
+
git archive HEAD --prefix=arduino-mk-1.2.0/ -o ../arduino-mk-1.2.0.tar.gz
10
10
11
11
If you don't already have a rpmbuild setup (e.g. you've not installed the SRPM) you will need to create the directories:
12
12
13
13
mkdir -p ~/rpmbuild/{SOURCES,SPECS}
14
14
15
15
Then copy the tarball and specfile into those directories:
0 commit comments