File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ compiler.elf2bin.extra_flags=
73
73
compiler.elf2hex.extra_flags=
74
74
75
75
# Custom build options
76
- build.opt.name=build_opt.h
76
+ build.opt.name=build.opt
77
77
build.opt.path={build.path}/{build.opt.name}
78
78
79
79
# Check if custom build options exist in the sketch folder
80
- recipe.hooks.prebuild.1.pattern=bash -c "[ ! -f "{build.source.path}"/build_opt.h ] || cp -f "{build.source.path}"/build_opt.h "{build.path}"/build_opt.h "
81
- recipe.hooks.prebuild.2.pattern=bash -c "[ -f "{build.path}"/build_opt.h ] || touch "{build.path}"/build_opt.h "
80
+ recipe.hooks.prebuild.1.pattern=bash -c "[ ! -f "{build.source.path}"/build_opt.h ] || cp -f "{build.source.path}"/build_opt.h "{build.path}"/build.opt "
81
+ recipe.hooks.prebuild.2.pattern=bash -c "[ -f "{build.path}"/build.opt ] || touch "{build.path}"/build.opt "
82
82
83
- recipe.hooks.prebuild.1.pattern.windows=cmd /c if exist "{build.source.path}\build_opt.h" COPY /y "{build.source.path}\build_opt.h" "{build.path}\build_opt.h "
84
- recipe.hooks.prebuild.2.pattern.windows=cmd /c if not exist "{build.path}\build_opt.h " type nul > "{build.path}\build_opt.h "
83
+ recipe.hooks.prebuild.1.pattern.windows=cmd /c if exist "{build.source.path}\build_opt.h" COPY /y "{build.source.path}\build_opt.h" "{build.path}\build.opt "
84
+ recipe.hooks.prebuild.2.pattern.windows=cmd /c if not exist "{build.path}\build.opt " type nul > "{build.path}\build.opt "
85
85
86
86
87
87
# Compile patterns
You can’t perform that action at this time.
0 commit comments