Custom boards per project with `boards_dir` option in platformio.ini // Resolve #515

This commit is contained in:
Ivan Kravets committed 2016-10-31 17:41:01 +02:00
1 parent e4a91b8343
commit 7b4d94ccfb
6 files changed
+74 -36

No files matched your search

+5
View File
@@ -258,6 +258,11 @@ def get_projecttest_dir():
"test"))
def get_projectboards_dir():
return _get_projconf_option_dir("boards_dir", join(get_project_dir(),
"boards"))
def get_projectpioenvs_dir(force=False):
path = _get_projconf_option_dir("envs_dir",
join(get_project_dir(), ".pioenvs"))