16
|
1 /**
|
|
2 ******************************************************************************
|
|
3 * @copyright heinrichs weikamp
|
|
4 * @file base_upperRegion.c
|
|
5 * @author heinrichs/weikamp, Christian Weikamp
|
|
6 * @date 31-August-2015
|
|
7 * @version V0.0.3
|
|
8 * @since 03-Dez-2016
|
|
9 * @brief The beginning of it all. main() is part of this.
|
|
10 * @bug
|
|
11 * @warning
|
|
12 @verbatim
|
|
13 ==============================================================================
|
|
14 ##### New characters in fonts #####
|
|
15 ==============================================================================
|
|
16 [..] Use font_tmore.c and add line to corresponding font like font_t54c
|
|
17 Don't forget to adjust the length of the font in the last line starting
|
|
18 const tFont .....
|
|
19
|
21
|
20 [..] last char vor der gro�en L�cke, Stand 160217
|
16
|
21 image_data_FontT24_0x002b[364]
|
|
22 __attribute__((at( START_T24_FONT + (1647 * 28) ))), START_T24_FONT (0x08142F00 - MINUS_BANK)
|
|
23
|
|
24 -> frei ab 0x0814E490
|
|
25 geht dann weiter mit image_data_ostc_fuer_Tauchcomputer_240px
|
|
26 sind ca. 120 kByte frei!
|
|
27
|
|
28 @endverbatim
|
|
29 ******************************************************************************
|
|
30 * @attention
|
|
31 *
|
|
32 * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
33 *
|
|
34 ******************************************************************************
|
|
35 */
|
|
36
|
|
37 /* Includes ------------------------------------------------------------------*/
|
21
|
38
|
|
39 #include "FirmwareData.h"
|
|
40 #include "gfx_fonts.h"
|
16
|
41
|
|
42 #include "stm32f4xx_hal.h"
|
|
43
|
21
|
44 const SFirmwareData font_FirmwareData SECTION_FIRMWARE_DATA =
|
16
|
45 {
|
21
|
46 .versionFirst = 0,
|
|
47 .versionSecond = 9,
|
|
48 .versionThird = 0,
|
|
49 .versionBeta = 0,
|
|
50
|
|
51 /* 4 bytes, including trailing 0 */
|
|
52 .signature = "cw",
|
16
|
53
|
21
|
54 .release_year = 16,
|
|
55 .release_month = 1,
|
|
56 .release_day = 13,
|
|
57 .release_sub = 0,
|
16
|
58
|
21
|
59 /* max 48, including trailing 0 */
|
|
60 .release_info ="",
|
16
|
61
|
21
|
62 /* for safety reasons and coming functions */
|
|
63 .magic[0] = FIRMWARE_MAGIC_FIRST,
|
|
64 .magic[1] = FIRMWARE_MAGIC_SECOND,
|
|
65 .magic[2] = FIRMWARE_MAGIC_FONT, /* the magic byte for fonts*/
|
|
66 .magic[3] = FIRMWARE_MAGIC_END
|
16
|
67 };
|
|
68
|
21
|
69 /* Fonts fixed in upper region */
|
|
70 #include "Fonts/font_awe48.h"
|
|
71 #include "Fonts/font_T24.h"
|
|
72 #include "Fonts/font_T42.h"
|
|
73 #include "Fonts/font_T48_plus.h"
|
|
74 #include "Fonts/font_T54.h"
|
|
75 #include "Fonts/font_T84.h"
|
|
76 #include "Fonts/font_T105.h"
|
|
77 #include "Fonts/font_T144_plus.h"
|
16
|
78
|
21
|
79 /* Images fixed in upper region */
|
|
80 #include "Fonts/image_battery.h"
|
|
81 #include "Fonts/image_heinrichs_weikamp.h"
|
|
82 #include "Fonts/image_ostc.h"
|
16
|
83
|
21
|
84 int main(void)
|
16
|
85 {
|
21
|
86 return 0;
|
16
|
87 }
|
|
88
|
|
89 /************************ (C) COPYRIGHT heinrichs weikamp *****END OF FILE****/
|