2021-9-28

This commit is contained in:
Asryn 2021-09-28 09:52:59 +08:00
parent 4c144c8342
commit 2082094992
12 changed files with 3657 additions and 0 deletions

Binary file not shown.

BIN
task009/Debug/Obj/code.r51 Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
This is an internal working file generated by the Source Browser.
09:52 28s
E:\cc2530-projects\task009\Debug\Obj\code.pbi

View File

@ -0,0 +1,15 @@
@REM This batch file has been generated by the IAR Embedded Workbench
@REM C-SPY Debugger, as an aid to preparing a command line for running
@REM the cspybat command line utility using the appropriate settings.
@REM
@REM You can launch cspybat by typing the name of this batch file followed
@REM by the name of the debug file (usually an ELF/DWARF or UBROF file).
@REM Note that this file is generated every time a new debug session
@REM is initialized, so you may want to move or rename the file before
@REM making changes.
@REM
"D:\IAR Systems\Embedded Workbench 6.0\common\bin\cspybat" "D:\IAR Systems\Embedded Workbench 6.0\8051\bin\8051proc.dll" "D:\IAR Systems\Embedded Workbench 6.0\8051\bin\8051sim.dll" %1 --plugin "D:\IAR Systems\Embedded Workbench 6.0\8051\bin\8051bat.dll" --backend -B "--proc_core" "plain" "--proc_code_model" "banked" "--proc_nr_virtual_regs" "8" "--proc_pdata_bank_reg_addr" "0x93" "--proc_dptr_nr_of" "1" "--proc_codebank_reg" "0x9F" "--proc_codebank_start" "0x8000" "--proc_codebank_end" "0xFFFF" "--proc_codebank_mask" "0xFF" "--proc_data_model" "large" "-p" "D:\IAR Systems\Embedded Workbench 6.0\8051\config\devices\Texas Instruments\ioCC2530F256.ddf" "--proc_driver" "sim"

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<Project/>

View File

@ -0,0 +1,24 @@
[InterruptLog]
LogEnabled=0
SumEnabled=0
GraphEnabled=0
ShowTimeLog=1
ShowTimeSum=1
SumSortOrder=0
[Breakpoints]
Count=0
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[Aliases]
Count=0
SuppressDialog=0
[TraceHelper]
Enabled=0
ShowSource=1

View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<Workspace>
<ConfigDictionary>
<CurrentConfigs>
<Project>task009/Debug</Project>
</CurrentConfigs>
</ConfigDictionary>
<Desktop>
<Static>
<Workspace>
<ColumnWidths>
<Column0>124</Column0>
<Column1>27</Column1>
<Column2>27</Column2>
<Column3>27</Column3>
</ColumnWidths>
</Workspace>
<Build>
<ColumnWidth0>20</ColumnWidth0>
<ColumnWidth1>1107</ColumnWidth1>
<ColumnWidth2>295</ColumnWidth2>
<ColumnWidth3>73</ColumnWidth3>
</Build>
</Static>
<Windows>
<Wnd0>
<Tabs>
<Tab>
<Identity>TabID-22706-24995</Identity>
<TabName>Workspace</TabName>
<Factory>Workspace</Factory>
<Session>
<NodeDict>
<ExpandedNode>task009</ExpandedNode>
</NodeDict>
</Session>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab>
</Wnd0>
<Wnd1>
<Tabs>
<Tab>
<Identity>TabID-32598-26243</Identity>
<TabName>Build</TabName>
<Factory>Build</Factory>
<Session/>
</Tab>
</Tabs>
<SelectedTab>0</SelectedTab>
</Wnd1>
</Windows>
<Editor>
<Pane>
<Tab>
<Factory>TextEditor</Factory>
<Filename>$WS_DIR$\source\code.c</Filename>
<XPos>0</XPos>
<YPos>6</YPos>
<SelStart>218</SelStart>
<SelEnd>218</SelEnd>
</Tab>
<ActiveTab>0</ActiveTab>
</Pane>
<ActivePane>0</ActivePane>
<Sizes>
<Pane>
<X>1000000</X>
<Y>1000000</Y>
</Pane>
</Sizes>
<SplitMode>1</SplitMode>
</Editor>
<Positions>
<Top>
<Row0>
<Sizes>
<Toolbar-06bf1b10>
<key>iaridepm.enu1</key>
</Toolbar-06bf1b10>
</Sizes>
</Row0>
</Top>
<Left>
<Row0>
<Sizes>
<Wnd0>
<Rect>
<Top>-2</Top>
<Left>-2</Left>
<Bottom>530</Bottom>
<Right>198</Right>
<x>-2</x>
<y>-2</y>
<xscreen>200</xscreen>
<yscreen>200</yscreen>
<sizeHorzCX>130208</sizeHorzCX>
<sizeHorzCY>258732</sizeHorzCY>
<sizeVertCX>130208</sizeVertCX>
<sizeVertCY>688228</sizeVertCY>
</Rect>
</Wnd0>
</Sizes>
</Row0>
</Left>
<Right>
<Row0>
<Sizes/>
</Row0>
</Right>
<Bottom>
<Row0>
<Sizes>
<Wnd1>
<Rect>
<Top>-2</Top>
<Left>-2</Left>
<Bottom>198</Bottom>
<Right>1538</Right>
<x>-2</x>
<y>-2</y>
<xscreen>1540</xscreen>
<yscreen>200</yscreen>
<sizeHorzCX>1002604</sizeHorzCX>
<sizeHorzCY>258732</sizeHorzCY>
<sizeVertCX>130208</sizeVertCX>
<sizeVertCY>258732</sizeVertCY>
</Rect>
</Wnd1>
</Sizes>
</Row0>
</Bottom>
<Float>
<Sizes/>
</Float>
</Positions>
</Desktop>
</Workspace>

19
task009/source/code.c Normal file
View File

@ -0,0 +1,19 @@
#include<ioCC2530.h>
unsigned char pause = 0;
void delay(unsigned int time){
unsigned int i,j;
for(i = 0;i<time;i++){
for(j = 0;j<2040;j++);
}
while(pause);
}
void initial_gpio(){
}
void main(){
}

87
task009/task009.dep Normal file
View File

@ -0,0 +1,87 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<project>
<fileVersion>2</fileVersion>
<fileChecksum>1773758750</fileChecksum>
<configuration>
<name>Debug</name>
<outputs>
<file>$TOOLKIT_DIR$\inc\ioCC2530.h</file>
<file>$TOOLKIT_DIR$\config\devices\Texas Instruments\lnk51ew_CC2530F256_banked.xcl</file>
<file>$TOOLKIT_DIR$\lib\clib\cl-pli-blxd-1e16x01.r51</file>
<file>$PROJ_DIR$\Debug\Exe\task009.hex</file>
<file>$PROJ_DIR$\Debug\Obj\code.pbi</file>
<file>$PROJ_DIR$\Debug\Obj\code.r51</file>
<file>$PROJ_DIR$\Debug\Exe\task009.d51</file>
<file>$PROJ_DIR$\source\code.c</file>
<file>$TOOLKIT_DIR$\doc\infocenter\index.ENU.html</file>
<file>$PROJ_DIR$\Debug\Obj\task009.pbd</file>
</outputs>
<file>
<name>[ROOT_NODE]</name>
<outputs>
<tool>
<name>XLINK</name>
<file> 6 3</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\Debug\Exe\task009.d51</name>
<outputs>
<tool>
<name>XLINK</name>
<file> 3</file>
</tool>
</outputs>
<inputs>
<tool>
<name>XLINK</name>
<file> 1 5 2</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\source\code.c</name>
<outputs>
<tool>
<name>BICOMP</name>
<file> 4</file>
</tool>
<tool>
<name>ICC8051</name>
<file> 5</file>
</tool>
</outputs>
<inputs>
<tool>
<name>BICOMP</name>
<file> 0</file>
</tool>
<tool>
<name>ICC8051</name>
<file> 0</file>
</tool>
</inputs>
</file>
<file>
<name>$PROJ_DIR$\Debug\Obj\task009.pbd</name>
<inputs>
<tool>
<name>BILINK</name>
<file> 4</file>
</tool>
</inputs>
</file>
</configuration>
<configuration>
<name>Release</name>
<outputs/>
<forcedrebuild>
<name>[MULTI_TOOL]</name>
<tool>XLINK</tool>
</forcedrebuild>
</configuration>
</project>

1281
task009/task009.ewd Normal file

File diff suppressed because it is too large Load Diff

2072
task009/task009.ewp Normal file

File diff suppressed because it is too large Load Diff

10
task009/task009.eww Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<workspace>
<project>
<path>$WS_DIR$\task009.ewp</path>
</project>
<batchBuild/>
</workspace>