From 94101a2cd9baed60360f68096033dc75cbb1dcb3 Mon Sep 17 00:00:00 2001 From: android <android@lingyun.com> Date: Wed, 10 Jul 2024 19:27:36 +0800 Subject: [PATCH] Add STM8S003F3 eDP LCD drvier --- mcu_sdk/stm8s003f3_edp/Project/STM8S_StdPeriph_Template/STVD/Cosmic/stm8s003.stp | 418 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 418 insertions(+), 0 deletions(-) diff --git a/mcu_sdk/stm8s003f3_edp/Project/STM8S_StdPeriph_Template/STVD/Cosmic/stm8s003.stp b/mcu_sdk/stm8s003f3_edp/Project/STM8S_StdPeriph_Template/STVD/Cosmic/stm8s003.stp new file mode 100644 index 0000000..bbaab18 --- /dev/null +++ b/mcu_sdk/stm8s003f3_edp/Project/STM8S_StdPeriph_Template/STVD/Cosmic/stm8s003.stp @@ -0,0 +1,418 @@ +; STMicroelectronics Project file + +[Version] +Keyword=ST7Project +Number=1.3 + +[Project] +Name=stm8s003 +Toolset=STM8 Cosmic + +[Config] +0=Config.0 +1=Config.1 + +[Config.0] +ConfigName=Debug +Target=$(ProjectSFile).elf +OutputFolder=Debug +Debug=$(TargetFName) + +[Config.1] +ConfigName=Release +Target=stm8s003.elf +OutputFolder=Release +Debug=$(TargetFName) + +[Root] +ElemType=Project +PathName=stm8s003 +Child=Root.Source Files +Config.0=Root.Config.0 +Config.1=Root.Config.1 + +[Root.Config.0] +Settings.0.0=Root.Config.0.Settings.0 +Settings.0.1=Root.Config.0.Settings.1 +Settings.0.2=Root.Config.0.Settings.2 +Settings.0.3=Root.Config.0.Settings.3 +Settings.0.4=Root.Config.0.Settings.4 +Settings.0.5=Root.Config.0.Settings.5 +Settings.0.6=Root.Config.0.Settings.6 +Settings.0.7=Root.Config.0.Settings.7 +Settings.0.8=Root.Config.0.Settings.8 + +[Root.Config.1] +Settings.1.0=Root.Config.1.Settings.0 +Settings.1.1=Root.Config.1.Settings.1 +Settings.1.2=Root.Config.1.Settings.2 +Settings.1.3=Root.Config.1.Settings.3 +Settings.1.4=Root.Config.1.Settings.4 +Settings.1.5=Root.Config.1.Settings.5 +Settings.1.6=Root.Config.1.Settings.6 +Settings.1.7=Root.Config.1.Settings.7 +Settings.1.8=Root.Config.1.Settings.8 + +[Root.Config.0.Settings.0] +String.6.0=2024,6,5,20,8,23 +String.100.0=ST Assembler Linker +String.100.1=ST7 Cosmic +String.100.2=STM7 Cosmic +String.100.3=STM8 Cosmic +String.100.4=ST7 Metrowerks V1.1 +String.100.5=Raisonance +String.101.0=STM8 Cosmic +String.102.0=C:\Program Files (x86)\COSMIC\CXSTM8_32K +String.103.0= +String.104.0=Hstm8 +String.105.0=Lib +String.106.0=Debug +String.107.0=$(ProjectSFile).elf +Int.108=1 + +[Root.Config.0.Settings.1] +String.6.0=2011,11,16,18,37,0 +String.100.0=$(TargetFName) +String.101.0= +String.102.0= +String.103.0=.\;..\..\..\..\libraries\stm8s_stdperiph_driver\src;..\..; + +[Root.Config.0.Settings.2] +String.2.0= +String.6.0=2011,11,16,18,37,0 +String.100.0=STM8S003K3 + +[Root.Config.0.Settings.3] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customDebCompat -customOpt +compact +split -customC-pp -customLst -l -dSTM8S003 -i..\..\..\stm8s_stdperiph_template -i..\..\..\..\libraries\stm8s_stdperiph_driver\inc $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2024,6,6,12,54,37 + +[Root.Config.0.Settings.4] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 -xx -l $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Config.0.Settings.5] +String.2.0=Running Pre-Link step +String.6.0=2011,11,16,18,37,0 +String.8.0= + +[Root.Config.0.Settings.6] +String.2.0=Running Linker +String.3.0=clnk $(ToolsetLibOpts) -o $(OutputPath)$(TargetSName).sm8 -fakeInteger -fakeOutFile$(ProjectSFile).elf -fakeRunConv -fakeStartupcrtsi0.sm8 -fakeSemiAutoGen -fakeVectFilestm8_interrupt_vector.c -fakeVectAddr0x8000 -customMapFile -customMapFile-m$(OutputPath)$(TargetSName).map -customMapAddress -customCfgFile$(OutputPath)$(TargetSName).lkf +String.3.1=cvdwarf $(OutputPath)$(TargetSName).sm8 +String.4.0=$(OutputPath)$(TargetFName) +String.5.0=$(OutputPath)$(ProjectSFile).elf $(OutputPath)$(TargetSName).map +String.6.0=2017,6,12,11,31,51 +String.100.0= +String.101.0=crtsi.st7 +String.102.0=+seg .const -b 0x8080 -m 0x1f80 -n .const -it +String.102.1=+seg .text -a .const -n .text +String.102.2=+seg .eeprom -b 0x4000 -m 0x80 -n .eeprom +String.102.3=+seg .bsct -b 0x0 -m 0x100 -n .bsct +String.102.4=+seg .ubsct -a .bsct -n .ubsct +String.102.5=+seg .bit -a .ubsct -n .bit -id +String.102.6=+seg .share -a .bit -n .share -is +String.102.7=+seg .data -b 0x100 -m 0x100 -n .data +String.102.8=+seg .bss -a .data -n .bss +String.103.0=Code,Constants[0x8080-0x9fff]=.const,.text +String.103.1=Eeprom[0x4000-0x407f]=.eeprom +String.103.2=Zero Page[0x0-0xff]=.bsct,.ubsct,.bit,.share +String.103.3=Ram[0x100-0x1ff]=.data,.bss +String.104.0=0x3ff +String.105.0=libis0.sm8;libm0.sm8 +Int.0=0 +Int.1=0 + +[Root.Config.0.Settings.7] +String.2.0=Running Post-Build step +String.3.0=chex -fi -o $(OutputPath)$(TargetSName).hex $(OutputPath)$(TargetSName).sm8 +String.6.0=2024,6,5,20,13,9 + +[Root.Config.0.Settings.8] +String.2.0=Performing Custom Build on $(InputFile) +String.6.0=2011,11,16,18,37,0 + +[Root.Config.1.Settings.0] +String.6.0=2011,11,16,18,37,0 +String.100.0=ST Assembler Linker +String.100.1=ST7 Cosmic +String.100.2=STM7 Cosmic +String.100.3=STM8 Cosmic +String.100.4=ST7 Metrowerks V1.1 +String.100.5=Raisonance +String.101.0=STM8 Cosmic +String.102.0=C:\Program Files (x86)\COSMIC\CXSTM8_32K +String.103.0= +String.104.0=Hstm8 +String.105.0=Lib +String.106.0=Release +String.107.0=stm8s003.elf +Int.108=0 + +[Root.Config.1.Settings.1] +String.6.0=2011,11,16,18,37,0 +String.100.0=$(TargetFName) +String.101.0= +String.103.0=.\;..\..\..\..\libraries\stm8s_stdperiph_driver\src;..\..; + +[Root.Config.1.Settings.2] +String.2.0= +String.6.0=2011,11,16,18,37,0 +String.100.0=STM8S003K3 + +[Root.Config.1.Settings.3] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customC-pp $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Config.1.Settings.4] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Config.1.Settings.5] +String.2.0=Running Pre-Link step +String.6.0=2011,11,16,18,37,0 + +[Root.Config.1.Settings.6] +String.2.0=Running Linker +String.3.0=clnk -fakeRunConv -fakeInteger -fakeSemiAutoGen $(ToolsetLibOpts) -o $(OutputPath)$(TargetSName).sm8 -fakeOutFile$(ProjectSFile).elf -customCfgFile $(OutputPath)$(TargetSName).lkf -fakeVectFilestm8_interrupt_vector.c -fakeStartupcrtsi0.sm8 +String.3.1=cvdwarf $(OutputPath)$(TargetSName).sm8 -fakeVectAddr0x8000 +String.4.0=$(OutputPath)$(TargetFName) +String.5.0=$(OutputPath)$(TargetSName).map $(OutputPath)$(TargetSName).st7 $(OutputPath)$(TargetSName).s19 +String.6.0=2011,11,16,18,37,0 +String.101.0=crtsi.st7 +String.102.0=+seg .const -b 0x8080 -m 0x1f80 -n .const -it +String.102.1=+seg .text -a .const -n .text +String.102.2=+seg .eeprom -b 0x4000 -m 0x80 -n .eeprom +String.102.3=+seg .bsct -b 0x0 -m 0x100 -n .bsct +String.102.4=+seg .ubsct -a .bsct -n .ubsct +String.102.5=+seg .bit -a .ubsct -n .bit -id +String.102.6=+seg .share -a .bit -n .share -is +String.102.7=+seg .data -b 0x100 -m 0x100 -n .data +String.102.8=+seg .bss -a .data -n .bss +String.103.0=Code,Constants[0x8080-0x9fff]=.const,.text +String.103.1=Eeprom[0x4000-0x407f]=.eeprom +String.103.2=Zero Page[0x0-0xff]=.bsct,.ubsct,.bit,.share +String.103.3=Ram[0x100-0x1ff]=.data,.bss +String.104.0=0x3ff +Int.0=0 +Int.1=0 + +[Root.Config.1.Settings.7] +String.2.0=Running Post-Build step +String.3.0=chex -o $(OutputPath)$(TargetSName).s19 $(OutputPath)$(TargetSName).sm8 +String.6.0=2011,11,16,18,37,0 + +[Root.Config.1.Settings.8] +String.2.0=Performing Custom Build on $(InputFile) +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files] +ElemType=Folder +PathName=Source Files +Child=Root.Source Files...\..\main.c +Next=Root.StdPeriph_Drivers +Config.0=Root.Source Files.Config.0 +Config.1=Root.Source Files.Config.1 + +[Root.Source Files.Config.0] +Settings.0.0=Root.Source Files.Config.0.Settings.0 +Settings.0.1=Root.Source Files.Config.0.Settings.1 +Settings.0.2=Root.Source Files.Config.0.Settings.2 +Settings.0.3=Root.Source Files.Config.0.Settings.3 + +[Root.Source Files.Config.1] +Settings.1.0=Root.Source Files.Config.1.Settings.0 +Settings.1.1=Root.Source Files.Config.1.Settings.1 +Settings.1.2=Root.Source Files.Config.1.Settings.2 +Settings.1.3=Root.Source Files.Config.1.Settings.3 + +[Root.Source Files.Config.0.Settings.0] +String.6.0=2011,11,16,18,37,0 +String.8.0=Debug +Int.0=0 +Int.1=0 + +[Root.Source Files.Config.0.Settings.1] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customDebCompat -customOpt +compact +split -customC-pp -customLst -l -dSTM8S003 -i..\..\..\stm8s_stdperiph_template -i..\..\..\..\libraries\stm8s_stdperiph_driver\inc $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2024,6,6,12,54,37 + +[Root.Source Files.Config.0.Settings.2] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 -xx -l $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files.Config.0.Settings.3] +String.2.0=Performing Custom Build on $(InputFile) +String.3.0= +String.4.0= +String.5.0= +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files.Config.1.Settings.0] +String.6.0=2011,11,16,18,37,0 +String.8.0=Release +Int.0=0 +Int.1=0 + +[Root.Source Files.Config.1.Settings.1] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customC-pp $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files.Config.1.Settings.2] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files.Config.1.Settings.3] +String.2.0=Performing Custom Build on $(InputFile) +String.3.0= +String.4.0= +String.5.0= +String.6.0=2011,11,16,18,37,0 + +[Root.Source Files...\..\main.c] +ElemType=File +PathName=..\..\main.c +Next=Root.Source Files...\..\stm8s_it.c + +[Root.Source Files...\..\stm8s_it.c] +ElemType=File +PathName=..\..\stm8s_it.c +Next=Root.Source Files.stm8_interrupt_vector.c + +[Root.Source Files.stm8_interrupt_vector.c] +ElemType=File +PathName=stm8_interrupt_vector.c + +[Root.StdPeriph_Drivers] +ElemType=Folder +PathName=StdPeriph_Drivers +Child=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\board_uart.c +Config.0=Root.StdPeriph_Drivers.Config.0 +Config.1=Root.StdPeriph_Drivers.Config.1 + +[Root.StdPeriph_Drivers.Config.0] +Settings.0.0=Root.StdPeriph_Drivers.Config.0.Settings.0 +Settings.0.1=Root.StdPeriph_Drivers.Config.0.Settings.1 +Settings.0.2=Root.StdPeriph_Drivers.Config.0.Settings.2 +Settings.0.3=Root.StdPeriph_Drivers.Config.0.Settings.3 + +[Root.StdPeriph_Drivers.Config.1] +Settings.1.0=Root.StdPeriph_Drivers.Config.1.Settings.0 +Settings.1.1=Root.StdPeriph_Drivers.Config.1.Settings.1 +Settings.1.2=Root.StdPeriph_Drivers.Config.1.Settings.2 +Settings.1.3=Root.StdPeriph_Drivers.Config.1.Settings.3 + +[Root.StdPeriph_Drivers.Config.0.Settings.0] +String.6.0=2011,11,16,18,37,50 +String.8.0=Debug +Int.0=0 +Int.1=0 + +[Root.StdPeriph_Drivers.Config.0.Settings.1] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customDebCompat -customOpt +compact +split -customC-pp -customLst -l -dSTM8S003 -i..\..\..\stm8s_stdperiph_template -i..\..\..\..\libraries\stm8s_stdperiph_driver\inc $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2024,6,6,12,54,37 + +[Root.StdPeriph_Drivers.Config.0.Settings.2] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 -xx -l $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.StdPeriph_Drivers.Config.0.Settings.3] +String.2.0=Performing Custom Build on $(InputFile) +String.3.0= +String.4.0= +String.5.0= +String.6.0=2011,11,16,18,37,0 + +[Root.StdPeriph_Drivers.Config.1.Settings.0] +String.6.0=2011,11,16,18,37,50 +String.8.0=Release +Int.0=0 +Int.1=0 + +[Root.StdPeriph_Drivers.Config.1.Settings.1] +String.2.0=Compiling $(InputFile)... +String.3.0=cxstm8 +mods0 -customC-pp $(ToolsetIncOpts) -cl$(IntermPath) -co$(IntermPath) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.StdPeriph_Drivers.Config.1.Settings.2] +String.2.0=Assembling $(InputFile)... +String.3.0=castm8 $(ToolsetIncOpts) -o$(IntermPath)$(InputName).$(ObjectExt) $(InputFile) +String.4.0=$(IntermPath)$(InputName).$(ObjectExt) +String.5.0=$(IntermPath)$(InputName).ls +String.6.0=2011,11,16,18,37,0 + +[Root.StdPeriph_Drivers.Config.1.Settings.3] +String.2.0=Performing Custom Build on $(InputFile) +String.3.0= +String.4.0= +String.5.0= +String.6.0=2011,11,16,18,37,0 + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\board_uart.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\board_uart.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\gpio_i2c.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\gpio_i2c.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\gpio_i2c.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\lt8911exb.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\lt8911exb.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\lt8911exb.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_clk.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_clk.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_clk.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_gpio.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_gpio.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_gpio.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_tim4.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_tim4.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_tim4.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_uart1.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_uart1.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_uart1.c +Next=Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\timing_delay.c + +[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\timing_delay.c] +ElemType=File +PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\timing_delay.c \ No newline at end of file -- Gitblit v1.9.1