2021-09-09 20:52:56 索煒達(dá)電子 927
完成了STemWin5.22在原子MiniSTM32 V3.0板子上的移植
主要修改了lcd_drv.c、lcd_tft.c和LCDConf_FlexColor_Template.c,各位可參見附件工程中的源碼,我用/******** BULA ***/加了部分注釋。
另外,橫屏顯示還需要修改代碼,大家一起研究吧!
目錄│文件列表:
└ STemWin5.22移植(MiniSTM32 V3.0)
│ keilkilll.bat
├ CMSIS
│ ├ CM3
│ │ │ stm32f10x.h
│ │ │ stm32f10x_conf.h
│ │ │ stm32f10x_it.c
│ │ │ stm32f10x_it.h
│ │ │ system_stm32f10x.c
│ │ │ system_stm32f10x.h
│ │ ├ CORE
│ │ │ │ core_cm3.c
│ │ │ └ core_cm3.h
│ │ └ STARTUP
│ │ │ startup_stm32f10x_cl.s
│ │ │ startup_stm32f10x_hd.s
│ │ │ startup_stm32f10x_hd_vl.s
│ │ │ startup_stm32f10x_ld.s
│ │ │ startup_stm32f10x_ld_vl.s
│ │ │ startup_stm32f10x_md.s
│ │ │ startup_stm32f10x_md_vl.s
│ │ └ startup_stm32f10x_xl.s
│ └ STM32LIB
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f10x_adc.h
│ │ │ stm32f10x_bkp.h
│ │ │ stm32f10x_can.h
│ │ │ stm32f10x_cec.h
│ │ │ stm32f10x_crc.h
│ │ │ stm32f10x_dac.h
│ │ │ stm32f10x_dbgmcu.h
│ │ │ stm32f10x_dma.h
│ │ │ stm32f10x_exti.h
│ │ │ stm32f10x_flash.h
│ │ │ stm32f10x_fsmc.h
│ │ │ stm32f10x_gpio.h
│ │ │ stm32f10x_i2c.h
│ │ │ stm32f10x_iwdg.h
│ │ │ stm32f10x_pwr.h
│ │ │ stm32f10x_rcc.h
│ │ │ stm32f10x_rtc.h
│ │ │ stm32f10x_sdio.h
│ │ │ stm32f10x_spi.h
│ │ │ stm32f10x_tim.h
│ │ │ stm32f10x_usart.h
│ │ └ stm32f10x_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f10x_adc.c
│ │ stm32f10x_bkp.c
│ │ stm32f10x_can.c
│ │ stm32f10x_cec.c
│ │ stm32f10x_crc.c
│ │ stm32f10x_dac.c
│ │ stm32f10x_dbgmcu.c
│ │ stm32f10x_dma.c
│ │ stm32f10x_exti.c
│ │ stm32f10x_flash.c
│ │ stm32f10x_fsmc.c
│ │ stm32f10x_gpio.c
│ │ stm32f10x_i2c.c
│ │ stm32f10x_iwdg.c
│ │ stm32f10x_pwr.c
│ │ stm32f10x_rcc.c
│ │ stm32f10x_rtc.c
│ │ stm32f10x_sdio.c
│ │ stm32f10x_spi.c
│ │ stm32f10x_tim.c
│ │ stm32f10x_usart.c
│ └ stm32f10x_wwdg.c
├ EMWIN
│ ├ Demo
│ │ │ GUIDEMO.c
│ │ │ GUIDEMO.h
│ │ │ GUIDEMO_AntialiasedText.c
│ │ │ GUIDEMO_Automotive.c
│ │ │ GUIDEMO_BarGraph.c
│ │ │ GUIDEMO_Bitmap.c
│ │ │ GUIDEMO_ColorBar.c
│ │ │ GUIDEMO_Conf.c
│ │ │ GUIDEMO_Cursor.c
│ │ │ GUIDEMO_Fading.c
│ │ │ GUIDEMO_Graph.c
│ │ │ GUIDEMO_IconView.c
│ │ │ GUIDEMO_ImageFlow.c
│ │ │ GUIDEMO_Intro.c
│ │ │ GUIDEMO_Listview.c
│ │ │ GUIDEMO_RadialMenu.c
│ │ │ GUIDEMO_Resource.c
│ │ │ GUIDEMO_Skinning.c
│ │ │ GUIDEMO_Speed.c
│ │ │ GUIDEMO_Speedometer.c
│ │ │ GUIDEMO_Start.c
│ │ │ GUIDEMO_TransparentDialog.c
│ │ │ GUIDEMO_Treeview.c
│ │ │ GUIDEMO_VScreen.c
│ │ │ GUIDEMO_WashingMachine.c
│ │ └ GUIDEMO_ZoomAndRotate.c
│ └ STemWinLibrary522
│ ├ Config
│ │ │ GUIConf.c
│ │ │ GUIConf.h
│ │ │ GUIDRV_Template.c
│ │ │ GUIDRV_Template.h
│ │ │ LCDConf_FlexColor_Template.c
│ │ │ LCDConf_FlexColor_Template.h
│ │ │ LCDConf_Lin_Template.c
│ │ └ LCDConf_Lin_Template.h
│ ├ Documentation
│ │ └ STemWin5.pdf
│ ├ inc
│ │ │ BUTTON.h
│ │ │ BUTTON_Private.h
│ │ │ CALENDAR.h
│ │ │ CHECKBOX.h
│ │ │ CHECKBOX_Private.h
│ │ │ CHOOSECOLOR.h
│ │ │ CHOOSEFILE.h
│ │ │ DIALOG.h
│ │ │ DIALOG_Intern.h
│ │ │ DROPDOWN.h
│ │ │ DROPDOWN_Private.h
│ │ │ EDIT.h
│ │ │ EDIT_Private.h
│ │ │ FRAMEWIN.h
│ │ │ FRAMEWIN_Private.h
│ │ │ Global.h
│ │ │ GRAPH.h
│ │ │ GRAPH_Private.h
│ │ │ GUI.h
│ │ │ GUIDRV_DCache.h
│ │ │ GUIDRV_DCache_Private.h
│ │ │ GUIDRV_Dist.h
│ │ │ GUIDRV_FlexColor.h
│ │ │ GUIDRV_FlexColor_Private.h
│ │ │ GUIDRV_Generic.h
│ │ │ GUIDRV_Lin.h
│ │ │ GUIDRV_Lin_Opt_16.h
│ │ │ GUIDRV_Lin_Opt_24.h
│ │ │ GUIDRV_Lin_Opt_32.h
│ │ │ GUIDRV_Lin_Opt_8.h
│ │ │ GUIDRV_Lin_Private.h
│ │ │ GUIDRV_NoOpt_1_8.h
│ │ │ GUIDRV_Template.h
│ │ │ GUIDRV_TemplateI.h
│ │ │ GUIDRV_TemplateI_Private.h
│ │ │ GUI_ARRAY.h
│ │ │ GUI_ARRAY_Private.h
│ │ │ GUI_BMP_Private.h
│ │ │ GUI_ConfDefaults.h
│ │ │ GUI_Debug.h
│ │ │ GUI_FontIntern.h
│ │ │ GUI_GIF_Private.h
│ │ │ GUI_HOOK.h
│ │ │ GUI_JPEG_Private.h
│ │ │ GUI_Private.h
│ │ │ GUI_SetOrientation.h
│ │ │ GUI_SetOrientationCX.h
│ │ │ GUI_SPRITE_Private.h
│ │ │ GUI_Type.h
│ │ │ GUI_Version.h
│ │ │ GUI_VNC.h
│ │ │ HEADER.h
│ │ │ HEADER_Private.h
│ │ │ ICONVIEW.h
│ │ │ ICONVIEW_Private.h
│ │ │ IMAGE.h
│ │ │ IMAGE_Private.h
│ │ │ LCD.h
│ │ │ LCD_ConfDefaults.h
│ │ │ LCD_Private.h
│ │ │ LCD_Protected.h
│ │ │ LCD_SIM.h
│ │ │ LISTBOX.h
│ │ │ LISTBOX_Private.h
│ │ │ LISTVIEW.h
│ │ │ LISTVIEW_Private.h
│ │ │ LISTWHEEL.h
│ │ │ LISTWHEEL_Private.h
│ │ │ MENU.h
│ │ │ MENU_Private.h
│ │ │ MESSAGEBOX.h
│ │ │ MULTIEDIT.h
│ │ │ MULTIPAGE.h
│ │ │ MULTIPAGE_Private.h
│ │ │ PROGBAR.h
│ │ │ PROGBAR_Private.h
│ │ │ RADIO.h
│ │ │ RADIO_Private.h
│ │ │ SCROLLBAR.h
│ │ │ SCROLLBAR_Private.h
│ │ │ SLIDER.h
│ │ │ SLIDER_Private.h
│ │ │ SPINBOX.h
│ │ │ SPINBOX_Private.h
│ │ │ TEXT.h
│ │ │ TEXT_Private.h
│ │ │ TREEVIEW.h
│ │ │ TREEVIEW_Private.h
│ │ │ WIDGET.h
│ │ │ WINDOW_Private.h
│ │ │ WM.h
│ │ │ WM_GUI.h
│ │ └ WM_Intern.h
│ ├ Lib
│ │ │ MCD-ST Image SW License Agreement V2.pdf
│ │ │ STemWin522_CM0_GCC.a
│ │ │ STemWin522_CM0_IAR.a
│ │ │ STemWin522_CM0_Keil.lib
│ │ │ STemWin522_CM0_OS_GCC.a
│ │ │ STemWin522_CM0_OS_IAR.a
│ │ │ STemWin522_CM0_OS_Keil.lib
│ │ │ STemWin522_CM3_GCC.a
│ │ │ STemWin522_CM3_IAR.a
│ │ │ STemWin522_CM3_Keil.lib
│ │ │ STemWin522_CM3_OS_GCC.a
│ │ │ STemWin522_CM3_OS_IAR.a
│ │ │ STemWin522_CM3_OS_Keil.lib
│ │ │ STemWin522_CM4_GCC.a
│ │ │ STemWin522_CM4_IAR.a
│ │ │ STemWin522_CM4_Keil.lib
│ │ │ STemWin522_CM4_OS_GCC.a
│ │ │ STemWin522_CM4_OS_IAR.a
│ │ └ STemWin522_CM4_OS_Keil.lib
│ ├ OS
│ │ │ GUI_X.c
│ │ └ GUI_X_FreeRTOS.c
│ └ Software
│ │ BmpCvt.exe
│ │ GUIBuilder.exe
│ └ SetupFontCvt_V522.exe
├ HARDWARE
│ │ Adjust_time.c
│ │ Adjust_time.h
│ │ STM32_config.h
│ ├ LED
│ │ │ led.c
│ │ └ led.h
│ └ tft
│ │ fonts.h
│ │ fontupd.c
│ │ fontupd.h
│ │ HzLib_65k.h
│ │ lcd_drive.c
│ │ lcd_drive.h
│ │ lcd_tft.c
│ │ lcd_tft.h
│ │ refreshfont.c
│ └ refreshfont.h
├ OBJ
│ └ emwin.hex
├ SYSTEM
│ ├ delay
│ │ │ delay.c
│ │ └ delay.h
│ ├ sys
│ │ │ sys.c
│ │ └ sys.h
│ └ usart
│ │ usart.c
│ └ usart.h
└ USER
│ emwin.uvgui.Bula
│ emwin.uvguix.Bula
│ emwin.uvopt
│ emwin.uvoptx
│ emwin.uvprojx
│ JLinkSettings.ini
└ main.c