From 4266349073ac2b5e0e8780ad306258a148ac1b4f Mon Sep 17 00:00:00 2001 From: QQyyblithe <qqyyblithe@163.com> Date: Fri, 5 Aug 2022 10:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0LED=E7=81=AF=E9=97=AA?= =?UTF-8?q?=E7=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IAR/settings/test01.dnx | 22 ++-- IAR/settings/test01.wsdt | 36 +++--- IAR/test01.dep | 267 +++++++++++++++++++++++---------------- IAR/test01.ewp | 6 + IAR/test01.ewt | 6 + user/delay.c | 33 +++++ user/delay.h | 7 + user/main.c | 54 ++------ user/pin_Init.c | 28 ++++ user/pin_Init.h | 8 ++ 10 files changed, 283 insertions(+), 184 deletions(-) create mode 100644 user/delay.c create mode 100644 user/delay.h create mode 100644 user/pin_Init.c create mode 100644 user/pin_Init.h diff --git a/IAR/settings/test01.dnx b/IAR/settings/test01.dnx index 4ec48f5..fa61c6d 100644 --- a/IAR/settings/test01.dnx +++ b/IAR/settings/test01.dnx @@ -35,7 +35,7 @@ <LeaveTargetRunning>_ 0</LeaveTargetRunning> </JLinkDriver> <DebugChecksum> - <Checksum>2228608824</Checksum> + <Checksum>2701884870</Checksum> </DebugChecksum> <Exceptions> <StopOnUncaught>_ 0</StopOnUncaught> @@ -125,6 +125,12 @@ <ShowTimeSum>1</ShowTimeSum> <SumSortOrder>0</SumSortOrder> </EventLog> + <DisassembleMode> + <mode>0</mode> + </DisassembleMode> + <Breakpoints2> + <Count>0</Count> + </Breakpoints2> <TermIOLog> <LoggingEnabled>_ 0</LoggingEnabled> <LogFile>_ ""</LogFile> @@ -134,6 +140,10 @@ <LogFile>_ ""</LogFile> <Category>_ 0</Category> </LogFile> + <Aliases> + <Count>0</Count> + <SuppressDialog>0</SuppressDialog> + </Aliases> <DriverProfiling> <Enabled>0</Enabled> <Mode>3</Mode> @@ -152,14 +162,4 @@ <Probe0>I0</Probe0> <ProbeSetup0>2 1 1 2 0 0</ProbeSetup0> </PowerProbe> - <DisassembleMode> - <mode>0</mode> - </DisassembleMode> - <Breakpoints2> - <Count>0</Count> - </Breakpoints2> - <Aliases> - <Count>0</Count> - <SuppressDialog>0</SuppressDialog> - </Aliases> </settings> diff --git a/IAR/settings/test01.wsdt b/IAR/settings/test01.wsdt index 7244909..706e96c 100644 --- a/IAR/settings/test01.wsdt +++ b/IAR/settings/test01.wsdt @@ -52,7 +52,7 @@ <item>33054</item> <item>0</item> <item>33035</item> - <item>33036</item> + <item>33037</item> <item>34399</item> <item>0</item> <item>33038</item> @@ -69,7 +69,7 @@ </ColumnWidths> <NodeDict> <ExpandedNode>test01</ExpandedNode> - <ExpandedNode>test01/drivers</ExpandedNode> + <ExpandedNode>test01/user</ExpandedNode> <ExpandedNode>test01/utilities</ExpandedNode> </NodeDict> </IarPane-34061> @@ -77,7 +77,7 @@ <ColumnWidth0>24</ColumnWidth0> <ColumnWidth1>1309</ColumnWidth1> <FilterLevel>2</FilterLevel> - <LiveFile /> + <LiveFile></LiveFile> <LiveLogEnabled>0</LiveLogEnabled> <LiveFilterLevel>-1</LiveFilterLevel> </IarPane-34053> @@ -93,11 +93,11 @@ <RecentlyUsedMenus>1</RecentlyUsedMenus> <MenuShadows>1</MenuShadows> <ShowAllMenusAfterDelay>1</ShowAllMenusAfterDelay> - <CommandsUsage>BA000000120010860000020000000C8100005C0000001D81000001000000568600000C0000001781000001000000558400000100000000810000010000000E8100004D0000000B8100000100000014860000040000000581000002000000118600000300000027810000020000000284000001000000108400000700000046810000010000005D860000010000000886000001000000</CommandsUsage> + <CommandsUsage>D6000000120010860000020000000C810000710000001D81000001000000568600000C0000001781000001000000558400000100000000810000010000000E810000540000000B8100000100000014860000040000000581000002000000118600000300000027810000020000000284000001000000108400000700000046810000010000005D860000010000000886000001000000</CommandsUsage> </MFCToolBarParameters> <CommandManager> <CommandsWithoutImages>1E007784000007840000FFFFFFFF808C00000D8400000F8400000884000054840000328100001C81000009840000538400000C8400003384000078840000118400003284000002840000038400001084000005840000318400000A84000044D50000008800000188000002880000038800000488000005880000</CommandsWithoutImages> - <MenuUserImages>0E00048400004C000000048100001800000020810000270000000F8100001F0000000C8100001C000000068400004E0000000E8400005000000030840000520000001F810000260000000E8100001E0000000B8100001F000000D18400000C00000005810000190000000D81000021000000</MenuUserImages> + <MenuUserImages>0E00048400004C00000004810000180000000F8100001F00000020810000270000000C8100001C000000068400004E00000030840000520000000E840000500000000E8100001E0000001F810000260000000B8100001F000000D18400000C00000005810000190000000D81000021000000</MenuUserImages> </CommandManager> <Pane-59393> <ID>0</ID> @@ -114,8 +114,8 @@ </BasePane-59393> <Pane--1> <ID>4294967295</ID> - <RectRecentFloat>000000000402000056050000C5020000</RectRecentFloat> - <RectRecentDocked>000000004902000056050000AE020000</RectRecentDocked> + <RectRecentFloat>00000000FE01000056050000C5020000</RectRecentFloat> + <RectRecentDocked>00000000E701000056050000AE020000</RectRecentDocked> <RecentFrameAlignment>4096</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -128,7 +128,7 @@ <Pane-34048> <ID>34048</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>04000000610200005205000094020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -141,7 +141,7 @@ <Pane-34053> <ID>34053</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>04000000610200005205000094020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -154,7 +154,7 @@ <Pane-34054> <ID>34054</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>04000000610200005205000094020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -176,7 +176,7 @@ <Pane-34055> <ID>34055</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>040000006102000052050000F0020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -190,7 +190,7 @@ <Pane-34056> <ID>34056</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>040000006102000052050000F0020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -204,7 +204,7 @@ <Pane-34057> <ID>34057</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>04000000610200005205000094020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -226,7 +226,7 @@ <Pane-34060> <ID>34060</ID> <RectRecentFloat>26FFFFFF890200007C0400005D030000</RectRecentFloat> - <RectRecentDocked>040000006102000052050000F0020000</RectRecentDocked> + <RectRecentDocked>04000000FF0100005205000094020000</RectRecentDocked> <RecentFrameAlignment>32768</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -296,7 +296,7 @@ <Pane-34061> <ID>34061</ID> <RectRecentFloat>00000000170000000601000078010000</RectRecentFloat> - <RectRecentDocked>00000000320000002B01000045020000</RectRecentDocked> + <RectRecentDocked>00000000320000002B010000E3010000</RectRecentDocked> <RecentFrameAlignment>4096</RecentFrameAlignment> <RecentRowIndex>0</RecentRowIndex> <IsFloating>0</IsFloating> @@ -363,7 +363,7 @@ </BasePane-34065> <IarPane-34065 /> <DockingManager-256> - <DockingPaneAndPaneDividers>0000000010000000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000F85000000000000000000000000000000000000010000000F850000010000000F850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000E85000000000000000000000000000000000000010000000E850000010000000E850000000000000010000001000000FFFFFFFFFFFFFFFF2B010000320000002F0100004502000001000000020000100400000001000000C7FFFFFF7D0400000D85000000000000000000000000000000000000010000000D850000010000000D850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000B85000000000000000000000000000000000000010000000B850000010000000B850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000A85000000000000000000000000000000000000010000000A850000010000000A850000000000000080000000000000FFFFFFFFFFFFFFFF00000000000000000400000004000000000000000100000004000000010000000000000000000000048500000000000000000000000000000000000001000000048500000100000004850000000000000080000000000000FFFFFFFFFFFFFFFF00000000000000000400000004000000000000000100000004000000010000000000000000000000038500000000000000000000000000000000000001000000038500000100000003850000000000000080000001000000FFFFFFFFFFFFFFFF00000000450200005605000049020000010000000100001004000000010000004EFEFFFF7F00000000000000000000000000000001000000FFFFFFFF070000000085000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E650080000001000000000000000402000056050000C5020000000000004902000056050000AE020000000000004080005607000000FFFEFF054200750069006C006400010000000085000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700010000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300010000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300010000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000000000000001000000FFFFFFFF0085000001000000FFFFFFFF00850000000000000000000000000000</DockingPaneAndPaneDividers> + <DockingPaneAndPaneDividers>0000000010000000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000F85000000000000000000000000000000000000010000000F850000010000000F850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000E85000000000000000000000000000000000000010000000E850000010000000E850000000000000010000001000000FFFFFFFFFFFFFFFF2B010000320000002F010000E301000001000000020000100400000001000000C7FFFFFF7D0400000D85000000000000000000000000000000000000010000000D850000010000000D850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000B85000000000000000000000000000000000000010000000B850000010000000B850000000000000080000000000000FFFFFFFFFFFFFFFF000000000000000004000000040000000000000001000000040000000100000000000000000000000A85000000000000000000000000000000000000010000000A850000010000000A850000000000000080000000000000FFFFFFFFFFFFFFFF00000000000000000400000004000000000000000100000004000000010000000000000000000000048500000000000000000000000000000000000001000000048500000100000004850000000000000080000000000000FFFFFFFFFFFFFFFF00000000000000000400000004000000000000000100000004000000010000000000000000000000038500000000000000000000000000000000000001000000038500000100000003850000000000000080000001000000FFFFFFFFFFFFFFFF00000000E301000056050000E701000001000000010000100400000001000000F2FDFFFF2300000000000000000000000000000001000000FFFFFFFF070000000085000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E65008000000100000000000000FE01000056050000C502000000000000E701000056050000AE020000000000004080005607000000FFFEFF054200750069006C006400010000000085000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700010000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300010000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300010000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF0000000000000000000000000000000000000000000000000000000001000000FFFFFFFF0085000001000000FFFFFFFF00850000000000000000000000000000</DockingPaneAndPaneDividers> </DockingManager-256> <MFCToolBar-34049> <Name>CMSIS-Pack</Name> @@ -384,7 +384,7 @@ </BasePane-34049> <MFCToolBar-34050> <Name>Main</Name> - <Buttons>00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000000038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000000003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000000042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000000FFFFFFFFFFFEFF0000000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000C00FFFEFF054700500049004F004100FFFEFF0A4D004B005600350036004600320034002E006800FFFEFF104700500049004F005F0049006E00690074005400790070006500440065006600FFFEFF0A4700500049004F005F0049006E00690074005400FFFEFF0470006F0072007400FFFEFF045000410069006E00FFFEFF0250004100FFFEFF0F4300500055005F005800540041004C005F0043004C004B005F0048005A00FFFEFF134300500055005F0049004E0054005F0046004100530054005F0043004C004B005F0048005A00FFFEFF085400570052005F004B00560035003600FFFEFF0554004F00570045005200FFFEFF05440065006C0061007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000000003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000000041000000FFFEFF000000000000000000000000000100000001000000018002810000000000001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000000030000000FFFEFF000000000000000000000000000100000001000000018027810000000000002E000000FFFEFF000000000000000000000000000100000001000000018028810000000000002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000000028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000000001F000000FFFEFF00000000000000000000000000010000000100000001800C8100000000000020000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000000022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000000023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000</Buttons> + <Buttons>00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000000038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000004003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000040042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000400FFFFFFFFFFFEFF0001000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000C00FFFEFF054700500049004F004100FFFEFF0A4D004B005600350036004600320034002E006800FFFEFF104700500049004F005F0049006E00690074005400790070006500440065006600FFFEFF0A4700500049004F005F0049006E00690074005400FFFEFF0470006F0072007400FFFEFF045000410069006E00FFFEFF0250004100FFFEFF0F4300500055005F005800540041004C005F0043004C004B005F0048005A00FFFEFF134300500055005F0049004E0054005F0046004100530054005F0043004C004B005F0048005A00FFFEFF085400570052005F004B00560035003600FFFEFF0554004F00570045005200FFFEFF05440065006C0061007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000004003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000040041000000FFFEFF000000000000000000000000000100000001000000018002810000000004001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000040030000000FFFEFF000000000000000000000000000100000001000000018027810000000004002E000000FFFEFF000000000000000000000000000100000001000000018028810000000004002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000000028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000000001F000000FFFEFF00000000000000000000000000010000000100000001800D8100000000020021000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000000022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000000023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000</Buttons> </MFCToolBar-34050> <Pane-34050> <ID>34050</ID> @@ -424,7 +424,7 @@ </ChildIdMap> <MDIWindows> <MDIClientArea-0> - <MDITabsState>010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000060000000000000001000000FFFEFF172400570053005F0044004900520024005C002E002E005C0075007300650072005C006D00610069006E002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003300310030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003300310030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF252400570053005F0044004900520024005C002E002E005C0073007400610072007400750070005C00730079007300740065006D005F004D004B005600350036004600320034002E006300010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00390033003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0036003800340036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0036003800340036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF11730079007300740065006D005F004D004B005600350036004600320034002E00630000000000FFFFFFFFFFFFFFFFFFFEFF1E2400570053005F0044004900520024005C002E002E005C0073007400610072007400750070005C004D004B005600350036004600320034002E006800010000000180FFFEFF00FFFEFFFF2E013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00310034003900360033003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003800350031003000300030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003800350031003000300030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0A4D004B005600350036004600320034002E00680000000000FFFFFFFFFFFFFFFFFFFEFF202400570053005F0044004900520024005C002E002E005C0064007200690076006500720073005C00660073006C005F0063006F006D006D006F006E002E006300010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003200330032003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0037003300360036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0037003300360036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C660073006C005F0063006F006D006D006F006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF202400570053005F0044004900520024005C002E002E005C0064007200690076006500720073005C00660073006C005F0063006F006D006D006F006E002E006800010000000180FFFEFF00FFFEFFFF29013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00310038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00330032003200320038003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00330032003200320038003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C660073006C005F0063006F006D006D006F006E002E00680000000000FFFFFFFFFFFFFFFFFFFEFF252400570053005F0044004900520024005C002E002E005C0073007400610072007400750070005C00730079007300740065006D005F004D004B005600350036004600320034002E006800010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00360039003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0031003300340030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0031003300340030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF11730079007300740065006D005F004D004B005600350036004600320034002E00680000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000002F01000049000000560500005C020000</MDITabsState> + <MDITabsState>010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000050000000000000001000000FFFEFF172400570053005F0044004900520024005C002E002E005C0075007300650072005C006D00610069006E002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003200360034003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003200360034003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF1B2400570053005F0044004900520024005C002E002E005C0075007300650072005C00700069006E005F0049006E00690074002E006800010000000180FFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003100310036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003100310036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0A700069006E005F0049006E00690074002E00680000000000FFFFFFFFFFFFFFFFFFFEFF1B2400570053005F0044004900520024005C002E002E005C0075007300650072005C00700069006E005F0049006E00690074002E006300010000000180FFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003100300030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003100320031003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0A700069006E005F0049006E00690074002E00630000000000FFFFFFFFFFFFFFFFFFFEFF182400570053005F0044004900520024005C002E002E005C0075007300650072005C00640065006C00610079002E006800010000000180FFFEFF00FFFEFFFF22013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00390032003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00390032003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF07640065006C00610079002E00680000000000FFFFFFFFFFFFFFFFFFFEFF182400570053005F0044004900520024005C002E002E005C0075007300650072005C00640065006C00610079002E006300010000000180FFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003100310037003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003100310037003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF07640065006C00610079002E00630000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000002F0100004900000056050000FA010000</MDITabsState> </MDIClientArea-0> </MDIWindows> </WindowStorage> diff --git a/IAR/test01.dep b/IAR/test01.dep index e79b69d..a5c4fcd 100644 --- a/IAR/test01.dep +++ b/IAR/test01.dep @@ -1,95 +1,102 @@ <?xml version="1.0" encoding="UTF-8"?> <project> <fileVersion>4</fileVersion> - <fileChecksum>2510143316</fileChecksum> + <fileChecksum>516634060</fileChecksum> <configuration> <name>Debug</name> <outputs> - <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.__cstat.et</file> - <file>$PROJ_DIR$\..\startup\system_MKV56F24.c</file> - <file>$PROJ_DIR$\..\drivers\fsl_clock.c</file> - <file>$PROJ_DIR$\..\user\main.c</file> - <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h</file> - <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.xcl</file> - <file>$PROJ_DIR$\..\Include\core_cm7.h</file> - <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.o</file> - <file>$PROJ_DIR$\..\startup\MKV56F24.h</file> <file>$PROJ_DIR$\..\drivers\fsl_common.c</file> + <file>$PROJ_DIR$\..\drivers\fsl_gpio.c</file> + <file>$PROJ_DIR$\..\drivers\fsl_clock.c</file> + <file>$PROJ_DIR$\..\Include\mpu_armv7.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_assert.__cstat.et</file> + <file>$PROJ_DIR$\..\drivers\fsl_common.h</file> + <file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console_conf.h</file> <file>$PROJ_DIR$\..\startup\startup_MKV56F24.s</file> - <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file> - <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.xcl</file> + <file>$PROJ_DIR$\..\utilities\fsl_assert.c</file> + <file>$TOOLKIT_DIR$\inc\c\DLib_float_setup.h</file> <file>$PROJ_DIR$\..\drivers\fsl_port.h</file> - <file>$PROJ_DIR$\Debug\List\test01.map</file> - <file>$PROJ_DIR$\..\drivers\fsl_gpio.c</file> - <file>$PROJ_DIR$\..\Include\cmsis_version.h</file> - <file>$TOOLKIT_DIR$\inc\c\yvals.h</file> - <file>$TOOLKIT_DIR$\config\linker\NXP\MKV5xF512xxx24.icf</file> - <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file> - <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.o</file> - <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file> - <file>$PROJ_DIR$\Debug\Obj\main.__cstat.et</file> - <file>$PROJ_DIR$\Debug\Obj\startup_MKV56F24.o</file> - <file>$PROJ_DIR$\..\startup\system_MKV56F24.h</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_common.xcl</file> - <file>$PROJ_DIR$\..\Include\cmsis_iccarm.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_str.xcl</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_assert.o</file> + <file>$TOOLKIT_DIR$\inc\c\stdarg.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_str.o</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_assert.xcl</file> + <file>$PROJ_DIR$\..\startup\MKV56F24.h</file> + <file>$TOOLKIT_DIR$\inc\c\math.h</file> + <file>$PROJ_DIR$\..\user\main.c</file> + <file>$PROJ_DIR$\..\startup\system_MKV56F24.c</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_common.o</file> + <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file> + <file>$PROJ_DIR$\..\drivers\fsl_clock.h</file> + <file>$PROJ_DIR$\..\utilities\str\fsl_str.c</file> + <file>$TOOLKIT_DIR$\lib\shb_l.a</file> <file>$TOOLKIT_DIR$\lib\dl7M_tln.a</file> - <file>$PROJ_DIR$\..\drivers\fsl_common.h</file> - <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file> - <file>$TOOLKIT_DIR$\inc\c\string.h</file> - <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.xcl</file> + <file>$TOOLKIT_DIR$\inc\c\stdint.h</file> + <file>$PROJ_DIR$\..\drivers\fsl_gpio.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_str.__cstat.et</file> + <file>$PROJ_DIR$\Debug\Obj\main.o</file> + <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file> + <file>$PROJ_DIR$\..\utilities\str\fsl_str.h</file> + <file>$PROJ_DIR$\..\Include\cmsis_compiler.h</file> + <file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</file> <file>$TOOLKIT_DIR$\inc\c\stdlib.h</file> + <file>$PROJ_DIR$\..\startup\system_MKV56F24.h</file> + <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.__cstat.et</file> + <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.xcl</file> <file>$TOOLKIT_DIR$\inc\c\assert.h</file> - <file>$TOOLKIT_DIR$\lib\shb_l.a</file> - <file>$PROJ_DIR$\Debug\Obj\test01.pbd</file> - <file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console.c</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.__cstat.et</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_common.__cstat.et</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_clock.xcl</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_clock.o</file> - <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_assert.__cstat.et</file> - <file>$PROJ_DIR$\Debug\Exe\test01.out</file> <file>$PROJ_DIR$\..\startup\MKV56F24_features.h</file> - <file>$PROJ_DIR$\Debug\Obj\main.o</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.xcl</file> - <file>$PROJ_DIR$\..\Include\cmsis_compiler.h</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_common.o</file> - <file>$PROJ_DIR$\..\Include\mpu_armv7.h</file> + <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file> <file>$PROJ_DIR$\..\startup\fsl_device_registers.h</file> - <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file> - <file>$TOOLKIT_DIR$\inc\c\stdint.h</file> - <file>$PROJ_DIR$\..\drivers\fsl_clock.h</file> + <file>$PROJ_DIR$\..\Include\cmsis_iccarm.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_clock.xcl</file> + <file>$PROJ_DIR$\Debug\Obj\startup_MKV56F24.o</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.o</file> + <file>$PROJ_DIR$\Debug\Obj\system_MKV56F24.o</file> <file>$PROJ_DIR$\Debug\Obj\main.xcl</file> + <file>$PROJ_DIR$\Debug\List\test01.map</file> + <file>$PROJ_DIR$\Debug\Exe\test01.out</file> + <file>$PROJ_DIR$\..\Include\cmsis_version.h</file> + <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file> + <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_common.xcl</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_clock.o</file> <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file> + <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file> + <file>$TOOLKIT_DIR$\inc\c\string.h</file> + <file>$PROJ_DIR$\..\Include\core_cm7.h</file> + <file>$PROJ_DIR$\Debug\Obj\main.__cstat.et</file> + <file>$PROJ_DIR$\Debug\Obj\test01.pbd</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_gpio.__cstat.et</file> <file>$TOOLKIT_DIR$\inc\c\stddef.h</file> - <file>$PROJ_DIR$\..\drivers\fsl_gpio.h</file> - <file>$PROJ_DIR$\..\utilities\str\fsl_str.h</file> - <file>$TOOLKIT_DIR$\inc\c\stdarg.h</file> - <file>$TOOLKIT_DIR$\inc\c\math.h</file> - <file>$TOOLKIT_DIR$\inc\c\DLib_float_setup.h</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_debug_console.xcl</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_assert.xcl</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_str.__cstat.et</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_str.o</file> - <file>$PROJ_DIR$\..\utilities\str\fsl_str.c</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_str.xcl</file> - <file>$PROJ_DIR$\..\utilities\debug_console\fsl_debug_console_conf.h</file> - <file>$PROJ_DIR$\..\utilities\fsl_assert.c</file> - <file>$PROJ_DIR$\Debug\Obj\fsl_assert.o</file> - <file>$PROJ_DIR$\..\..\NXP_TestSDK\startup\system_MKV56F24.c</file> + <file>$PROJ_DIR$\Debug\Obj\fsl_common.__cstat.et</file> + <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file> + <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file> + <file>$TOOLKIT_DIR$\inc\c\yvals.h</file> + <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file> + <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h</file> + <file>$TOOLKIT_DIR$\config\linker\NXP\MKV5xF512xxx24.icf</file> + <file>$PROJ_DIR$\..\user\delay.c</file> + <file>$PROJ_DIR$\..\user\delay.h</file> + <file>$PROJ_DIR$\Debug\Obj\delay.o</file> + <file>$PROJ_DIR$\Debug\Obj\delay.xcl</file> + <file>$PROJ_DIR$\Debug\Obj\pin_Init.o</file> + <file>$PROJ_DIR$\Debug\Obj\pin_Init.xcl</file> + <file>$PROJ_DIR$\..\user\pin_Init.h</file> + <file>$PROJ_DIR$\..\user\pin_Init.c</file> </outputs> <file> <name>[ROOT_NODE]</name> <outputs> <tool> <name>ILINK</name> - <file> 44 15</file> + <file> 51 50</file> </tool> </outputs> </file> <file> - <name>$PROJ_DIR$\..\startup\system_MKV56F24.c</name> + <name>$PROJ_DIR$\..\drivers\fsl_common.c</name> <outputs> <tool> <name>ICCARM</name> @@ -97,114 +104,160 @@ </tool> <tool> <name>__cstat</name> - <file> 0</file> + <file> 65</file> </tool> <tool> <name>BICOMP</name> - <file> 5</file> + <file> 55</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 53 7 18 52 4 56 51 9 6 17 48 27 22 50 25 45</file> + <file> 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\drivers\fsl_clock.c</name> + <name>$PROJ_DIR$\..\drivers\fsl_gpio.c</name> <outputs> <tool> <name>ICCARM</name> - <file> 41</file> + <file> 47</file> + </tool> + <tool> + <name>__cstat</name> + <file> 63</file> </tool> <tool> <name>BICOMP</name> - <file> 40</file> + <file> 27</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 54 29 34 7 18 52 4 56 42 53 31 32 12 33 30 57 51 9 6 17 48 27 22 50 25 45</file> + <file> 29 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\user\main.c</name> + <name>$PROJ_DIR$\..\drivers\fsl_clock.c</name> <outputs> <tool> <name>ICCARM</name> + <file> 56</file> + </tool> + <tool> + <name>BICOMP</name> + <file> 45</file> + </tool> + </outputs> + <inputs> + <tool> + <name>ICCARM</name> + <file> 23 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41</file> + </tool> + </inputs> + </file> + <file> + <name>$PROJ_DIR$\..\startup\startup_MKV56F24.s</name> + <outputs> + <tool> + <name>AARM</name> <file> 46</file> </tool> + </outputs> + </file> + <file> + <name>$PROJ_DIR$\..\utilities\fsl_assert.c</name> + <outputs> + <tool> + <name>ICCARM</name> + <file> 13</file> + </tool> <tool> <name>__cstat</name> - <file> 23</file> + <file> 4</file> </tool> <tool> <name>BICOMP</name> - <file> 55</file> + <file> 16</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 9 6 53 7 18 52 4 56 17 48 27 22 50 25 29 34 42 31 32 12 33 30 57 51 45 54 58 14</file> + <file> 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\drivers\fsl_common.c</name> + <name>$PROJ_DIR$\..\user\main.c</name> <outputs> <tool> <name>ICCARM</name> - <file> 49</file> + <file> 31</file> </tool> <tool> <name>__cstat</name> - <file> 39</file> + <file> 61</file> </tool> <tool> <name>BICOMP</name> - <file> 26</file> + <file> 49</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 29 34 7 18 52 4 56 42 53 31 32 12 33 30 57 51 9 6 17 48 27 22 50 25 45 54</file> + <file> 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23 29 78 73</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\startup\startup_MKV56F24.s</name> + <name>$PROJ_DIR$\..\startup\system_MKV56F24.c</name> <outputs> <tool> - <name>AARM</name> - <file> 24</file> + <name>ICCARM</name> + <file> 48</file> + </tool> + <tool> + <name>__cstat</name> + <file> 38</file> + </tool> + <tool> + <name>BICOMP</name> + <file> 39</file> </tool> </outputs> + <inputs> + <tool> + <name>ICCARM</name> + <file> 28 53 68 22 70 57 43 17 60 52 34 44 66 3 37 41</file> + </tool> + </inputs> </file> <file> - <name>$PROJ_DIR$\..\drivers\fsl_gpio.c</name> + <name>$PROJ_DIR$\..\utilities\str\fsl_str.c</name> <outputs> <tool> <name>ICCARM</name> - <file> 8</file> + <file> 15</file> </tool> <tool> <name>__cstat</name> - <file> 38</file> + <file> 30</file> </tool> <tool> <name>BICOMP</name> - <file> 47</file> + <file> 12</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 58 29 34 7 18 52 4 56 42 53 31 32 12 33 30 57 51 9 6 17 48 27 22 50 25 45 54</file> + <file> 18 53 68 22 70 57 10 14 36 54 42 33 5 40 32 28 59 67 64 43 17 60 52 34 44 66 3 37 41 23 6</file> </tool> </inputs> </file> @@ -213,13 +266,13 @@ <outputs> <tool> <name>BICOMP</name> - <file> 63</file> + <file> 8</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 60 33 7 18 52 4 56 32 30 69 29 34 42 53 31 12 57 51 9 6 17 48 27 22 50 25 45 54 59</file> + <file> 14 36 53 68 22 70 57 54 42 6 5 40 32 28 59 67 64 43 17 60 52 34 44 66 3 37 41 23 33</file> </tool> </inputs> </file> @@ -228,62 +281,58 @@ <outputs> <tool> <name>ILINK</name> - <file> 15</file> + <file> 50</file> </tool> </outputs> <inputs> <tool> <name>ILINK</name> - <file> 19 41 49 8 46 24 21 35 13 20 28</file> + <file> 71 74 56 21 47 31 76 46 48 25 69 58 26</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\utilities\str\fsl_str.c</name> + <name>$PROJ_DIR$\..\user\delay.c</name> <outputs> <tool> <name>ICCARM</name> - <file> 66</file> - </tool> - <tool> - <name>__cstat</name> - <file> 65</file> + <file> 74</file> </tool> <tool> <name>BICOMP</name> - <file> 68</file> + <file> 75</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 61 7 18 52 4 56 62 60 33 32 30 59 29 34 42 53 31 12 57 51 9 6 17 48 27 22 50 25 45 54 69</file> + <file> 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23 73</file> </tool> </inputs> </file> <file> - <name>$PROJ_DIR$\..\utilities\fsl_assert.c</name> + <name>$PROJ_DIR$\..\user\pin_Init.c</name> <outputs> <tool> <name>ICCARM</name> - <file> 71</file> - </tool> - <tool> - <name>__cstat</name> - <file> 43</file> + <file> 76</file> </tool> <tool> <name>BICOMP</name> - <file> 64</file> + <file> 77</file> </tool> </outputs> <inputs> <tool> <name>ICCARM</name> - <file> 29 34 7 18 52 4 56 42 53 31 32 12 33 30 57 51 9 6 17 48 27 22 50 25 45 54</file> + <file> 5 40 53 68 22 70 57 32 28 59 54 67 36 42 64 43 17 60 52 34 44 66 3 37 41 23 11 29 78</file> </tool> </inputs> </file> + <forcedrebuild> + <name>[MULTI_TOOL]</name> + <tool>ILINK</tool> + </forcedrebuild> </configuration> <configuration> <name>Release</name> diff --git a/IAR/test01.ewp b/IAR/test01.ewp index 8b1a57f..1c94bfc 100644 --- a/IAR/test01.ewp +++ b/IAR/test01.ewp @@ -2136,8 +2136,14 @@ </group> <group> <name>user</name> + <file> + <name>$PROJ_DIR$\..\user\delay.c</name> + </file> <file> <name>$PROJ_DIR$\..\user\main.c</name> </file> + <file> + <name>$PROJ_DIR$\..\user\pin_Init.c</name> + </file> </group> </project> diff --git a/IAR/test01.ewt b/IAR/test01.ewt index fe7d837..6658c3e 100644 --- a/IAR/test01.ewt +++ b/IAR/test01.ewt @@ -2398,8 +2398,14 @@ </group> <group> <name>user</name> + <file> + <name>$PROJ_DIR$\..\user\delay.c</name> + </file> <file> <name>$PROJ_DIR$\..\user\main.c</name> </file> + <file> + <name>$PROJ_DIR$\..\user\pin_Init.c</name> + </file> </group> </project> diff --git a/user/delay.c b/user/delay.c new file mode 100644 index 0000000..5974363 --- /dev/null +++ b/user/delay.c @@ -0,0 +1,33 @@ +/*****************ͷ�ļ�*************************/ +#include "fsl_common.h" +#include "delay.h" + +/*****************ȫ�ֱ���*************************/ +volatile uint32_t g_systickCounter; //�δ�ʱ����ʱʱ����� + +/*****************��ʱ������ʼ��*************************/ +void Delay_Init() +{ + if (SysTick_Config(SystemCoreClock / 1000U)) //����1ms�ж�һ�� + { + while (1) + { + } + } +} +/*****************��ʱ����*************************/ +void Delay_ms(uint32_t n) +{ + g_systickCounter = n; + while (g_systickCounter != 0U) + { + } +} +/*****************��ʱ�����ж�*************************/ +void SysTick_Handler(void) +{ + if (g_systickCounter != 0U) + { + g_systickCounter--; + } +} \ No newline at end of file diff --git a/user/delay.h b/user/delay.h new file mode 100644 index 0000000..01f6e5a --- /dev/null +++ b/user/delay.h @@ -0,0 +1,7 @@ +#ifndef _DELAY_H_ +#define _DELAY_H_ + +/*****************��������*************************/ +void Delay_ms(uint32_t n); //�δ�ʱ����ʱ���� +void Delay_Init(); //��ʼ����ʱ���� +#endif \ No newline at end of file diff --git a/user/main.c b/user/main.c index 338c2f6..59b1a64 100644 --- a/user/main.c +++ b/user/main.c @@ -1,66 +1,28 @@ -#include "MKV56F24.h" +/*****************ͷ�ļ�*************************/ #include "fsl_common.h" #include "fsl_gpio.h" -#include "fsl_port.h" +#include "pin_Init.h" +#include "delay.h" /********************************************* PTA15����LED����˸ **********************************************/ -volatile uint32_t g_systickCounter; -void SysTick_DelayTicks(uint32_t n); //�δ�ʱ����ʱ���� + void main() { CLOCK_EnableClock(kCLOCK_PortA); //����PORTʱ�� - port_pin_config_t GPIO_Port_Init = - { - kPORT_PullUp , //���� - kPORT_FastSlewRate, //����ѹ���� - kPORT_PassiveFilterDisable, //��Դ�˲��� - kPORT_OpenDrainDisable, //������� - kPORT_LowDriveStrength, //�������� - kPORT_MuxAsGpio, //��ͨGPIOģʽ - kPORT_UnlockRegister, // - }; - PORT_SetPinConfig(PORTA, 15U, &GPIO_Port_Init); //�������Ÿ��÷�ʽ - gpio_pin_config_t config = - { - kGPIO_DigitalOutput, //���ģʽ - 0, - }; - GPIO_PinInit(GPIOA, 15U, &config); //��ʼ��PTA15 - GPIO_PinWrite(GPIOA, 15, 1); //PTA15д1 - - /* Set systick reload value to generate 1ms interrupt */ - if (SysTick_Config(SystemCoreClock / 1000U)) - { - while (1) - { - } - } + Delay_Init(); //��ʱ������ʼ�� + pin_Init(); //GPIO��ʼ�� while (1) { GPIO_PinWrite(GPIOA, 15, 0); - SysTick_DelayTicks(500U); + Delay_ms(500U); GPIO_PinWrite(GPIOA, 15, 1); - SysTick_DelayTicks(500U); + Delay_ms(500U); } } -void SysTick_Handler(void) -{ - if (g_systickCounter != 0U) - { - g_systickCounter--; - } -} -void SysTick_DelayTicks(uint32_t n) -{ - g_systickCounter = n; - while (g_systickCounter != 0U) - { - } -} diff --git a/user/pin_Init.c b/user/pin_Init.c new file mode 100644 index 0000000..3d7cd36 --- /dev/null +++ b/user/pin_Init.c @@ -0,0 +1,28 @@ +/*****************ͷ�ļ�*************************/ +#include "fsl_common.h" +#include "fsl_port.h" +#include "fsl_gpio.h" +#include "pin_Init.h" + +/*****************GPIO��ʼ��*************************/ +void pin_Init() +{ + port_pin_config_t GPIO_Port_Init = + { + kPORT_PullUp , //���� + kPORT_FastSlewRate, //����ѹ���� + kPORT_PassiveFilterDisable, //��Դ�˲��� + kPORT_OpenDrainDisable, //������� + kPORT_LowDriveStrength, //�������� + kPORT_MuxAsGpio, //��ͨGPIOģʽ + kPORT_UnlockRegister, // + }; + PORT_SetPinConfig(PORTA, 15U, &GPIO_Port_Init); //�������Ÿ��÷�ʽ + gpio_pin_config_t config = + { + kGPIO_DigitalOutput, //���ģʽ + 0, + }; + GPIO_PinInit(GPIOA, 15U, &config); //��ʼ��PTA15 + GPIO_PinWrite(GPIOA, 15, 1); //PTA15д1 +} \ No newline at end of file diff --git a/user/pin_Init.h b/user/pin_Init.h new file mode 100644 index 0000000..09f20aa --- /dev/null +++ b/user/pin_Init.h @@ -0,0 +1,8 @@ +#ifndef _PIN_INIT_H_ +#define _PIN_INIT_H_ + +/*****************��������*************************/ +void pin_Init(); + + +#endif \ No newline at end of file