Skip to content

Commit 76d471d

Browse files
committed
Do not use FQBN "configs" part in saving .hex or .bin from compile
Fix #64
1 parent 0c4801c commit 76d471d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: commands/compile/compile.go

+2
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ func run(cmd *cobra.Command, args []string) {
236236
ext := filepath.Ext(outputPath)
237237

238238
// FIXME: Make a function to produce a better name...
239+
// Make the filename without the FQBN configs part
240+
fqbn.Configs = properties.NewMap()
239241
fqbnSuffix := strings.Replace(fqbn.String(), ":", ".", -1)
240242

241243
// Copy .hex file to sketch directory

0 commit comments

Comments
 (0)