Skip to content

Commit 0bd1a16

Browse files
committed
Changed Insights Firmware package output directory
1 parent 227b36a commit 0bd1a16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ recipe.objcopy.bin.pattern="{tools.esptool_py.path}/{tools.esptool_py.cmd}" {rec
219219
recipe.objcopy.bin.pattern.linux=python3 "{tools.esptool_py.path}/{tools.esptool_py.cmd}" {recipe.objcopy.bin.pattern_args}
220220

221221
## Create Insights Firmware Package
222-
recipe.hooks.objcopy.postobjcopy.1.pattern_args={build.path} {build.project_name} {build.path}
222+
recipe.hooks.objcopy.postobjcopy.1.pattern_args={build.path} {build.project_name} "{build.source.path}/insights_pkg"
223+
recipe.hooks.objcopy.postobjcopy.1.pattern_args.windows={build.path} {build.project_name} "{build.source.path}\insights_pkg"
223224
recipe.hooks.objcopy.postobjcopy.1.pattern=bash -c "[ ! -d {build.path}/libraries/Insights ] || {tools.gen_insights_pkg.cmd} {recipe.hooks.objcopy.postobjcopy.1.pattern_args}"
224225
recipe.hooks.objcopy.postobjcopy.1.pattern.windows=cmd /c if exist "{build.path}\libraries\Insights" ({tools.gen_insights_pkg.cmd} {recipe.hooks.objcopy.postobjcopy.1.pattern_args})
225226

0 commit comments

Comments
 (0)