stm32 display two-dimensional code STemwin5.22 library instead STemwin5.44 library

Today would have been prepared with a two-dimensional code image stm32f103zet study found that there has been ported good engineering STemwin there is no static library GUI_QR_creat (), GUI_QR_delete (), GUI_QR_Draw (), GUI_QR_GetInfo () 4 API functions. Originally used in transplantation is already good punctuality atoms stemwin bare metal programming files, punctuality atom emwin library is version 5.26, which belongs to the old version, and I read emwin contains a two-dimensional code generation library is the minimum version 5.36, so I need the static library STemWin526_CM3_Keil.lib under emwin library to replace the version containing the two-dimensional code.

st official website is currently down to the 5.32 version number is not available, you want to download the latest emwin, requires:

 

1. Download stcubemx

2. Download the corresponding f1 inside the library (note that the library has a lot of F1, the following comments in English)

3. Locate the file C: \ Users \ user the people \ STM32Cube \ Repository \ STM32Cube_FW_F1_V1.2.0 \ Middlewares \ ST \ STemWin \ Lib

Presentation charts in the latest update because I have no library, so the version is 5.28. Since learning emwin while ago, several sub-stm32 information boards at the times, I looked at wildfire emwin library is version 5.44, so the next whole is emwin5.44 the library, for example.

1. Locate F103_ overbearing \ STemWIN544_ transplant bare metal template \ STemWin \ lib STemWin_CM3_wc16_ARGB.a. (I did find that there is no .lib static library file, I think the file is damaged, if not actual, stemwin static library under the new version only .a) would they need STemWin_CM3_wc16_ARGB.a file to replace the original fell into their STemWin526_CM3_Keil.lib and then join the project.

2.STemWin_CM3_wc16_ARGB.a files need to right STemwin_CM3_wc16_ARGB.a, click the option for file "xxxx" which can modify FILE Type library correctly added to it.

 

 

3. The generated hex is wrong, as well as the final step needed all the documents to replace inc.

To complete it if you are a player punctual atoms, congratulations you are a step

4. As with the original library is RGB, the new library is ARGB, corresponding to the difference between the two RGB code, although the program has not wrong, but the colors are wrong, all you want to GUI_ConfDefaults.h at the macro GUI_USE_ARGB Definition 0 into 1

 

 Generating a color code.

Links: httpspan.baidu.coms1zeeHblxon1EMPPJF1u5s3w 
extraction code: ig93 
compiled by the '' ''

 

 

 

 

 

19:41:24    2020-03-25 

 

Guess you like

Origin www.cnblogs.com/beniah/p/12568974.html