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
+28-7Lines changed: 28 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,12 +127,12 @@ or you can install it using the [pre-built package installer](https://pypi.pytho
127
127
128
128
## Usage
129
129
130
-
You can also find more [detailed instructions in this guide](http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile).
130
+
Download a copy of this repo somewhere to your system or install it through a package by following the above installation instruction.
131
131
132
-
You can also checkout the sample makefiles inside the `examples/` directory, e.g. [Makefile-example](examples/MakefileExample/Makefile-example.mk) demonstrates some of the more advanced options,
132
+
Sample makefiles are provided in the `examples/` directory. E.g. [Makefile-example](examples/MakefileExample/Makefile-example.mk) demonstrates some of the more advanced options,
133
133
whilst [Blink](examples/Blink/Makefile) demonstrates the minimal settings required for various boards like the Uno, Nano, Mega, Teensy, ATtiny etc.
134
134
135
-
Download a copy of this repo some where in your system or install it through a package.
135
+
MAC:
136
136
137
137
On the Mac with IDE 1.0 you might want to set:
138
138
@@ -149,14 +149,31 @@ On the Mac with IDE 1.5+ it's like above but with
The list of all variables that can be overridden is available at [arduino-mk-vars.md](arduino-mk-vars.md) file.
228
+
208
229
-`BOARD_TAG` - Type of board, for a list see boards.txt or `make show_boards`
209
230
-`MONITOR_PORT` - The port where your Arduino is plugged in, usually `/dev/ttyACM0` or `/dev/ttyUSB0` in Linux or Mac OS X and `com3`, `com4`, etc. in Windows.
210
231
-`ARDUINO_DIR` - Path to Arduino installation. In Cygwin in Windows this path must be
211
232
relative, not absolute (e.g. "../../arduino" and not "/c/cygwin/Arduino").
212
233
-`ARDMK_DIR` - Path where the `*.mk` are present. If you installed the package, then it is usually `/usr/share/arduino`
213
234
-`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. Otherwise set it realtive and not absolute.
214
235
215
-
The list of all variables that can be overridden is available at [arduino-mk-vars.md](arduino-mk-vars.md) file.
236
+
216
237
217
238
## Including Libraries
218
239
219
-
You can specify space separated list of libraries that are needed for your sketch to the variable `ARDUINO_LIBS`.
240
+
You can specify space separated list of libraries that are needed for your sketch in the variable `ARDUINO_LIBS`.
220
241
221
242
```make
222
243
ARDUINO_LIBS = Wire SoftwareSerial
223
244
```
224
245
225
-
The libraries will be searched in the following places in the following order.
246
+
The libraries will be searched for in the following places in the following order.
226
247
227
248
-`/libraries` directory inside your sketchbook directory. Sketchbook directory will be auto detected from your Arduino preference file. You can also manually set it through `ARDUINO_SKETCHBOOK`.
228
249
-`/libraries` directory inside your Arduino directory, which is read from `ARDUINO_DIR`.
0 commit comments