Mercurial > public > ostc4
view ostc4pack/create_full_update_bin.sh @ 741:6a35e2e97bfb
Added button lock after wakeup in surface mode:
During setup of diveequipment the OSTC4 is sometimes operated unintended (e.g. while equipping the jaket). To avoid this it is now possible to activate a button lock in the button lock sensitivity menu. The OSTC4 will then wakeup as usuall but if the diver wants to oerate the menus he has to press the buttons in a certain order. The button to be pressed is indicated by a blue bar. The button lock is deactivated in dive mode.
author | Ideenmodellierer |
---|---|
date | Thu, 02 Feb 2023 17:35:54 +0100 |
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