We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8502cea commit 80b75cfCopy full SHA for 80b75cf
.github/scripts/sketch_utils.sh
@@ -94,8 +94,8 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
94
# precedence. Note that the following logic also falls to the default
95
# parameters if no arguments were passed and no file was found.
96
97
- if [ $options -eq 0 ] && [ -f $sketchdir/cfg ]; then
98
- opts=`cat $sketchdir/cfg`
+ if [ $options -eq 0 ] && [ -f $sketchdir/cfg.json ]; then
+ opts=`jq -r --arg chip $target '.targets[] | select(.name==$chip) | .fqbn' $sketchdir/cfg.json`
99
else
100
partition="PartitionScheme=$partition_opt"
101
ff="FlashFreq=$ff_opt"
0 commit comments