We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6264d6b commit 2853b7cCopy full SHA for 2853b7c
.github/scripts/sketch_utils.sh
@@ -416,10 +416,17 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
416
echo "Start Sketch: $start_num"
417
echo "End Sketch : $end_index"
418
419
+ #if fqbn is not passed then set it to default for compilation log
420
+ if [ -z $fqbn ]; then
421
+ log_fqbn="espressif:esp32:$target"
422
+ else
423
+ log_fqbn=$fqbn
424
+ fi
425
+
426
sizes_file="$GITHUB_WORKSPACE/cli_compile_$chunk_index.json"
427
if [ $log_compilation ]; then
428
#echo board,target and start of sketches to sizes_file json
- echo "{ \"board\": \"$fqbn\",
429
+ echo "{ \"board\": \"$log_fqbn\",
430
\"target\": \"$target\",
431
\"sketches\": [" >> "$sizes_file"
432
fi
0 commit comments