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: docs/package_index_json-specification.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ Each tool version may come in different build flavours for different OS. Each fl
134
134
* Windows (`i686-mingw32`),
135
135
* Mac (`i386-apple-darwin11`)
136
136
137
-
The IDE will take care to install the right flavour based on the `host` value, or fail if a needed flavour is missing.\
137
+
The IDE will take care to install the right flavour based on the `host` value, or fail if a needed flavour is missing.<br>
138
138
Note that the IDE does not use this information to select the toolchain during verify. If you want the IDE to use this specific version you should use the notation {runtime.tools.TOOLNAME-VERSION.path} in the platform.txt.
Copy file name to clipboardExpand all lines: docs/platform-specification.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
This specification is a 3rd party Hardware format to be used in Arduino IDE starting from 1.5.x series.\
2
-
This specification allows a 3rd party vendor/maintainer to add support for new boards inside the Arduino IDE by providing a file to unzip into the *hardware* folder of Arduino's sketchbook folder.\
1
+
This specification is a 3rd party Hardware format to be used in Arduino IDE starting from 1.5.x series.<br>
2
+
This specification allows a 3rd party vendor/maintainer to add support for new boards inside the Arduino IDE by providing a file to unzip into the *hardware* folder of Arduino's sketchbook folder.<br>
3
3
It is also possible to add new 3rd party boards by providing just one configuration file.
4
4
5
5
## Hardware Folders structure
@@ -78,7 +78,7 @@ The following meta-data must be defined:
78
78
name=Arduino AVR Boards
79
79
version=1.5.3
80
80
81
-
The **name** will be shown in the Boards menu of the Arduino IDE.\
81
+
The **name** will be shown in the Boards menu of the Arduino IDE.<br>
82
82
The **version** is currently unused, it is reserved for future use (probably together with the libraries manager to handle dependencies on cores).
83
83
84
84
### Build process
@@ -356,7 +356,7 @@ instead, the Arduino Leonardo board needs the *leonardo* variant:
356
356
leonardo.build.variant=leonardo
357
357
[.....]
358
358
359
-
In the example above, both Uno and Leonardo share the same core but use different variants.\
359
+
In the example above, both Uno and Leonardo share the same core but use different variants.<br>
360
360
In any case, the contents of the selected variant folder path is added to the include search path and its contents are compiled and linked with the sketch.
361
361
362
362
The parameter **build.variant.path** is automatically found by the IDE.
@@ -385,7 +385,7 @@ Each action has its own recipe and its configuration is done through a set of pr
385
385
tools.avrdude.bootloader.pattern=[......]
386
386
[.....]
387
387
388
-
A tool may have some actions not defined (it's not mandatory to define all four actions).\
388
+
A tool may have some actions not defined (it's not mandatory to define all four actions).<br>
389
389
Let's look at how the **upload** action is defined for avrdude:
390
390
391
391
tools.avrdude.path={runtime.tools.avrdude.path}
@@ -400,7 +400,7 @@ The Arduino IDE makes the tool configuration properties available globally witho
400
400
401
401
#### Verbose parameter
402
402
403
-
It is possible for the user to enable verbosity from the Arduino IDE's Preferences panel. This preference is transferred to the command line by the IDE using the **ACTION.verbose** property (where ACTION is the action we are considering).\
403
+
It is possible for the user to enable verbosity from the Arduino IDE's Preferences panel. This preference is transferred to the command line by the IDE using the **ACTION.verbose** property (where ACTION is the action we are considering).<br>
404
404
When the verbose mode is enabled the **tools.TOOL_ID.ACTION.params.verbose** property is copied into **ACTION.verbose**. When the verbose mode is disabled, the **tools.TOOL_ID.ACTION.params.quiet** property is copied into **ACTION.verbose**. Confused? Maybe an example will clear things:
405
405
406
406
tools.avrdude.upload.params.verbose=-v -v -v -v
@@ -480,7 +480,7 @@ The platform.txt associated with the selected board will be used.
480
480
The Arduino IDE allows adding extra menu items under the Tools menu. With these sub-menus the user can select different configurations for a specific board (for example a board could be provided in two or more variants with different CPUs, or may have different crystal speed based on the board model, and so on...).
481
481
482
482
Let's see an example of how a custom menu is implemented.
483
-
The board used in the example is the Arduino Duemilanove. This board was produced in two models, one with an ATmega168 CPU and another with an ATmega328P.\
483
+
The board used in the example is the Arduino Duemilanove. This board was produced in two models, one with an ATmega168 CPU and another with an ATmega328P.<br>
484
484
We are going then to define a custom menu "Processor" that allows the user to choose between the two
485
485
different microcontrollers.
486
486
@@ -489,7 +489,7 @@ We must first define a set of **menu.MENU_ID=Text** properties. Text is what is
489
489
menu.cpu=Processor
490
490
[.....]
491
491
492
-
in this case we declare only one custom menu "Processor" which we refer using the "cpu" MENU_ID.\
492
+
in this case we declare only one custom menu "Processor" which we refer using the "cpu" MENU_ID.<br>
493
493
Now let's add, always in the boards.txt file, the default configuration (common to all processors) for the duemilanove board:
494
494
495
495
menu.cpu=Processor
@@ -511,8 +511,8 @@ Now let's define the options to show in the "Processor" menu:
511
511
duemilanove.menu.cpu.atmega168=ATmega168
512
512
[.....]
513
513
514
-
We have defined two options: "ATmega328P" and "ATmega168".\
515
-
Note that the property keys must follow the format **BOARD_ID.menu.MENU_ID.OPTION_ID=Text**.\
514
+
We have defined two options: "ATmega328P" and "ATmega168".<br>
515
+
Note that the property keys must follow the format **BOARD_ID.menu.MENU_ID.OPTION_ID=Text**.<br>
516
516
Finally, the specific configuration for every option:
0 commit comments