@@ -2451,8 +2451,9 @@ <h4 id="automatic-property-override-for-specific-os">Automatic property override
2451
2451
< h4 id ="global-predefined-properties "> Global Predefined properties< a class ="headerlink " href ="#global-predefined-properties " title ="Permanent link "> ¶</ a > </ h4 >
2452
2452
< p > The following automatically generated properties can be used globally in all configuration files:</ p >
2453
2453
< ul >
2454
- < li > < code > {runtime.platform.path}</ code > : the absolute path of the < a href ="#platform-terminology "> board platform</ a > folder (i.e. the folder
2455
- containing boards.txt)</ li >
2454
+ < li > < code > {runtime.platform.path}</ code > : is the absolute path of the < a href ="#platform-terminology "> board platform</ a > folder (i.e. the folder
2455
+ containing boards.txt) unless < code > {runtime.use_core_platform_path_for_runtime_platform_path}</ code > is set to < code > true</ code > in this
2456
+ case, the value is the absolute path of the referenced core platform.</ li >
2456
2457
< li > < code > {runtime.hardware.path}</ code > : the absolute path of the hardware folder (i.e. the folder containing the
2457
2458
< a href ="#platform-terminology "> board platform</ a > folder)</ li >
2458
2459
< li > < code > {runtime.ide.path}</ code > : the absolute path of the Arduino IDE or Arduino CLI folder</ li >
@@ -2481,8 +2482,12 @@ <h4 id="global-predefined-properties">Global Predefined properties<a class="head
2481
2482
< li > < code > {extra.time.zone}</ code > : local timezone offset without the DST component</ li >
2482
2483
< li > < code > {extra.time.dst}</ code > : local daylight savings time offset</ li >
2483
2484
</ ul >
2484
- < p > Compatibility note: Versions before Arduino IDE 1.6.0 only used one digit per version number component in
2485
- < code > {runtime.ide.version}</ code > (so 1.5.9 was < code > 159</ code > , not < code > 10509</ code > ).</ p >
2485
+ < p > Compatibility notes:</ p >
2486
+ < ul >
2487
+ < li > Versions before Arduino IDE 1.6.0 only used one digit per version number component in < code > {runtime.ide.version}</ code > (so
2488
+ 1.5.9 was < code > 159</ code > , not < code > 10509</ code > ).</ li >
2489
+ < li > < code > {runtime.use_core_platform_path_for_runtime_platform_path}</ code > support is available from Arduino CLI >=1.0.4.</ li >
2490
+ </ ul >
2486
2491
< h2 id ="platformtxt "> platform.txt< a class ="headerlink " href ="#platformtxt " title ="Permanent link "> ¶</ a > </ h2 >
2487
2492
< p > The platform.txt file contains information about a platform's specific aspects (compilers command line flags, paths,
2488
2493
system libraries, etc.).</ p >
@@ -2811,6 +2816,9 @@ <h2 id="boardstxt">boards.txt<a class="headerlink" href="#boardstxt" title="Perm
2811
2816
overwritten respectively by < strong > {uno.build.mcu}</ strong > and < strong > {uno.build.board}</ strong > when the Uno board is selected! Moreover the
2812
2817
following properties are automatically generated:</ p >
2813
2818
< ul >
2819
+ < li > < code > {build.board.platform.path}</ code > : The path to the selected board's platform. (available since Arduino CLI >=1.0.4)</ li >
2820
+ < li > < code > {build.core.platform.path}</ code > : The path to the core's platform. It may differ from the board's platform path because
2821
+ the latter may reference a core from another platform. (available since Arduino CLI >=1.0.4)</ li >
2814
2822
< li > < code > {build.core.path}</ code > : The path to the selected board's core folder (inside the < a href ="#platform-terminology "> core platform</ a > ,
2815
2823
for example hardware/arduino/avr/core/arduino)</ li >
2816
2824
< li > < code > {build.system.path}</ code > : The path to the < a href ="#platform-terminology "> core platform</ a > 's system folder if available (for
0 commit comments