Mercurial > public > ostc4
annotate ostc4pack/create_full_update_bin.sh @ 210:b2a9e9b02df0 cv-persistent
New feature: make selected customviews persistent
Add the set of selected customviews during dive time to the
persistent settings. Nothing has changed to the menu, so a user
still has to access the on/off page from the simulator or during
an actual dive, but once changed here, the settings are preserved
for later dives. It feels a bit as waste of menu space to add a second
page for something that is already available. And further, I have to
admit the adding a page is rather complex to get the navigation right,
so that is a 2nd argument not to add a page.
Further, getting this one setting saved to the persist
preferences is a bit of a hack. Misused an existing global bool
value (WriteSettings) to force a actual write despite not being
in surface mode.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author | Jan Mulder <jlmulder@xs4all.nl> |
---|---|
date | Tue, 26 Mar 2019 13:00:15 +0100 |
parents | 9c77cfe8c2b2 |
children | f4b553da620a |
rev | line source |
---|---|
163 | 1 #!/bin/bash |
2 | |
3 # | |
4 # path and file name settings | |
5 # | |
6 | |
7 # the build products are here | |
8 BUILD_PATH="$HOME/OSTC4workspace" | |
9 | |
10 # Debug or Release build | |
11 BUILD_TYPE="Release" | |
12 | |
13 # build project names | |
14 CPU1_DISCOVERY="CPU1-Discovery" | |
15 CPU1_FONTPACK="CPU1-FontPack" | |
16 CPU2_RTE="CPU2-RTE" | |
17 | |
18 # | |
19 # End of path and file name settings | |
20 # | |
21 | |
22 # | |
23 # Copy the bin files to pack. Build them seperately | |
24 # | |
25 cp $BUILD_PATH/$CPU1_DISCOVERY/$BUILD_TYPE/$CPU1_DISCOVERY.bin . | |
26 cp $BUILD_PATH/$CPU1_FONTPACK/$BUILD_TYPE/$CPU1_FONTPACK.bin . | |
27 cp $BUILD_PATH/$CPU2_RTE/$BUILD_TYPE/$CPU2_RTE.bin . | |
28 | |
29 # | |
30 # OSTC4pack_V4 all | |
31 # | |
32 ./src/OSTC4pack_V4 1 $CPU1_DISCOVERY.bin | |
33 ./src/OSTC4pack_V4 2 $CPU1_FONTPACK.bin | |
34 ./src/OSTC4pack_V4 0 $CPU2_RTE.bin | |
35 | |
36 # | |
37 # Final pack | |
38 # | |
39 ./src/checksum_final_add_fletcher ${CPU1_DISCOVERY}_upload.bin \ | |
40 ${CPU1_FONTPACK}_upload.bin \ | |
41 ${CPU2_RTE}_upload.bin |