Skip to content

Conversation

sandeepmistry
Copy link
Contributor

Related to #4702.

If a --pref option is passed into the IDE as a command line arg, then it is also saved in the preferences.txt file with a build_properties_custom. prefix.

For example: arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --install-boards esp8266:esp8266

will add the following line:

build_properties_custom.boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json

The main purpose of the build_properties_custom.* properties is to pass in custom build properties to the Compiler. See Compiler.java. I think these parameters are not mean't to be persistent.

@cmaglie cmaglie merged commit f47165d into arduino:master Apr 12, 2016
@cmaglie
Copy link
Member

cmaglie commented Apr 12, 2016

Tested and works for me.

@cmaglie cmaglie added this to the Release 1.6.9 milestone Apr 12, 2016
@sandeepmistry sandeepmistry deleted the no-save-build_properties_custom-prefs branch July 18, 2016 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants