Skip to content

Commit 90c0bf9

Browse files
committed
Fix GUI storage address (same as settings bug)
1 parent 1bc62ad commit 90c0bf9

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/
4242
Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/
4343
workspace/ts100/ts100.xml
4444
workspace/ts100_old/*
45+
*.cache

Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private void btnSaveHex_Click(object sender, EventArgs e)
148148
data[i] = data[i + 1];
149149
data[i + 1] = temp;
150150
}
151-
string outputHexFile = IntelHex.IntelHex.encode(data, 0x0800B800, 16, true, true);//16 bytes is the only format the DFU seems to support //0x0800B800
151+
string outputHexFile = IntelHex.IntelHex.encode(data, 0x0800F800, 16, true, true);//16 bytes is the only format the DFU seems to support //0x0800B800
152152
//^ This string now just needs to be written out to a text file :)
153153
SaveFileDialog dlg = new SaveFileDialog();
154154
dlg.Title = "Save DFU File";

Bootup Logo/python_logo_converter/img2ts100.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def img2hex(input_filename,
158158
# store in endian-reversed byte order
159159
data[4 + ndx + (1 if ndx % 2 == 0 else -1)] = byte
160160

161-
intel_hex(output_file, data, 0x0800B800)
161+
intel_hex(output_file, data, 0x0800F800)
162162

163163

164164
def parse_commandline():

workspace/TS100/inc/Translation.h

+2
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ extern const char SettingRightChar;
3333
extern const char SettingLeftChar;
3434
extern const char SettingAutoChar;
3535

36+
#define LANG_EN
37+
3638
#endif /* TRANSLATION_H_ */

workspace/TS100/src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
10101010
}
10111011

10121012
#define FLASH_LOGOADDR \
1013-
(0x8000000 | 0xB800) /*second last page of flash set aside for logo image*/
1013+
(0x8000000 | 0xF800) /*second last page of flash set aside for logo image*/
10141014

10151015
bool showBootLogoIfavailable() {
10161016
// check if the header is there (0xAA,0x55,0xF0,0x0D)

0 commit comments

Comments
 (0)