Describe the problem
When I build my project 5 files are generated:
- my-project.ino.eep
- my-project.ino.elf
- my-project.ino.hex
- my-project.ino.with_bootloader.bin
- my-project.ino.with_bootloader.hex
When I add --build-property build.project_name=newname option 3 files are generated:
- newname.eep
- newname.elf
- newname.hex
To reproduce
Without build.project_name property:
$ arduino-cli compile --build-path build/ src/my-project/
$ ls build/
$ tree -L1 build/
build/
├── build.options.json
├── compile_commands.json
├── core/
├── includes.cache
├── libraries/
├── libraries.cache
├── my-project.ino.eep
├── my-project.ino.elf
├── my-project.ino.hex
├── my-project.ino.with_bootloader.bin
├── my-project.ino.with_bootloader.hex
└── sketch/
With build.project_name property:
$ arduino-cli compile --build-path build/ src/my-project/ --build-property build.project_name=newname
$ tree -L1 build/
build/
├── build.options.json
├── compile_commands.json
├── core/
├── includes.cache
├── libraries/
├── libraries.cache
├── newname.eep
├── newname.elf
├── newname.hex
└── sketch/
Expected behavior
I expected to find the following files:
- newname.eep
- newname.elf
- newname.hex
- newname.with_bootloader.bin
- newname.with_bootloader.hex
Arduino CLI version
1.4.0-1
Operating system
Linux
Operating system version
Manjaro Linux
Additional context
Still occurs when using the nightly build
Issue checklist
Describe the problem
When I build my project 5 files are generated:
When I add
--build-property build.project_name=newnameoption 3 files are generated:To reproduce
Without build.project_name property:
With build.project_name property:
Expected behavior
I expected to find the following files:
Arduino CLI version
1.4.0-1
Operating system
Linux
Operating system version
Manjaro Linux
Additional context
Still occurs when using the nightly build
Issue checklist