When I build the files locally, I get:
target/controller-photon/firmware.elftarget/controller-photon/firmware.bin
When the files are built by Travis, the logs show that the build tires to make a controller.bin instead of a firmware.bin file and some things go wrong with the CRC handling.
When doing a release, I manually rename the files to:
brewpi-0.4.2-photon.bin
I think it would be great that when building, the file name would be:
appname-version-platform.bin
Errors on Travis:
~/build/BrewPi/firmware/platform/spark ~/build/BrewPi/firmware
/home/travis/build/BrewPi/firmware/platform/spark
building PLATFORM=core APP=controller
source path /home/travis/build/BrewPi/firmware
using 0.4.2-53-gb3025a6 as build name
stat: head: cannot open `/home/travis/build/BrewPi/firmware/platform/spark/target/controller-core/controller.bin.pre_crc' for reading: No such file or directory
cannot stat `/home/travis/build/BrewPi/firmware/platform/spark/target/controller-core/controller.bin.pre_crc': No such file or directory
head: text data bss dec hex filename
cannot open `/home/travis/build/BrewPi/firmware/platform/spark/target/controller-core/controller.bin.pre_crc' for reading: No such file or directory
108312 2208 10172 120692 1d774 /home/travis/build/BrewPi/firmware/platform/spark/target/controller-core/controller.elf
✓ SUCCESS
When I build the files locally, I get:
target/controller-photon/firmware.elf
target/controller-photon/firmware.bin
When the files are built by Travis, the logs show that the build tires to make a
controller.bin
instead of afirmware.bin
file and some things go wrong with the CRC handling.When doing a release, I manually rename the files to:
brewpi-0.4.2-photon.bin
I think it would be great that when building, the file name would be:
appname-version-platform.bin
Errors on Travis: