view ostc4pack/create_full_update_bin.sh @ 678:05cdd367dbd0 Betatest

Bugfix: deco planner did not initialize properly Redoing a deco calculation in the planner, after a change in used gasses, did result in wrong gas usage figures. And a restart after sleep made things right again. This all feels like some initialization problem. Nothing very important as it's only a desktop planner, but a bug it is. Code reading, I found the not correctly initialized data. Reported-by: Teun (forum user tdewilt2) Signed-off-by: Jan Mulder <jan@jlmulder.nl>
author Jan Mulder <jan@jlmulder.nl>
date Thu, 21 Apr 2022 21:02:50 +0200
parents f4b553da620a
children
line wrap: on
line source

#!/bin/bash

#
# path and file name settings
#

# the build products are here
BUILD_PATH="$HOME/ac6_workspace"

# Debug or Release build
BUILD_TYPE="Debug"

# build project names
CPU1_DISCOVERY="ostc4_discovery"
CPU1_FONTPACK="ostc4_fontpack"
CPU2_RTE="ostc4_rte"

#
# End of path and file name settings
#

#
# Copy the bin files to pack. Build them seperately
#
cp $BUILD_PATH/$CPU1_DISCOVERY/$BUILD_TYPE/$CPU1_DISCOVERY.bin .
cp $BUILD_PATH/$CPU1_FONTPACK/$BUILD_TYPE/$CPU1_FONTPACK.bin .
cp $BUILD_PATH/$CPU2_RTE/$BUILD_TYPE/$CPU2_RTE.bin .

#
# OSTC4pack_V4 all
#
./src/OSTC4pack_V4 1 $CPU1_DISCOVERY.bin
./src/OSTC4pack_V4 2 $CPU1_FONTPACK.bin
./src/OSTC4pack_V4 0 $CPU2_RTE.bin

#
# Final pack
#
./src/checksum_final_add_fletcher ${CPU1_DISCOVERY}_upload.bin \
				${CPU1_FONTPACK}_upload.bin \
				${CPU2_RTE}_upload.bin