Stair56E UART project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
FUNC void Initialization(void)
|
||||
{
|
||||
SP = _RDWORD(0x10000000);
|
||||
PC = _RDWORD(0x10000004);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
LOAD %L INCREMENTAL
|
||||
Initialization();
|
||||
@@ -0,0 +1,39 @@
|
||||
[BREAKPOINTS]
|
||||
ForceImpTypeAny = 0
|
||||
ShowInfoWin = 1
|
||||
EnableFlashBP = 2
|
||||
BPDuringExecution = 0
|
||||
[CFI]
|
||||
CFISize = 0x00
|
||||
CFIAddr = 0x00
|
||||
[CPU]
|
||||
MonModeVTableAddr = 0xFFFFFFFF
|
||||
MonModeDebug = 0
|
||||
MaxNumAPs = 0
|
||||
LowPowerHandlingMode = 0
|
||||
OverrideMemMap = 0
|
||||
AllowSimulation = 1
|
||||
ScriptFile=""
|
||||
[FLASH]
|
||||
CacheExcludeSize = 0x00
|
||||
CacheExcludeAddr = 0x00
|
||||
MinNumBytesFlashDL = 0
|
||||
SkipProgOnCRCMatch = 1
|
||||
VerifyDownload = 1
|
||||
AllowCaching = 1
|
||||
EnableFlashDL = 2
|
||||
Override = 0
|
||||
Device="ARM7"
|
||||
[GENERAL]
|
||||
WorkRAMSize = 0x00
|
||||
WorkRAMAddr = 0x00
|
||||
RAMUsageLimit = 0x00
|
||||
[SWO]
|
||||
SWOLogFile=""
|
||||
[MEM]
|
||||
RdOverrideOrMask = 0x00
|
||||
RdOverrideAndMask = 0xFFFFFFFF
|
||||
RdOverrideAddr = 0xFFFFFFFF
|
||||
WrOverrideOrMask = 0x00
|
||||
WrOverrideAndMask = 0xFFFFFFFF
|
||||
WrOverrideAddr = 0xFFFFFFFF
|
||||
@@ -0,0 +1,16 @@
|
||||
LOAD 0x10000000
|
||||
{
|
||||
EXE 0x10000000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
|
||||
RW +0000
|
||||
{
|
||||
* (+RW,+ZI)
|
||||
}
|
||||
|
||||
ScatterAssert(ImageLength(RW) < 1024 * 28)
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
LOAD 0x11014000
|
||||
{
|
||||
EXE 0x11014000
|
||||
{
|
||||
startup_xinc.o (RESET, +FIRST)
|
||||
* (+RO)
|
||||
|
||||
}
|
||||
;This area is vector
|
||||
RW1 0x10000100
|
||||
{
|
||||
startup_xinc.o(STACK)
|
||||
}
|
||||
ScatterAssert(ImageLength(RW1) < (0x800 - 0x100))
|
||||
RW 0x10002d00
|
||||
{
|
||||
; startup_xinc.o(STACK)
|
||||
* (+RW,+ZI)
|
||||
*(ram_code)
|
||||
aeabi_sdiv.o(.text)
|
||||
uread4.o(.text)
|
||||
rt_memclr.o(.text)
|
||||
}
|
||||
ScatterAssert((0x2d00+ImageLength(RW)) < 1024 * 32 )
|
||||
|
||||
|
||||
; RW2 (0x53004000+12*1024)
|
||||
; {
|
||||
; *(ram_em)
|
||||
; }
|
||||
; ScatterAssert((0x53004000+12*1024)+ImageLength(RW2) < (0x53004000+16*1024))
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,553 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_optx.xsd">
|
||||
|
||||
<SchemaVersion>1.0</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Extensions>
|
||||
<cExt>*.c</cExt>
|
||||
<aExt>*.s*; *.src; *.a*</aExt>
|
||||
<oExt>*.obj; *.o</oExt>
|
||||
<lExt>*.lib</lExt>
|
||||
<tExt>*.txt; *.h; *.inc; *.md</tExt>
|
||||
<pExt>*.plm</pExt>
|
||||
<CppX>*.cpp</CppX>
|
||||
<nMigrate>0</nMigrate>
|
||||
</Extensions>
|
||||
|
||||
<DaveTm>
|
||||
<dwLowDateTime>0</dwLowDateTime>
|
||||
<dwHighDateTime>0</dwHighDateTime>
|
||||
</DaveTm>
|
||||
|
||||
<Target>
|
||||
<TargetName>ble-sdk-xip</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<TargetOption>
|
||||
<CLKADS>12000000</CLKADS>
|
||||
<OPTTT>
|
||||
<gFlags>1</gFlags>
|
||||
<BeepAtEnd>1</BeepAtEnd>
|
||||
<RunSim>0</RunSim>
|
||||
<RunTarget>1</RunTarget>
|
||||
<RunAbUc>0</RunAbUc>
|
||||
</OPTTT>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<FlashByte>65535</FlashByte>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
</OPTHX>
|
||||
<OPTLEX>
|
||||
<PageWidth>79</PageWidth>
|
||||
<PageLength>66</PageLength>
|
||||
<TabStop>8</TabStop>
|
||||
<ListingPath>.\Listings\</ListingPath>
|
||||
</OPTLEX>
|
||||
<ListingPage>
|
||||
<CreateCListing>1</CreateCListing>
|
||||
<CreateAListing>1</CreateAListing>
|
||||
<CreateLListing>1</CreateLListing>
|
||||
<CreateIListing>0</CreateIListing>
|
||||
<AsmCond>1</AsmCond>
|
||||
<AsmSymb>1</AsmSymb>
|
||||
<AsmXref>0</AsmXref>
|
||||
<CCond>1</CCond>
|
||||
<CCode>0</CCode>
|
||||
<CListInc>0</CListInc>
|
||||
<CSymb>0</CSymb>
|
||||
<LinkerCodeListing>0</LinkerCodeListing>
|
||||
</ListingPage>
|
||||
<OPTXL>
|
||||
<LMap>1</LMap>
|
||||
<LComments>1</LComments>
|
||||
<LGenerateSymbols>1</LGenerateSymbols>
|
||||
<LLibSym>1</LLibSym>
|
||||
<LLines>1</LLines>
|
||||
<LLocSym>1</LLocSym>
|
||||
<LPubSym>1</LPubSym>
|
||||
<LXref>0</LXref>
|
||||
<LExpSel>0</LExpSel>
|
||||
</OPTXL>
|
||||
<OPTFL>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<IsCurrentTarget>1</IsCurrentTarget>
|
||||
</OPTFL>
|
||||
<CpuCode>7</CpuCode>
|
||||
<DebugOpt>
|
||||
<uSim>0</uSim>
|
||||
<uTrg>1</uTrg>
|
||||
<sLdApp>1</sLdApp>
|
||||
<sGomain>1</sGomain>
|
||||
<sRbreak>1</sRbreak>
|
||||
<sRwatch>1</sRwatch>
|
||||
<sRmem>1</sRmem>
|
||||
<sRfunc>1</sRfunc>
|
||||
<sRbox>1</sRbox>
|
||||
<tLdApp>1</tLdApp>
|
||||
<tGomain>1</tGomain>
|
||||
<tRbreak>1</tRbreak>
|
||||
<tRwatch>1</tRwatch>
|
||||
<tRmem>1</tRmem>
|
||||
<tRfunc>0</tRfunc>
|
||||
<tRbox>1</tRbox>
|
||||
<tRtrace>1</tRtrace>
|
||||
<sRSysVw>1</sRSysVw>
|
||||
<tRSysVw>1</tRSysVw>
|
||||
<sRunDeb>0</sRunDeb>
|
||||
<sLrtime>0</sLrtime>
|
||||
<bEvRecOn>1</bEvRecOn>
|
||||
<bSchkAxf>0</bSchkAxf>
|
||||
<bTchkAxf>0</bTchkAxf>
|
||||
<nTsel>4</nTsel>
|
||||
<sDll></sDll>
|
||||
<sDllPa></sDllPa>
|
||||
<sDlgDll></sDlgDll>
|
||||
<sDlgPa></sDlgPa>
|
||||
<sIfile></sIfile>
|
||||
<tDll></tDll>
|
||||
<tDllPa></tDllPa>
|
||||
<tDlgDll></tDlgDll>
|
||||
<tDlgPa></tDlgPa>
|
||||
<tIfile>..\..\..\driver\adc\mdk\Linker\XIPInitialization.ini</tIfile>
|
||||
<pMon>Segger\JL2CM3.dll</pMon>
|
||||
</DebugOpt>
|
||||
<TargetDriverDllRegistry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>JL2CM3</Key>
|
||||
<Name>-U4294967295 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -N00("ARM CoreSight SW-DP") -D00(0BB11477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8027 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD10000000 -FC1000 -FN1 -FF0XIP_SPI_FLASH_M0 -FS011001000 -FL020000</Name>
|
||||
</SetRegEntry>
|
||||
<SetRegEntry>
|
||||
<Number>0</Number>
|
||||
<Key>UL2CM3</Key>
|
||||
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</Name>
|
||||
</SetRegEntry>
|
||||
</TargetDriverDllRegistry>
|
||||
<Breakpoint/>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
</Tracepoint>
|
||||
<DebugFlag>
|
||||
<trace>0</trace>
|
||||
<periodic>0</periodic>
|
||||
<aLwin>0</aLwin>
|
||||
<aCover>0</aCover>
|
||||
<aSer1>0</aSer1>
|
||||
<aSer2>0</aSer2>
|
||||
<aPa>0</aPa>
|
||||
<viewmode>0</viewmode>
|
||||
<vrSel>0</vrSel>
|
||||
<aSym>0</aSym>
|
||||
<aTbox>0</aTbox>
|
||||
<AscS1>0</AscS1>
|
||||
<AscS2>0</AscS2>
|
||||
<AscS3>0</AscS3>
|
||||
<aSer3>0</aSer3>
|
||||
<eProf>0</eProf>
|
||||
<aLa>0</aLa>
|
||||
<aPa1>0</aPa1>
|
||||
<AscS4>0</AscS4>
|
||||
<aSer4>0</aSer4>
|
||||
<StkLoc>0</StkLoc>
|
||||
<TrcWin>0</TrcWin>
|
||||
<newCpu>0</newCpu>
|
||||
<uProt>0</uProt>
|
||||
</DebugFlag>
|
||||
<LintExecutable></LintExecutable>
|
||||
<LintConfigFile></LintConfigFile>
|
||||
<bLintAuto>0</bLintAuto>
|
||||
<bAutoGenD>0</bAutoGenD>
|
||||
<LntExFlags>0</LntExFlags>
|
||||
<pMisraName></pMisraName>
|
||||
<pszMrule></pszMrule>
|
||||
<pSingCmds></pSingCmds>
|
||||
<pMultCmds></pMultCmds>
|
||||
<pMisraNamep></pMisraNamep>
|
||||
<pszMrulep></pszMrulep>
|
||||
<pSingCmdsp></pSingCmdsp>
|
||||
<pMultCmdsp></pMultCmdsp>
|
||||
</TargetOption>
|
||||
</Target>
|
||||
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>1</FileNumber>
|
||||
<FileType>5</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</PathWithFileName>
|
||||
<FilenameWithoutPath>core_cm0.h</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>2</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\startup_xinc.s</PathWithFileName>
|
||||
<FilenameWithoutPath>startup_xinc.s</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>1</GroupNumber>
|
||||
<FileNumber>3</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\system_xinc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>system_xinc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>application</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\app_task.c</PathWithFileName>
|
||||
<FilenameWithoutPath>app_task.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>5</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\usr_client.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usr_client.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>6</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\sleep.c</PathWithFileName>
|
||||
<FilenameWithoutPath>sleep.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>7</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\arch_main.c</PathWithFileName>
|
||||
<FilenameWithoutPath>arch_main.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>8</FileNumber>
|
||||
<FileType>3</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\rom_symdefs.o</PathWithFileName>
|
||||
<FilenameWithoutPath>rom_symdefs.o</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>9</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\app_sec.c</PathWithFileName>
|
||||
<FilenameWithoutPath>app_sec.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>10</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\usr_server.c</PathWithFileName>
|
||||
<FilenameWithoutPath>usr_server.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>modules_rf</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>3</GroupNumber>
|
||||
<FileNumber>11</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\modules\rf\src\rf_extrc.c</PathWithFileName>
|
||||
<FilenameWithoutPath>rf_extrc.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>hal</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>12</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>13</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_clock.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>14</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_gpio.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>15</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_pwr.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>16</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_systick.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>17</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_timer.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_timer.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>18</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>19</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_wdt.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_wdt.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>4</GroupNumber>
|
||||
<FileNumber>20</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_fmc_spi.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_drv_fmc_spi.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>ble_api</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>21</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\ip\ble\api\xc_gap_api.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_gap_api.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>22</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\ip\ble\api\xc_gatt_client_api.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_gatt_client_api.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
<File>
|
||||
<GroupNumber>5</GroupNumber>
|
||||
<FileNumber>23</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\ip\ble\api\xc_gatt_server_api.c</PathWithFileName>
|
||||
<FilenameWithoutPath>xc_gatt_server_api.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>modules_nvds</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>6</GroupNumber>
|
||||
<FileNumber>24</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\modules\nvds\src\nvds.c</PathWithFileName>
|
||||
<FilenameWithoutPath>nvds.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>lib</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>7</GroupNumber>
|
||||
<FileNumber>25</FileNumber>
|
||||
<FileType>4</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\app\src\Xinc_ble_sdk_central.lib</PathWithFileName>
|
||||
<FilenameWithoutPath>Xinc_ble_sdk_central.lib</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
<Group>
|
||||
<GroupName>dut</GroupName>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
<File>
|
||||
<GroupNumber>8</GroupNumber>
|
||||
<FileNumber>26</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\..\..\..\..\component\ble\plf\refip\src\driver\uart\uart.c</PathWithFileName>
|
||||
<FilenameWithoutPath>uart.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
<bShared>0</bShared>
|
||||
</File>
|
||||
</Group>
|
||||
|
||||
</ProjectOpt>
|
||||
@@ -0,0 +1,661 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd">
|
||||
|
||||
<SchemaVersion>2.1</SchemaVersion>
|
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header>
|
||||
|
||||
<Targets>
|
||||
<Target>
|
||||
<TargetName>ble-sdk-xip</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed>
|
||||
<uAC6>0</uAC6>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>ARMCM0</Device>
|
||||
<Vendor>ARM</Vendor>
|
||||
<PackID>ARM.CMSIS.5.7.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000,0x00020000) IROM(0x00000000,0x00040000) CPUTYPE("Cortex-M0") CLOCK(12000000) ESEL ELITTLE</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
<StartupFile></StartupFile>
|
||||
<FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000)</FlashDriverDll>
|
||||
<DeviceId>0</DeviceId>
|
||||
<RegisterFile>$$Device:ARMCM0$Device\ARM\ARMCM0\Include\ARMCM0.h</RegisterFile>
|
||||
<MemoryEnv></MemoryEnv>
|
||||
<Cmp></Cmp>
|
||||
<Asm></Asm>
|
||||
<Linker></Linker>
|
||||
<OHString></OHString>
|
||||
<InfinionOptionDll></InfinionOptionDll>
|
||||
<SLE66CMisc></SLE66CMisc>
|
||||
<SLE66AMisc></SLE66AMisc>
|
||||
<SLE66LinkerMisc></SLE66LinkerMisc>
|
||||
<SFDFile>$$Device:ARMCM0$Device\ARM\SVD\ARMCM0.svd</SFDFile>
|
||||
<bCustSvd>0</bCustSvd>
|
||||
<UseEnv>0</UseEnv>
|
||||
<BinPath></BinPath>
|
||||
<IncludePath></IncludePath>
|
||||
<LibPath></LibPath>
|
||||
<RegisterFilePath></RegisterFilePath>
|
||||
<DBRegisterFilePath></DBRegisterFilePath>
|
||||
<TargetStatus>
|
||||
<Error>0</Error>
|
||||
<ExitCodeStop>0</ExitCodeStop>
|
||||
<ButtonStop>0</ButtonStop>
|
||||
<NotGenerated>0</NotGenerated>
|
||||
<InvalidFlash>1</InvalidFlash>
|
||||
</TargetStatus>
|
||||
<OutputDirectory>.\Objects\</OutputDirectory>
|
||||
<OutputName>Xinc_ble_sdk</OutputName>
|
||||
<CreateExecutable>1</CreateExecutable>
|
||||
<CreateLib>0</CreateLib>
|
||||
<CreateHexFile>0</CreateHexFile>
|
||||
<DebugInformation>1</DebugInformation>
|
||||
<BrowseInformation>1</BrowseInformation>
|
||||
<ListingPath>.\Listings\</ListingPath>
|
||||
<HexFormatSelection>1</HexFormatSelection>
|
||||
<Merge32K>0</Merge32K>
|
||||
<CreateBatchFile>0</CreateBatchFile>
|
||||
<BeforeCompile>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopU1X>0</nStopU1X>
|
||||
<nStopU2X>0</nStopU2X>
|
||||
</BeforeCompile>
|
||||
<BeforeMake>
|
||||
<RunUserProg1>0</RunUserProg1>
|
||||
<RunUserProg2>0</RunUserProg2>
|
||||
<UserProg1Name></UserProg1Name>
|
||||
<UserProg2Name></UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopB1X>0</nStopB1X>
|
||||
<nStopB2X>0</nStopB2X>
|
||||
</BeforeMake>
|
||||
<AfterMake>
|
||||
<RunUserProg1>1</RunUserProg1>
|
||||
<RunUserProg2>1</RunUserProg2>
|
||||
<UserProg1Name>fromelf --bin --output=app.bin !L</UserProg1Name>
|
||||
<UserProg2Name>.\output_tool\xinchip_bootloader2.bat</UserProg2Name>
|
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
|
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
|
||||
<nStopA1X>0</nStopA1X>
|
||||
<nStopA2X>0</nStopA2X>
|
||||
</AfterMake>
|
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild>
|
||||
<SVCSIdString></SVCSIdString>
|
||||
</TargetCommonOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>1</IncludeInBuild>
|
||||
<AlwaysBuild>0</AlwaysBuild>
|
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile>
|
||||
<PublicsOnly>0</PublicsOnly>
|
||||
<StopOnExitCode>3</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<DllOption>
|
||||
<SimDllName>SARMCM3.DLL</SimDllName>
|
||||
<SimDllArguments> </SimDllArguments>
|
||||
<SimDlgDll>DARMCM1.DLL</SimDlgDll>
|
||||
<SimDlgDllArguments>-pCM0</SimDlgDllArguments>
|
||||
<TargetDllName>SARMCM3.DLL</TargetDllName>
|
||||
<TargetDllArguments> </TargetDllArguments>
|
||||
<TargetDlgDll>TARMCM1.DLL</TargetDlgDll>
|
||||
<TargetDlgDllArguments>-pCM0</TargetDlgDllArguments>
|
||||
</DllOption>
|
||||
<DebugOption>
|
||||
<OPTHX>
|
||||
<HexSelection>1</HexSelection>
|
||||
<HexRangeLowAddress>0</HexRangeLowAddress>
|
||||
<HexRangeHighAddress>0</HexRangeHighAddress>
|
||||
<HexOffset>0</HexOffset>
|
||||
<Oh166RecLen>16</Oh166RecLen>
|
||||
</OPTHX>
|
||||
</DebugOption>
|
||||
<Utilities>
|
||||
<Flash1>
|
||||
<UseTargetDll>1</UseTargetDll>
|
||||
<UseExternalTool>0</UseExternalTool>
|
||||
<RunIndependent>0</RunIndependent>
|
||||
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
|
||||
<Capability>1</Capability>
|
||||
<DriverSelection>4096</DriverSelection>
|
||||
</Flash1>
|
||||
<bUseTDR>1</bUseTDR>
|
||||
<Flash2>BIN\UL2CM3.DLL</Flash2>
|
||||
<Flash3>"" ()</Flash3>
|
||||
<Flash4></Flash4>
|
||||
<pFcarmOut></pFcarmOut>
|
||||
<pFcarmGrp></pFcarmGrp>
|
||||
<pFcArmRoot></pFcArmRoot>
|
||||
<FcArmLst>0</FcArmLst>
|
||||
</Utilities>
|
||||
<TargetArmAds>
|
||||
<ArmAdsMisc>
|
||||
<GenerateListings>0</GenerateListings>
|
||||
<asHll>1</asHll>
|
||||
<asAsm>1</asAsm>
|
||||
<asMacX>1</asMacX>
|
||||
<asSyms>1</asSyms>
|
||||
<asFals>1</asFals>
|
||||
<asDbgD>1</asDbgD>
|
||||
<asForm>1</asForm>
|
||||
<ldLst>0</ldLst>
|
||||
<ldmm>1</ldmm>
|
||||
<ldXref>1</ldXref>
|
||||
<BigEnd>0</BigEnd>
|
||||
<AdsALst>1</AdsALst>
|
||||
<AdsACrf>1</AdsACrf>
|
||||
<AdsANop>0</AdsANop>
|
||||
<AdsANot>0</AdsANot>
|
||||
<AdsLLst>1</AdsLLst>
|
||||
<AdsLmap>1</AdsLmap>
|
||||
<AdsLcgr>1</AdsLcgr>
|
||||
<AdsLsym>1</AdsLsym>
|
||||
<AdsLszi>1</AdsLszi>
|
||||
<AdsLtoi>1</AdsLtoi>
|
||||
<AdsLsun>1</AdsLsun>
|
||||
<AdsLven>1</AdsLven>
|
||||
<AdsLsxf>1</AdsLsxf>
|
||||
<RvctClst>0</RvctClst>
|
||||
<GenPPlst>0</GenPPlst>
|
||||
<AdsCpuType>"Cortex-M0"</AdsCpuType>
|
||||
<RvctDeviceName></RvctDeviceName>
|
||||
<mOS>0</mOS>
|
||||
<uocRom>0</uocRom>
|
||||
<uocRam>0</uocRam>
|
||||
<hadIROM>1</hadIROM>
|
||||
<hadIRAM>1</hadIRAM>
|
||||
<hadXRAM>0</hadXRAM>
|
||||
<uocXRam>0</uocXRam>
|
||||
<RvdsVP>0</RvdsVP>
|
||||
<RvdsMve>0</RvdsMve>
|
||||
<RvdsCdeCp>0</RvdsCdeCp>
|
||||
<hadIRAM2>0</hadIRAM2>
|
||||
<hadIROM2>0</hadIROM2>
|
||||
<StupSel>8</StupSel>
|
||||
<useUlib>0</useUlib>
|
||||
<EndSel>1</EndSel>
|
||||
<uLtcg>0</uLtcg>
|
||||
<nSecure>0</nSecure>
|
||||
<RoSelD>3</RoSelD>
|
||||
<RwSelD>3</RwSelD>
|
||||
<CodeSel>0</CodeSel>
|
||||
<OptFeed>0</OptFeed>
|
||||
<NoZi1>0</NoZi1>
|
||||
<NoZi2>0</NoZi2>
|
||||
<NoZi3>0</NoZi3>
|
||||
<NoZi4>0</NoZi4>
|
||||
<NoZi5>0</NoZi5>
|
||||
<Ro1Chk>0</Ro1Chk>
|
||||
<Ro2Chk>0</Ro2Chk>
|
||||
<Ro3Chk>0</Ro3Chk>
|
||||
<Ir1Chk>0</Ir1Chk>
|
||||
<Ir2Chk>0</Ir2Chk>
|
||||
<Ra1Chk>0</Ra1Chk>
|
||||
<Ra2Chk>0</Ra2Chk>
|
||||
<Ra3Chk>0</Ra3Chk>
|
||||
<Im1Chk>0</Im1Chk>
|
||||
<Im2Chk>0</Im2Chk>
|
||||
<OnChipMemories>
|
||||
<Ocm1>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm1>
|
||||
<Ocm2>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm2>
|
||||
<Ocm3>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm3>
|
||||
<Ocm4>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm4>
|
||||
<Ocm5>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm5>
|
||||
<Ocm6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</Ocm6>
|
||||
<IRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</IRAM>
|
||||
<IROM>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</IROM>
|
||||
<XRAM>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</XRAM>
|
||||
<OCR_RVCT1>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT1>
|
||||
<OCR_RVCT2>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT2>
|
||||
<OCR_RVCT3>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT3>
|
||||
<OCR_RVCT4>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x40000</Size>
|
||||
</OCR_RVCT4>
|
||||
<OCR_RVCT5>
|
||||
<Type>1</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT5>
|
||||
<OCR_RVCT6>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT6>
|
||||
<OCR_RVCT7>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT7>
|
||||
<OCR_RVCT8>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT8>
|
||||
<OCR_RVCT9>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x20000000</StartAddress>
|
||||
<Size>0x20000</Size>
|
||||
</OCR_RVCT9>
|
||||
<OCR_RVCT10>
|
||||
<Type>0</Type>
|
||||
<StartAddress>0x0</StartAddress>
|
||||
<Size>0x0</Size>
|
||||
</OCR_RVCT10>
|
||||
</OnChipMemories>
|
||||
<RvctStartVector></RvctStartVector>
|
||||
</ArmAdsMisc>
|
||||
<Cads>
|
||||
<interw>1</interw>
|
||||
<Optim>4</Optim>
|
||||
<oTime>0</oTime>
|
||||
<SplitLS>0</SplitLS>
|
||||
<OneElfS>1</OneElfS>
|
||||
<Strict>0</Strict>
|
||||
<EnumInt>0</EnumInt>
|
||||
<PlainCh>0</PlainCh>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<wLevel>2</wLevel>
|
||||
<uThumb>0</uThumb>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<uC99>1</uC99>
|
||||
<uGnu>1</uGnu>
|
||||
<useXO>0</useXO>
|
||||
<v6Lang>3</v6Lang>
|
||||
<v6LangP>3</v6LangP>
|
||||
<vShortEn>1</vShortEn>
|
||||
<vShortWch>1</vShortWch>
|
||||
<v6Lto>0</v6Lto>
|
||||
<v6WtE>0</v6WtE>
|
||||
<v6Rtti>0</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls>--gnu --diag_suppress=66 --feedback fb.txt</MiscControls>
|
||||
<Define>SDK_VERSION="4b62ec53" RC_32K=1 XC65XX CFG_BLE CFG_EMB CFG_STATIC USE_XIP=0 HCI_TEST_NO_IP=0 CFG_ACT=8 CFG_CON=6 CFG_RAL=1 CFG_HOST CFG_APP CFG_APP_PRF CFG_RF_EXTRC CFG_AES_RPA CFG_ALLROLES CFG_GATT_CLI USE_XIP=1 DEBUG_ENABLE ROM_ENV_ENABLE=0 CODE_USE_XIP CFG_PRF_BASS USE_ROM_FLASH=1 CFG_SCAN_PERFORMANCE CFG_MIN_STACK CONFIG_BT_WAKEUP_VIA_GPIO=1 CONFIG_HFCLK_IS_OSC32M_PLL_32M=1 SCATTER_LOAD_RAM_EM=1</Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath>..\..\..\..\..\component\ble\Include;..\app\api;..\..\..\..\..\component\ble\modules\aes\api;..\..\..\..\..\component\ble\modules\aes\src;..\..\..\..\..\component\ble\modules\common\api;..\..\..\..\..\component\ble\modules\common\src;..\..\..\..\..\component\ble\modules\ecc_p256\api;..\..\..\..\..\component\ble\modules\ecc_p256\src;..\..\..\..\..\component\ble\modules\h4tl\api;..\..\..\..\..\component\ble\modules\h4tl\src;..\..\..\..\..\component\ble\modules\ke\api;..\..\..\..\..\component\ble\modules\ke\src;..\..\..\..\..\component\ble\modules\nvds\api;..\..\..\..\..\component\ble\modules\nvds\src;..\..\..\..\..\component\ble\modules\rf\api;..\..\..\..\..\component\ble\modules\rf\src;..\..\..\..\..\component\ble\modules\rwip\api;..\..\..\..\..\component\ble\modules\rwip\src;..\..\..\..\..\component\ble\ip\ahi\api;..\..\..\..\..\component\ble\ip\ahi\src;..\..\..\..\..\component\ble\ip\ble\gaf\api;..\..\..\..\..\component\ble\ip\ble\gaf\inc;..\..\..\..\..\component\ble\ip\ble\gaf\src;..\..\..\..\..\component\ble\ip\ble\gaf\src\acc;..\..\..\..\..\component\ble\ip\ble\gaf\src\al;..\..\..\..\..\component\ble\ip\ble\gaf\src\arc;..\..\..\..\..\component\ble\ip\ble\gaf\src\bap\bc;..\..\..\..\..\component\ble\ip\ble\gaf\src\bap\capa;..\..\..\..\..\component\ble\ip\ble\gaf\src\bap\codec;..\..\..\..\..\component\ble\ip\ble\gaf\src\bap\uc;..\..\..\..\..\component\ble\ip\ble\gaf\src\iap;..\..\..\..\..\component\ble\ip\ble\hl\api;..\..\..\..\..\component\ble\ip\ble\hl\inc;..\..\..\..\..\component\ble\ip\ble\hl\src;..\..\..\..\..\component\ble\ip\ble\hl\src\gap;..\..\..\..\..\component\ble\ip\ble\hl\src\gap\gapc;..\..\..\..\..\component\ble\ip\ble\hl\src\gap\gapm;..\..\..\..\..\component\ble\ip\ble\hl\src\gatt;..\..\..\..\..\component\ble\ip\ble\hl\src\inc;..\..\..\..\..\component\ble\ip\ble\hl\src\l2cap;..\..\..\..\..\component\ble\ip\ble\ll\api;..\..\..\..\..\component\ble\ip\ble\ll\src;..\..\..\..\..\component\ble\ip\ble\ll\src\co;..\..\..\..\..\component\ble\ip\ble\ll\src\llc;..\..\..\..\..\component\ble\ip\ble\ll\src\lld;..\..\..\..\..\component\ble\ip\ble\ll\src\lli;..\..\..\..\..\component\ble\ip\ble\ll\src\llm;..\..\..\..\..\component\ble\ip\ble\profiles\bas\bass\api;..\..\..\..\..\component\ble\ip\ble\profiles\bas\bass\src;..\..\..\..\..\component\ble\ip\em\api;..\..\..\..\..\component\ble\ip\em\src;..\..\..\..\..\component\ble\ip\hci\api;..\..\..\..\..\component\ble\ip\hci\src;..\..\..\..\..\component\ble\ip\sch\api;..\..\..\..\..\component\ble\ip\sch\src;..\..\..\..\..\component\ble\plf\refip\src\build\ble-full\reg\fw;..\app\api;..\app\src;..\..\..\..\..\component\ble\plf\refip\src\arch;..\..\..\..\..\component\ble\plf\refip\src\arch\compiler\gnuarm;..\..\..\..\..\component\ble\plf\refip\src\arch\ll\gnuarm;..\..\..\..\..\component\ble\plf\refip\src\driver\reg;..\..\..\..\..\component\ble\plf\refip\src\arch\boot\rvds;..\..\..\..\..\component\ble\plf\refip\src\driver\syscntl;..\..\..\..\..\component\ble\plf\refip\src\driver\emi;..\..\..\..\..\component\ble\plf\refip\src\driver\intc;..\..\..\..\..\component\ble\plf\refip\src\driver\uart;..\..\..\..\..\component\ble\plf\refip\src\driver\flash;..\..\..\..\..\component\ble\plf\refip\src\driver\led;..\..\..\..\..\component\ble\modules\dbg\api;..\..\..\..\..\component\ble\plf\refip\src\driver\uart;..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup;..\..\..\..\..\component\xc6xx_drivers\Drivers\Startup\xc65xx;..\..\..\..\..\component\xc6xx_drivers\Drivers\Periph_HAL_Driver;..\..\..\..\..\component\xc6xx_drivers\Drivers\Periph_HAL_Driver\Bitfields;..\..\..\..\..\component\xc6xx_drivers\Drivers\Periph_HAL_Driver\Ringbuffer;..\..\..\..\..\component\xc6xx_drivers\Drivers\test_case\PWR;..\..\..\..\..\component\xc6xx_drivers\Drivers\test_case\TIMER;..\..\..\..\..\component\ble\ip\ble\api;..\..\..\..\..\component\xc6xx_drivers\Drivers\test_case\TIMER;..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device;..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS;..\..\..\..\..\component\xc6xx_drivers\Drivers;..\..\..\..\..\component\ble\ip\ble\ll_rom_port;..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver;..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\Device\xc_m0_register;..\..\..\..\..\component\ble\modules\flash</IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>1</interw>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<thumb>0</thumb>
|
||||
<SplitLS>0</SplitLS>
|
||||
<SwStkChk>0</SwStkChk>
|
||||
<NoWarn>0</NoWarn>
|
||||
<uSurpInc>0</uSurpInc>
|
||||
<useXO>0</useXO>
|
||||
<ClangAsOpt>1</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
<LDads>
|
||||
<umfTarg>0</umfTarg>
|
||||
<Ropi>0</Ropi>
|
||||
<Rwpi>0</Rwpi>
|
||||
<noStLib>0</noStLib>
|
||||
<RepFail>1</RepFail>
|
||||
<useFile>0</useFile>
|
||||
<TextAddressRange>0x00000000</TextAddressRange>
|
||||
<DataAddressRange>0x20000000</DataAddressRange>
|
||||
<pXoBase></pXoBase>
|
||||
<ScatterFile>.\Linker\cpu_xip.scat</ScatterFile>
|
||||
<IncludeLibs></IncludeLibs>
|
||||
<IncludeLibsPath></IncludeLibsPath>
|
||||
<Misc>--feedback fb.txt --info=stack --callgraph</Misc>
|
||||
<LinkerInputFile></LinkerInputFile>
|
||||
<DisabledWarnings></DisabledWarnings>
|
||||
</LDads>
|
||||
</TargetArmAds>
|
||||
</TargetOption>
|
||||
<Groups>
|
||||
<Group>
|
||||
<GroupName>startup</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>core_cm0.h</FileName>
|
||||
<FileType>5</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\CMSIS\core_cm0.h</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>startup_xinc.s</FileName>
|
||||
<FileType>2</FileType>
|
||||
<FilePath>..\app\src\startup_xinc.s</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>system_xinc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\system_xinc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>application</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>app_task.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\app_task.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usr_client.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\usr_client.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>sleep.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\sleep.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>arch_main.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\arch_main.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>rom_symdefs.o</FileName>
|
||||
<FileType>3</FileType>
|
||||
<FilePath>..\app\src\rom_symdefs.o</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>app_sec.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\app_sec.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>usr_server.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\app\src\usr_server.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>modules_rf</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>rf_extrc.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\modules\rf\src\rf_extrc.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>hal</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>ringbuffer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\ringbuffer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_clock.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_clock.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_gpio.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_gpio.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_pwr.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_pwr.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_systick.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_systick.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_timer.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_timer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_uart.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_wdt.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_wdt.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_drv_fmc_spi.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\xc6xx_drivers\Drivers\xc_driver\xc_drv_fmc_spi.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>ble_api</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>xc_gap_api.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\ip\ble\api\xc_gap_api.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_gatt_client_api.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\ip\ble\api\xc_gatt_client_api.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>xc_gatt_server_api.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\ip\ble\api\xc_gatt_server_api.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>modules_nvds</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>nvds.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\modules\nvds\src\nvds.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>lib</GroupName>
|
||||
<GroupOption>
|
||||
<CommonProperty>
|
||||
<UseCPPCompiler>0</UseCPPCompiler>
|
||||
<RVCTCodeConst>0</RVCTCodeConst>
|
||||
<RVCTZI>0</RVCTZI>
|
||||
<RVCTOtherData>0</RVCTOtherData>
|
||||
<ModuleSelection>0</ModuleSelection>
|
||||
<IncludeInBuild>0</IncludeInBuild>
|
||||
<AlwaysBuild>2</AlwaysBuild>
|
||||
<GenerateAssemblyFile>2</GenerateAssemblyFile>
|
||||
<AssembleAssemblyFile>2</AssembleAssemblyFile>
|
||||
<PublicsOnly>2</PublicsOnly>
|
||||
<StopOnExitCode>11</StopOnExitCode>
|
||||
<CustomArgument></CustomArgument>
|
||||
<IncludeLibraryModules></IncludeLibraryModules>
|
||||
<ComprImg>1</ComprImg>
|
||||
</CommonProperty>
|
||||
<GroupArmAds>
|
||||
<Cads>
|
||||
<interw>2</interw>
|
||||
<Optim>0</Optim>
|
||||
<oTime>2</oTime>
|
||||
<SplitLS>2</SplitLS>
|
||||
<OneElfS>2</OneElfS>
|
||||
<Strict>2</Strict>
|
||||
<EnumInt>2</EnumInt>
|
||||
<PlainCh>2</PlainCh>
|
||||
<Ropi>2</Ropi>
|
||||
<Rwpi>2</Rwpi>
|
||||
<wLevel>0</wLevel>
|
||||
<uThumb>2</uThumb>
|
||||
<uSurpInc>2</uSurpInc>
|
||||
<uC99>2</uC99>
|
||||
<uGnu>2</uGnu>
|
||||
<useXO>2</useXO>
|
||||
<v6Lang>0</v6Lang>
|
||||
<v6LangP>0</v6LangP>
|
||||
<vShortEn>2</vShortEn>
|
||||
<vShortWch>2</vShortWch>
|
||||
<v6Lto>2</v6Lto>
|
||||
<v6WtE>2</v6WtE>
|
||||
<v6Rtti>2</v6Rtti>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Cads>
|
||||
<Aads>
|
||||
<interw>2</interw>
|
||||
<Ropi>2</Ropi>
|
||||
<Rwpi>2</Rwpi>
|
||||
<thumb>2</thumb>
|
||||
<SplitLS>2</SplitLS>
|
||||
<SwStkChk>2</SwStkChk>
|
||||
<NoWarn>2</NoWarn>
|
||||
<uSurpInc>2</uSurpInc>
|
||||
<useXO>2</useXO>
|
||||
<ClangAsOpt>0</ClangAsOpt>
|
||||
<VariousControls>
|
||||
<MiscControls></MiscControls>
|
||||
<Define></Define>
|
||||
<Undefine></Undefine>
|
||||
<IncludePath></IncludePath>
|
||||
</VariousControls>
|
||||
</Aads>
|
||||
</GroupArmAds>
|
||||
</GroupOption>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>Xinc_ble_sdk_central.lib</FileName>
|
||||
<FileType>4</FileType>
|
||||
<FilePath>..\app\src\Xinc_ble_sdk_central.lib</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
<GroupName>dut</GroupName>
|
||||
<Files>
|
||||
<File>
|
||||
<FileName>uart.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\..\component\ble\plf\refip\src\driver\uart\uart.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
</Groups>
|
||||
</Target>
|
||||
</Targets>
|
||||
|
||||
<RTE>
|
||||
<apis/>
|
||||
<components/>
|
||||
<files>
|
||||
<file attr="config" category="linkerScript" condition="ARMCC5" name="Device\ARM\ARMCM0\Source\ARM\ARMCM0_ac5.sct" version="1.0.0">
|
||||
<instance index="0" removed="1">RTE\Device\ARMCM0\ARMCM0_ac5.sct</instance>
|
||||
<component Cclass="Device" Cgroup="Startup" Cvariant="C Startup" Cvendor="ARM" Cversion="2.0.3" condition="ARMCM0 CMSIS" isDefaultVariant="1"/>
|
||||
<package name="CMSIS" schemaVersion="1.3" url="http://www.keil.com/pack/" vendor="ARM" version="5.8.0"/>
|
||||
<targetInfos/>
|
||||
</file>
|
||||
<file attr="config" category="sourceC" name="Device\ARM\ARMCM0\Source\startup_ARMCM0.c" version="2.0.3">
|
||||
<instance index="0" removed="1">RTE\Device\ARMCM0\startup_ARMCM0.c</instance>
|
||||
<component Cclass="Device" Cgroup="Startup" Cvariant="C Startup" Cvendor="ARM" Cversion="2.0.3" condition="ARMCM0 CMSIS" isDefaultVariant="1"/>
|
||||
<package name="CMSIS" schemaVersion="1.3" url="http://www.keil.com/pack/" vendor="ARM" version="5.8.0"/>
|
||||
<targetInfos/>
|
||||
</file>
|
||||
<file attr="config" category="sourceC" name="Device\ARM\ARMCM0\Source\system_ARMCM0.c" version="1.0.0">
|
||||
<instance index="0" removed="1">RTE\Device\ARMCM0\system_ARMCM0.c</instance>
|
||||
<component Cclass="Device" Cgroup="Startup" Cvariant="C Startup" Cvendor="ARM" Cversion="2.0.3" condition="ARMCM0 CMSIS" isDefaultVariant="1"/>
|
||||
<package name="CMSIS" schemaVersion="1.3" url="http://www.keil.com/pack/" vendor="ARM" version="5.8.0"/>
|
||||
<targetInfos/>
|
||||
</file>
|
||||
</files>
|
||||
</RTE>
|
||||
|
||||
<LayerInfo>
|
||||
<Layers>
|
||||
<Layer>
|
||||
<LayName><Project Info></LayName>
|
||||
<LayTarg>0</LayTarg>
|
||||
<LayPrjMark>1</LayPrjMark>
|
||||
</Layer>
|
||||
</Layers>
|
||||
</LayerInfo>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,175 @@
|
||||
;#<FEEDBACK># ARM Linker, 5060960: Last Updated: Thu Dec 18 14:11:00 2025
|
||||
;VERSION 0.2
|
||||
;FILE app_sec.o
|
||||
__asm___9_app_sec_c_9f4819f3____REV16 <= USED 0
|
||||
__asm___9_app_sec_c_9f4819f3____REVSH <= USED 0
|
||||
app_sec_get_bond_status <= USED 0
|
||||
app_sec_init <= USED 0
|
||||
;FILE app_task.o
|
||||
__asm___10_app_task_c_conn_dev____REV16 <= USED 0
|
||||
__asm___10_app_task_c_conn_dev____REVSH <= USED 0
|
||||
app_set_dev_name <= USED 0
|
||||
app_set_scan_rsp_data <= USED 0
|
||||
app_stop_advertising <= USED 0
|
||||
app_stop_init <= USED 0
|
||||
app_stop_scanning <= USED 0
|
||||
;FILE arch_main.o
|
||||
__asm___11_arch_main_c_fd31ea27____REV16 <= USED 0
|
||||
__asm___11_arch_main_c_fd31ea27____REVSH <= USED 0
|
||||
system_lightsleep_cfg <= USED 0
|
||||
;FILE rf_extrc.o
|
||||
__asm___10_rf_extrc_c_8fc8a65a____REV16 <= USED 0
|
||||
__asm___10_rf_extrc_c_8fc8a65a____REVSH <= USED 0
|
||||
auto_agc_init <= USED 0
|
||||
rf_test_pin_init <= USED 0
|
||||
rf_xtal_cal_set <= USED 0
|
||||
;FILE ringbuffer.o
|
||||
ring_buffer_create <= USED 0
|
||||
ring_buffer_dequeue <= USED 0
|
||||
ring_buffer_dequeue_arr <= USED 0
|
||||
ring_buffer_is_empty <= USED 0
|
||||
ring_buffer_is_full <= USED 0
|
||||
ring_buffer_num_items <= USED 0
|
||||
ring_buffer_peek <= USED 0
|
||||
ring_buffer_queue <= USED 0
|
||||
ring_buffer_queue_arr <= USED 0
|
||||
;FILE sleep.o
|
||||
__asm___7_sleep_c_efd8dd31____REV16 <= USED 0
|
||||
__asm___7_sleep_c_efd8dd31____REVSH <= USED 0
|
||||
;FILE startup_xinc.o
|
||||
;FILE system_xinc.o
|
||||
__asm___13_system_xinc_c_bf2b7dca____REV16 <= USED 0
|
||||
__asm___13_system_xinc_c_bf2b7dca____REVSH <= USED 0
|
||||
_ttywrch <= USED 0
|
||||
;FILE uart.o
|
||||
__asm___6_uart_c____REV16 <= USED 0
|
||||
__asm___6_uart_c____REVSH <= USED 0
|
||||
;FILE usr_client.o
|
||||
__asm___12_usr_client_c_3096fd6e____REV16 <= USED 0
|
||||
__asm___12_usr_client_c_3096fd6e____REVSH <= USED 0
|
||||
get_cli_user_ild <= USED 0
|
||||
send_data <= USED 0
|
||||
;FILE usr_server.o
|
||||
__asm___12_usr_server_c_16ab253a____REV16 <= USED 0
|
||||
__asm___12_usr_server_c_16ab253a____REVSH <= USED 0
|
||||
;FILE xc_drv_clock.o
|
||||
__asm___14_xc_drv_clock_c_54f5dcab____REV16 <= USED 0
|
||||
__asm___14_xc_drv_clock_c_54f5dcab____REVSH <= USED 0
|
||||
xc_clock_hfclk_src_get <= USED 0
|
||||
xc_clock_lfclk_in_get <= USED 0
|
||||
xc_clock_lfclk_src_get <= USED 0
|
||||
xc_clock_set_osc32m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_16m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_24m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_32m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_48m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_64m <= USED 0
|
||||
xc_clock_set_osc32m_bbpll_96m <= USED 0
|
||||
xc_clock_set_osc32m_div_16m <= USED 0
|
||||
xc_clock_set_rc16m <= USED 0
|
||||
xc_clock_set_rc16m_bbpll_32m <= USED 0
|
||||
xc_clock_set_rc16m_bbpll_48m <= USED 0
|
||||
xc_clock_set_rc16m_bbpll_64m <= USED 0
|
||||
xc_clock_set_rc16m_bbpll_96m <= USED 0
|
||||
xc_system_param_check <= USED 0
|
||||
xc_system_param_check_rf24g <= USED 0
|
||||
;FILE xc_drv_fmc_spi.o
|
||||
__asm___16_xc_drv_fmc_spi_c_0d19a3b4____REV16 <= USED 0
|
||||
__asm___16_xc_drv_fmc_spi_c_0d19a3b4____REVSH <= USED 0
|
||||
xc_adc_2v4_calibrate_read <= USED 0
|
||||
xc_fmc_spi_flash_erase_page <= USED 0
|
||||
xc_fmc_spi_flash_erase_sector <= USED 0
|
||||
xc_fmc_spi_flash_power_down <= USED 0
|
||||
xc_fmc_spi_flash_write <= USED 0
|
||||
xc_fmc_spi_flash_write_page <= USED 0
|
||||
;FILE xc_drv_gpio.o
|
||||
__asm___13_xc_drv_gpio_c_f617b6af____REV16 <= USED 0
|
||||
__asm___13_xc_drv_gpio_c_f617b6af____REVSH <= USED 0
|
||||
xc_gpio_read_pin <= USED 0
|
||||
xc_gpio_toggle_pin <= USED 0
|
||||
xc_gpio_write_pin <= USED 0
|
||||
;FILE xc_drv_pwr.o
|
||||
__asm___12_xc_drv_pwr_c_ed5c409a____REV16 <= USED 0
|
||||
__asm___12_xc_drv_pwr_c_ed5c409a____REVSH <= USED 0
|
||||
xc_adc_powerdown <= USED 0
|
||||
xc_adc_wakeup <= USED 0
|
||||
xc_deep_sleep <= USED 0
|
||||
xc_pwr_ao_timer_pclk32k_set <= USED 0
|
||||
xc_pwr_ao_timer_pclk32m_Set <= USED 0
|
||||
xc_pwr_ble_sleep_enter <= USED 0
|
||||
xc_pwr_cpu_sleep_enter <= USED 0
|
||||
xc_pwr_dcdc_close <= USED 0
|
||||
xc_pwr_dcdc_init <= USED 0
|
||||
xc_pwr_dcdc_open <= USED 0
|
||||
xc_pwr_gpio_lightsleep_wake_config <= USED 0
|
||||
xc_pwr_gpio_sleep_config <= USED 0
|
||||
xc_pwr_pwrkey_deepsleep_wake_config <= USED 0
|
||||
xc_pwr_pwrkey_init <= USED 0
|
||||
xc_pwr_pwrkey_toggle_pin <= USED 0
|
||||
xc_pwr_pwrkey_write_pin <= USED 0
|
||||
xc_pwr_sleep_init <= USED 0
|
||||
xc_sleep <= USED 0
|
||||
;FILE xc_drv_systick.o
|
||||
__asm___16_xc_drv_systick_c_b672aa62____REV16 <= USED 0
|
||||
__asm___16_xc_drv_systick_c_b672aa62____REVSH <= USED 0
|
||||
delay_ms <= USED 0
|
||||
;FILE xc_drv_timer.o
|
||||
__asm___14_xc_drv_timer_c_a67257da____REV16 <= USED 0
|
||||
__asm___14_xc_drv_timer_c_a67257da____REVSH <= USED 0
|
||||
xc_timer_init <= USED 0
|
||||
xc_timer_set_value <= USED 0
|
||||
xc_timer_start <= USED 0
|
||||
xc_timer_stop <= USED 0
|
||||
;FILE xc_drv_uart.o
|
||||
__asm___13_xc_drv_uart_c_c8f8d781____REV16 <= USED 0
|
||||
__asm___13_xc_drv_uart_c_c8f8d781____REVSH <= USED 0
|
||||
xc_uart_ctl_block_reset <= USED 0
|
||||
xc_uart_disable_rx_it <= USED 0
|
||||
xc_uart_enable_rx_it <= USED 0
|
||||
xc_uart_register_receive_cb <= USED 0
|
||||
xc_uart_send_byte <= USED 0
|
||||
xc_uart_send_data <= USED 0
|
||||
;FILE xc_drv_wdt.o
|
||||
__asm___12_xc_drv_wdt_c_acf1ef54____REV16 <= USED 0
|
||||
__asm___12_xc_drv_wdt_c_acf1ef54____REVSH <= USED 0
|
||||
xc_ext32k_wdt_init <= USED 0
|
||||
xc_ext32k_wdt_start <= USED 0
|
||||
xc_wdt_stop <= USED 0
|
||||
;FILE xc_gap_api.o
|
||||
__asm___12_xc_gap_api_c_76ebb078____REV16 <= USED 0
|
||||
__asm___12_xc_gap_api_c_76ebb078____REVSH <= USED 0
|
||||
xc_ble_activity_delete <= USED 0
|
||||
xc_ble_activity_stop <= USED 0
|
||||
xc_ble_bond <= USED 0
|
||||
xc_ble_bond_cfm <= USED 0
|
||||
xc_ble_disconnect <= USED 0
|
||||
xc_ble_encrypt <= USED 0
|
||||
xc_ble_encrypt_cfm <= USED 0
|
||||
xc_ble_gen_random_addr <= USED 0
|
||||
xc_ble_gen_random_nb <= USED 0
|
||||
xc_ble_get_dev_info <= USED 0
|
||||
xc_ble_get_ral_addr <= USED 0
|
||||
xc_ble_req_security <= USED 0
|
||||
xc_ble_resolve_addr <= USED 0
|
||||
xc_ble_set_channel_map <= USED 0
|
||||
xc_ble_set_pkt_size <= USED 0
|
||||
xc_ble_set_ral_list <= USED 0
|
||||
xc_ble_set_rx_pkt_size <= USED 0
|
||||
xc_ble_set_scan_rsp_data <= USED 0
|
||||
xc_ble_set_white_list <= USED 0
|
||||
xc_ble_update_param <= USED 0
|
||||
;FILE xc_gatt_client_api.o
|
||||
__asm___20_xc_gatt_client_api_c_d2fbc8a0____REV16 <= USED 0
|
||||
__asm___20_xc_gatt_client_api_c_d2fbc8a0____REVSH <= USED 0
|
||||
xc_ble_gatt_cli_discover_cancel <= USED 0
|
||||
xc_ble_gatt_cli_discover_char <= USED 0
|
||||
xc_ble_gatt_cli_discover_desc <= USED 0
|
||||
xc_ble_gatt_cli_discover_svc <= USED 0
|
||||
xc_ble_gatt_cli_mtu_exch <= USED 0
|
||||
xc_ble_gatt_cli_read <= USED 0
|
||||
xc_ble_gatt_cli_read_by_uuid <= USED 0
|
||||
;FILE xc_gatt_server_api.o
|
||||
__asm___20_xc_gatt_server_api_c_f4c610f4____REV16 <= USED 0
|
||||
__asm___20_xc_gatt_server_api_c_f4c610f4____REVSH <= USED 0
|
||||
xc_ble_gatt_service16_add <= USED 0
|
||||
xc_ble_gatt_srv_indicate <= USED 0
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
cd ./output_tool
|
||||
copy ..\app.bin .\
|
||||
xinchip_bootloader2_tool.exe boot2 ^
|
||||
stack.bin 0x11002000 0 ^
|
||||
app.bin 0x11014000 1 ^
|
||||
ble_Central.bin 1
|
||||
del ..\app.bin
|
||||
copy .\ble_Central.bin ..\
|
||||
Binary file not shown.
@@ -0,0 +1,417 @@
|
||||
#!/usr/bin/env python
|
||||
#-*- coding:UTF-8 -*-
|
||||
import socket
|
||||
from select import select
|
||||
import time
|
||||
import os
|
||||
import sys
|
||||
import threading
|
||||
import json
|
||||
import struct
|
||||
import binascii
|
||||
import time
|
||||
import re
|
||||
import fileinput
|
||||
import io
|
||||
import logging
|
||||
|
||||
replace = {
|
||||
"co_default_bdaddr":"0x0",
|
||||
"ke_msg_alloc":"0x0",
|
||||
"ke_msg_send":"0x0",
|
||||
"ke_msg_send_basic":"0x0",
|
||||
"ke_state_set":"0x0",
|
||||
"ke_task_create":"0x0",
|
||||
"ke_state_get":"0x0",
|
||||
"ke_msg_discard":"0x0",
|
||||
"ke_msg_forward":"0x0",
|
||||
"ke_msg_in_queue":"0x0",
|
||||
"ke_msg_src_id_get":"0x0",
|
||||
"ke_free":"0x0",
|
||||
"ke_msg_free":"0x0",
|
||||
"ke_check_malloc":"0x0",
|
||||
"rwip_init":"0x0",
|
||||
"rwip_schedule":"0x0",
|
||||
"rwip_rf":"0x0",
|
||||
"BLE_Handler":"0x0",
|
||||
"co_buf_alloc":"0x0",
|
||||
"co_buf_copy_data_from_mem":"0x0",
|
||||
"co_buf_release":"0x0",
|
||||
"co_djob_prepare":"0x0",
|
||||
"co_djob_reg":"0x0",
|
||||
"co_djob_unreg":"0x0",
|
||||
"co_list_extract":"0x0",
|
||||
"co_list_extract_after":"0x0",
|
||||
"co_list_pop_front":"0x0",
|
||||
"co_list_push_back":"0x0",
|
||||
"co_list_push_front":"0x0",
|
||||
"co_time_get":"0x0",
|
||||
"co_time_timer_init":"0x0",
|
||||
"co_time_timer_set":"0x0",
|
||||
"co_time_timer_stop":"0x0",
|
||||
"aes_c1":"0x0",
|
||||
"aes_decrypt":"0x0",
|
||||
"aes_encrypt":"0x0",
|
||||
"aes_f4":"0x0",
|
||||
"aes_f5":"0x0",
|
||||
"aes_f6":"0x0",
|
||||
"aes_g2":"0x0",
|
||||
"aes_rand":"0x0",
|
||||
"aes_cmac":"0x0",
|
||||
"co_buf_head_release":"0x0",
|
||||
"co_buf_head_reserve":"0x0",
|
||||
"co_util_pack":"0x0",
|
||||
"co_util_unpack":"0x0",
|
||||
"rwip_reset":"0x0",
|
||||
"aes_rpa_resolve":"0x0",
|
||||
"co_buf_reuse":"0x0",
|
||||
"co_buf_size":"0x0",
|
||||
"co_buf_copy":"0x0",
|
||||
"co_buf_duplicate":"0x0",
|
||||
"co_buf_tail_release":"0x0",
|
||||
"co_list_init":"0x0",
|
||||
"ble_util_buf_rx_free":"0x0",
|
||||
"ble_util_buf_acl_tx_alloc":"0x0",
|
||||
"co_buf_cb_free_set":"0x0",
|
||||
"ke_malloc":"0x0",
|
||||
"co_list_insert_after":"0x0",
|
||||
"ke_timer_active":"0x0",
|
||||
"ke_timer_clear":"0x0",
|
||||
"ke_timer_set":"0x0",
|
||||
"co_buf_acquire":"0x0",
|
||||
"co_buf_tail_reserve":"0x0",
|
||||
"co_buf_copy_data_to_mem":"0x0",
|
||||
"co_list_insert_before":"0x0",
|
||||
"rom_env":"0x0",
|
||||
"rwip_param":"0x0",
|
||||
"one_bits":"0x0",
|
||||
"hci_rd_rem_ver_info_cmd_handler":"0x0",
|
||||
"hci_le_con_upd_cmd_handler":"0x0",
|
||||
"hci_le_rd_chnl_map_cmd_handler":"0x0",
|
||||
"hci_le_rd_rem_feats_cmd_handler":"0x0",
|
||||
"hci_le_en_enc_cmd_handler":"0x0",
|
||||
"hci_le_ltk_req_reply_cmd_handler":"0x0",
|
||||
"hci_le_ltk_req_neg_reply_cmd_handler":"0x0",
|
||||
"hci_le_rem_con_param_req_reply_cmd_handler":"0x0",
|
||||
"hci_le_rem_con_param_req_neg_reply_cmd_handler":"0x0",
|
||||
"hci_le_set_data_len_cmd_handler":"0x0",
|
||||
"hci_vs_set_pref_slave_latency_cmd_handler":"0x0",
|
||||
"hci_vs_set_pref_slave_evt_dur_cmd_handler":"0x0",
|
||||
"hci_vs_set_max_rx_size_and_time_cmd_handler":"0x0",
|
||||
"hci_rd_rssi_cmd_handler":"0x0",
|
||||
"llm_ch_map_update_ind_handler":"0x0",
|
||||
"llc_loc_llcp_rsp_to_handler":"0x0",
|
||||
"llc_rem_llcp_rsp_to_handler":"0x0",
|
||||
"llc_encrypt_ind_handler":"0x0",
|
||||
"llc_op_ver_exch_ind_handler":"0x0",
|
||||
"llc_op_feats_exch_ind_handler":"0x0",
|
||||
"llc_op_encrypt_ind_handler":"0x0",
|
||||
"llc_op_dl_upd_ind_handler":"0x0",
|
||||
"llc_op_con_upd_ind_handler":"0x0",
|
||||
"llc_op_ch_map_upd_ind_handler":"0x0",
|
||||
"lld_llcp_rx_ind_handler":"0x0",
|
||||
"lld_llcp_tx_cfm_handler":"0x0",
|
||||
"lld_acl_rx_ind_handler":"0x0",
|
||||
"lld_acl_tx_cfm_handler":"0x0",
|
||||
"lld_con_param_upd_cfm_handler":"0x0",
|
||||
"lld_ch_map_upd_cfm_handler":"0x0",
|
||||
"lld_con_offset_upd_ind_handler":"0x0",
|
||||
"hci_command_llc_handler":"0x0",
|
||||
"hci_acl_data_handler":"0x0",
|
||||
"ke_event_callback_set":"0x0",
|
||||
"ke_event_clear":"0x0",
|
||||
"ke_event_set":"0x0",
|
||||
"ble_util_nb_good_channels":"0x0",
|
||||
"ble_util_pkt_dur_in_us":"0x0",
|
||||
"co_bdaddr_compare":"0x0",
|
||||
"lld_ch_assess_data_get":"0x0",
|
||||
"lld_ch_map_set":"0x0",
|
||||
"lld_read_clock":"0x0",
|
||||
"lld_res_list_peer_update":"0x0",
|
||||
"lld_white_list_add":"0x0",
|
||||
"rwip_prevent_sleep_clear":"0x0",
|
||||
"rwip_prevent_sleep_set":"0x0",
|
||||
"sch_plan_rem":"0x0",
|
||||
"aes_rpa_gen":"0x0",
|
||||
"ble_util_buf_adv_tx_alloc":"0x0",
|
||||
"ble_util_buf_adv_tx_free":"0x0",
|
||||
"co_null_bdaddr":"0x0",
|
||||
"co_null_key":"0x0",
|
||||
"llc_con_move_cbk":"0x0",
|
||||
"llc_start":"0x0",
|
||||
"lld_adv_adv_data_update":"0x0",
|
||||
"lld_adv_rand_addr_update":"0x0",
|
||||
"lld_adv_restart":"0x0",
|
||||
"lld_adv_scan_rsp_data_update":"0x0",
|
||||
"lld_adv_start":"0x0",
|
||||
"lld_adv_stop":"0x0",
|
||||
"lld_white_list_rem":"0x0",
|
||||
"lld_init_rand_addr_update":"0x0",
|
||||
"lld_res_list_add":"0x0",
|
||||
"lld_res_list_clear":"0x0",
|
||||
"lld_res_list_local_rpa_get":"0x0",
|
||||
"lld_res_list_peer_rpa_get":"0x0",
|
||||
"lld_res_list_priv_mode_update":"0x0",
|
||||
"lld_res_list_rem":"0x0",
|
||||
"lld_scan_rand_addr_update":"0x0",
|
||||
"lld_init_start":"0x0",
|
||||
"lld_init_stop":"0x0",
|
||||
"sch_plan_req":"0x0",
|
||||
"sch_plan_set":"0x0",
|
||||
"co_rate_to_phy":"0x0",
|
||||
"lld_scan_params_update":"0x0",
|
||||
"lld_scan_start":"0x0",
|
||||
"lld_scan_stop":"0x0",
|
||||
"lld_rpa_renew":"0x0",
|
||||
"ke_mem_init":"0x0",
|
||||
"co_buf_init":"0x0",
|
||||
"rwip_sleep":"0x0",
|
||||
"em_ble_base_address_table_0":"0x0",
|
||||
"em_ble_base_address_table_1":"0x0",
|
||||
"em_ble_base_address_table_2":"0x0",
|
||||
"em_ble_base_address_table_3":"0x0",
|
||||
"em_ble_base_address_table_4":"0x0",
|
||||
"em_ble_base_address_table_5":"0x0",
|
||||
"em_ble_base_address_table_6":"0x0",
|
||||
"em_ble_base_address_table_7":"0x0",
|
||||
"em_ble_base_address_table_8":"0x0",
|
||||
"em_ble_base_address_table_9":"0x0",
|
||||
"em_ble_base_address_table_10":"0x0",
|
||||
"ble_util_buf_init_env":"0x0",
|
||||
"PATCH_FUN":"0x0",
|
||||
"lld_adv_env":"0x0",
|
||||
"sch_arb_remove":"0x0",
|
||||
"sch_slice_fg_remove":"0x0",
|
||||
"llc_env":"0x0",
|
||||
"llc_proc_err_ind":"0x0",
|
||||
"llc_stop":"0x0",
|
||||
"ll_channel_map_ind_handler":"0x0",
|
||||
"ll_connection_param_req_handler":"0x0",
|
||||
"ll_connection_param_rsp_handler":"0x0",
|
||||
"ll_connection_update_ind_handler":"0x0",
|
||||
"ll_enc_req_handler":"0x0",
|
||||
"ll_enc_rsp_handler":"0x0",
|
||||
"ll_feature_req_handler":"0x0",
|
||||
"ll_feature_rsp_handler":"0x0",
|
||||
"ll_length_req_handler":"0x0",
|
||||
"ll_length_rsp_handler":"0x0",
|
||||
"ll_min_used_channels_ind_handler":"0x0",
|
||||
"ll_pause_enc_req_handler":"0x0",
|
||||
"ll_pause_enc_rsp_handler":"0x0",
|
||||
"ll_reject_ext_ind_handler":"0x0",
|
||||
"ll_reject_ind_handler":"0x0",
|
||||
"ll_slave_feature_req_handler":"0x0",
|
||||
"ll_start_enc_req_handler":"0x0",
|
||||
"ll_start_enc_rsp_handler":"0x0",
|
||||
"ll_unknown_rsp_handler":"0x0",
|
||||
"ll_version_ind_handler":"0x0",
|
||||
"ble_util_buf_acl_tx_free":"0x0",
|
||||
"lld_rxdesc_check":"0x0",
|
||||
"lld_rxdesc_free":"0x0",
|
||||
"rwip_priority":"0x0",
|
||||
"sch_arb_insert":"0x0",
|
||||
"sch_prog_push":"0x0",
|
||||
"FMC_SPI_Flash_RDID":"0x0",
|
||||
"FMC_SPI_Flash_RUID":"0x0",
|
||||
"FMC_SPI_Flash_WakeUp":"0x0",
|
||||
"FMC_SPI_Init_Oprt":"0x0",
|
||||
"FMC_SPI_Flash_PowerDown":"0x0",
|
||||
"FMC_SPI_FlashRead":"0x0",
|
||||
"FMC_SPI_FlashWrite":"0x0",
|
||||
"FMC_SPI_Flash_Erase_Sector":"0x0",
|
||||
"FMC_SPI_Flash_PowerDown":"0x0",
|
||||
"FMC_SPI_Flash_WakeUp":"0x0",
|
||||
"llc_cleanup":"0x0",
|
||||
"llc_cmd_stat_send":"0x0",
|
||||
"llc_llcp_send":"0x0",
|
||||
"llc_llcp_state_set":"0x0",
|
||||
"llc_proc_get":"0x0",
|
||||
"llc_proc_id_get":"0x0",
|
||||
"llc_proc_init":"0x0",
|
||||
"llc_proc_reg":"0x0",
|
||||
"llc_proc_state_get":"0x0",
|
||||
"llc_proc_state_set":"0x0",
|
||||
"llc_proc_timer_pause_set":"0x0",
|
||||
"llc_proc_timer_set":"0x0",
|
||||
"llc_proc_unreg":"0x0",
|
||||
"lld_con_stop":"0x0",
|
||||
"lld_adv_evt_start_cbk":"0x0",
|
||||
"rwip_env":"0x0",
|
||||
"rwip_prog_delay":"0x0",
|
||||
"rwip_time_get":"0x0",
|
||||
"rwip_wakeup_end":"0x0",
|
||||
"sch_arb_env":"0x0",
|
||||
"lld_adv_frm_cbk":"0x0",
|
||||
"rwip_timer_alarm_handler":"0x0",
|
||||
"rwip_timer_arb_handler":"0x0",
|
||||
"rwip_timer_co_handler":"0x0",
|
||||
"lld_env":"0x0",
|
||||
"aa_gen":"0x0",
|
||||
"lld_adv_init":"0x0",
|
||||
"lld_con_init":"0x0",
|
||||
"lld_core_init":"0x0",
|
||||
"lld_rpa_renew_env":"0x0",
|
||||
"lld_channel_assess":"0x0",
|
||||
"lld_con_env":"0x0",
|
||||
"lld_con_tx_len_update":"0x0",
|
||||
"lld_exp_sync_pos_tab":"0x0",
|
||||
"lld_instant_proc_end":"0x0",
|
||||
"prf_dst_task_get":"0x0",
|
||||
"rom_env_init":"0x0",
|
||||
"gapc_get_bdaddr":"0x0",
|
||||
"gatt_db_svc16_add":"0x0",
|
||||
"gatt_db_svc_add":"0x0",
|
||||
"gatt_db_svc_remove":"0x0",
|
||||
"gatt_srv_att_read_get_cfm":"0x0",
|
||||
"gatt_srv_att_val_set_cfm":"0x0",
|
||||
"gatt_srv_event_send":"0x0",
|
||||
"gatt_user_srv_register":"0x0",
|
||||
"llc_msg_handler_tab":"0x0",
|
||||
"rom_llc_state":"0x0",
|
||||
"lld_con_evt_start_cbk":"0x0",
|
||||
"lld_con_evt_canceled_cbk":"0x0",
|
||||
"co_sca2ppm":"0x0",
|
||||
"lld_con_evt_time_update":"0x0",
|
||||
"lld_con_max_lat_calc":"0x0",
|
||||
"lld_con_sched":"0x0",
|
||||
"sch_slice_per_add":"0x0",
|
||||
"rwble_isr":"0x0",
|
||||
"rwip_isr":"0x0",
|
||||
"lld_con_frm_isr":"0x0",
|
||||
"ke_task_schedule":"0x0",
|
||||
"lld_adv_frm_isr":"0x0",
|
||||
"sv_lock":"0x0",
|
||||
"sv_txlen":"0x0",
|
||||
"rom_lld_con_rx":"0x0",
|
||||
"rom_lld_con_evt_start_cbk":"0x0",
|
||||
"rom_lld_con_frm_isr":"0x0",
|
||||
"gatt_cli_mtu_exch":"0x0",
|
||||
"rom_lld_disable_latency":"0x0",
|
||||
"rom_lld_enable_latency":"0x0",
|
||||
"evt_start":"0x0",
|
||||
"gatt_cli_discover_svc":"0x0",
|
||||
"gatt_uuid16_comp":"0x0",
|
||||
"gatt_cli_att_event_cfm":"0x0",
|
||||
"gatt_cli_discover_cancel":"0x0",
|
||||
"gatt_cli_discover_char":"0x0",
|
||||
"gatt_cli_discover_desc":"0x0",
|
||||
"gatt_cli_event_register":"0x0",
|
||||
"gatt_cli_read":"0x0",
|
||||
"gatt_cli_read_by_uuid":"0x0",
|
||||
"gatt_cli_write":"0x0",
|
||||
"gatt_user_cli_register":"0x0",
|
||||
"gatt_cli_discover_inc_svc":"0x0",
|
||||
"gatt_cli_event_unregister":"0x0",
|
||||
"co_rand_word":"0x0",
|
||||
"co_random_init":"0x0",
|
||||
"adv_evt_start":"0x0",
|
||||
"gatt_srv_read_api_tbl":"0x0",
|
||||
"gatt_srv_write_api_tbl":"0x0",
|
||||
}
|
||||
|
||||
def traverse(f):
|
||||
fs = os.listdir(f)
|
||||
for f1 in fs:
|
||||
tmp_path = os.path.join(f, f1)
|
||||
if not os.path.isdir(tmp_path):
|
||||
if os.path.isfile(tmp_path):
|
||||
if isinstance(tmp_path, str):
|
||||
# if tmp_path.endswith('2023_11_22.o'):
|
||||
if tmp_path.endswith('addr_0x800.o'):
|
||||
#print("ssss", tmp_path)
|
||||
logger.info(tmp_path)
|
||||
find_str(tmp_path)
|
||||
else:
|
||||
traverse(tmp_path)
|
||||
|
||||
def traverse_host(f):
|
||||
fs = os.listdir(f)
|
||||
for f1 in fs:
|
||||
tmp_path = os.path.join(f, f1)
|
||||
if not os.path.isdir(tmp_path):
|
||||
if os.path.isfile(tmp_path):
|
||||
if isinstance(tmp_path, str):
|
||||
if tmp_path.endswith('rom_symdefs.o'):
|
||||
#print("ssss", tmp_path)
|
||||
logger.info(tmp_path)
|
||||
find_str(tmp_path)
|
||||
else:
|
||||
traverse_host(tmp_path)
|
||||
|
||||
def traverse_for_replace(f):
|
||||
fs = os.listdir(f)
|
||||
for f1 in fs:
|
||||
tmp_path = os.path.join(f, f1)
|
||||
if not os.path.isdir(tmp_path):
|
||||
if os.path.isfile(tmp_path):
|
||||
if isinstance(tmp_path, str):
|
||||
if tmp_path.endswith('rom_symdefs.o'):
|
||||
|
||||
logger.info(tmp_path)
|
||||
replace_str(tmp_path)
|
||||
|
||||
|
||||
def find_str(file):
|
||||
text_lines = set()
|
||||
with io.open(file, 'r', encoding='utf-8') as fd:
|
||||
for line in fd:
|
||||
for key, value in replace.items():
|
||||
if re.search(key, line.strip()) != None and len(key)+13== len(line.strip()):
|
||||
#print(line)
|
||||
logger.info(line)
|
||||
replace[key] = line
|
||||
text_lines.add(line.strip())
|
||||
text_functions = {line.split()[-1] for line in text_lines}
|
||||
replace_keys = set(replace.keys())
|
||||
print("del record key start")
|
||||
for func in list(replace.keys()):
|
||||
if func not in text_functions:
|
||||
print(func)
|
||||
del replace[func]
|
||||
print("del record key end")
|
||||
fd.close()
|
||||
logger.info(str(replace))
|
||||
|
||||
def replace_str(file):
|
||||
header = "#<SYMDEFS># ARM Linker, 5060750: Last Updated: Tue Sep 05 15:30:26 2023\n"
|
||||
with io.open(r'tmp.c', 'w', encoding='utf-8') as fw:
|
||||
fw.write(header)
|
||||
for key, value in replace.items():
|
||||
#print(len(key)+13, len(line.strip()), key, line.strip())
|
||||
replace_flag = False
|
||||
fw.write(value)
|
||||
logger.info(value)
|
||||
#print("line2", value, key)
|
||||
print("line2", value)
|
||||
fw.close()
|
||||
|
||||
with io.open(file, 'w', encoding='utf-8') as fw:
|
||||
with io.open(r'tmp.c', 'r', encoding='utf-8') as file:
|
||||
for line in file:
|
||||
fw.write(line)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if(os.path.exists("log.txt")):
|
||||
os.remove("log.txt")
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(level = logging.INFO)
|
||||
handler = logging.FileHandler("log.txt")
|
||||
handler.setLevel(logging.INFO)
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
handler.setFormatter(formatter)
|
||||
logger.addHandler(handler)
|
||||
|
||||
#traverse("./Project/example/ble/rom_stack/mdk/")
|
||||
traverse_host("./Project/example/ble/ble_central_lib/mdk/")
|
||||
#print(replace)
|
||||
traverse_for_replace("./Project/example/ble/ble_central/app/src")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user