add beforbuide bat for keil

This commit is contained in:
lyon 2021-12-30 22:09:03 +08:00
parent c3b0f3e899
commit 5fb15e9733
6 changed files with 90 additions and 7 deletions

View File

@ -866,6 +866,62 @@
</File>
</Group>
<Group>
<GroupName>python</GroupName>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>52</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\pikascript\main.py</PathWithFileName>
<FilenameWithoutPath>main.py</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>53</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\pikascript\Device.py</PathWithFileName>
<FilenameWithoutPath>Device.py</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>54</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\pikascript\PikaObj.py</PathWithFileName>
<FilenameWithoutPath>PikaObj.py</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>8</GroupNumber>
<FileNumber>55</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\pikascript\PikaStdLib.py</PathWithFileName>
<FilenameWithoutPath>PikaStdLib.py</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group>
<Group>
<GroupName>::CMSIS</GroupName>
<tvExp>0</tvExp>

View File

@ -70,9 +70,9 @@
<nStopU2X>0</nStopU2X>
</BeforeCompile>
<BeforeMake>
<RunUserProg1>0</RunUserProg1>
<RunUserProg1>1</RunUserProg1>
<RunUserProg2>0</RunUserProg2>
<UserProg1Name></UserProg1Name>
<UserProg1Name>..\pikascript\pikaBeforBuild-keil.bat</UserProg1Name>
<UserProg2Name></UserProg2Name>
<UserProg1Dos16Mode>0</UserProg1Dos16Mode>
<UserProg2Dos16Mode>0</UserProg2Dos16Mode>
@ -313,7 +313,7 @@
</ArmAdsMisc>
<Cads>
<interw>1</interw>
<Optim>1</Optim>
<Optim>5</Optim>
<oTime>0</oTime>
<SplitLS>0</SplitLS>
<OneElfS>1</OneElfS>
@ -332,7 +332,7 @@
<v6LangP>3</v6LangP>
<vShortEn>1</vShortEn>
<vShortWch>1</vShortWch>
<v6Lto>0</v6Lto>
<v6Lto>1</v6Lto>
<v6WtE>0</v6WtE>
<v6Rtti>0</v6Rtti>
<VariousControls>
@ -670,6 +670,31 @@
</File>
</Files>
</Group>
<Group>
<GroupName>python</GroupName>
<Files>
<File>
<FileName>main.py</FileName>
<FileType>5</FileType>
<FilePath>..\pikascript\main.py</FilePath>
</File>
<File>
<FileName>Device.py</FileName>
<FileType>5</FileType>
<FilePath>..\pikascript\Device.py</FilePath>
</File>
<File>
<FileName>PikaObj.py</FileName>
<FileType>5</FileType>
<FilePath>..\pikascript\PikaObj.py</FilePath>
</File>
<File>
<FileName>PikaStdLib.py</FileName>
<FileType>5</FileType>
<FilePath>..\pikascript\PikaStdLib.py</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>::CMSIS</GroupName>
</Group>

View File

@ -5,7 +5,7 @@ import PikaStdLib
mem = PikaStdLib.MemChecker()
for i in range(1, 10):
for i in range(1, 100):
print(i)
print('mem used max:')

View File

@ -0,0 +1,2 @@
cd ../pikascript
rust-msc-latest-win10.exe

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ PikaObj * pikaScriptInit(){
"mem = PikaStdLib.MemChecker()\n"
"\n"
"\n"
"for i in range(1, 10):\n"
"for i in range(1, 100):\n"
" print(i)\n"
"\n"
"print('mem used max:')\n"