forked from emax73/HUB75
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
89 lines (71 loc) · 4.1 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/**
@page STemWin_HelloWorld STemWin HelloWorld Readme file
@verbatim
******************** (C) COPYRIGHT 2015 STMicroelectronics *******************
* @file STemWin/STemWin_HelloWorld/readme.txt
* @author MCD Application Team
* @version V1.3.0
* @date 14-August-2015
* @brief Description of STemWin Hello World application.
******************************************************************************
*
* Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************
@endverbatim
@par Application Description
This directory contains a set of source files that implement a simple "Hello
Wolrd" application based on STemWin for STM32F4xx devices.
The application allows also to run the different Segger samples that can be
downloaded from here:
http://www.segger.com/emwin-samples.html
To do this, user has only to replace the file "Basic_HelloWorld.c" into the
project workspace by the downloaded one.
As application, two sample source files are provided (but not linked to the project):
STemWin/STemWin_HelloWorld/Src/MEMDEV_WM_Ticker.c
STemWin/STemWin_HelloWorld/Src/MOVIE_ShowFeatures.c
Note that the following user files may need to be updated:
LCDConf_stm32f429i_disco_MB1075.c
GUIConf.c
(if for example more GUI allocated memory is needed)
@note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds)
based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from
a peripheral ISR process, then the SysTick interrupt must have higher priority (numerically lower)
than the peripheral interrupt. Otherwise the caller ISR process will be blocked.
To change the SysTick interrupt priority you have to use HAL_NVIC_SetPriority() function.
@note The application needs to ensure that the SysTick time base is always set to 1 millisecond
to have correct HAL operation.
@par Directory contents
- STemWin/STemWin_HelloWorld/Inc/GUIConf.h Header for GUIConf.c
- STemWin/STemWin_HelloWorld/Inc/LCDConf.h Header for LCDConf*.c
- STemWin/STemWin_HelloWorld/Inc/main.h Main program header file
- STemWin/STemWin_HelloWorld/Inc/stm32f4xx_hal_conf.h Library Configuration file
- STemWin/STemWin_HelloWorld/Inc/stm32f4xx_it.h Interrupt handlers header file
- STemWin/STemWin_HelloWorld/Src/BASIC_HelloWorld.c Simple demo drawing "Hello world"
- STemWin/STemWin_HelloWorld/Src/GUIConf.c Display controller initialization
- STemWin/STemWin_HelloWorld/Src/LCDConf_stm32f429i_disco_MB1075.c Configuration file for the GUI library (MB1075 LCD)
- STemWin/STemWin_HelloWorld/Src/main.c Main program file
- STemWin/STemWin_HelloWorld/Src/stm32f4xx_it.c STM32F4xx Interrupt handlers
- STemWin/STemWin_HelloWorld/Src/system_stm32f4xx.c STM32F4xx system file
@par Hardware and Software environment
- This application runs on STM32F429xx devices.
- This application has been tested with STMicroelectronics STM32F429I-Discovery RevB
boards and can be easily tailored to any other supported device
and development board.
@par How to use it ?
In order to make the program work, you must do the following :
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the application
* <h3><center>© COPYRIGHT STMicroelectronics</center></h3>
*/