File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 82
82
<nStopB2X >0</nStopB2X >
83
83
</BeforeMake >
84
84
<AfterMake >
85
- <RunUserProg1 >0 </RunUserProg1 >
85
+ <RunUserProg1 >{{postbuild_step_active}} </RunUserProg1 >
86
86
<RunUserProg2 >0</RunUserProg2 >
87
- <UserProg1Name ></UserProg1Name >
87
+ <UserProg1Name >{{postbuild_step if postbuild_step_active else ''}} </UserProg1Name >
88
88
<UserProg2Name ></UserProg2Name >
89
89
<UserProg1Dos16Mode >0</UserProg1Dos16Mode >
90
90
<UserProg2Dos16Mode >0</UserProg2Dos16Mode >
182
182
<bUseTDR >1</bUseTDR >
183
183
<Flash2 >BIN\UL2CM3.DLL</Flash2 >
184
184
<Flash3 ></Flash3 >
185
- <Flash4 ></Flash4 >
185
+ <Flash4 >{{'./flash_init.ini' if postbuild_step_active else ''}} </Flash4 >
186
186
<pFcarmOut ></pFcarmOut >
187
187
<pFcarmGrp ></pFcarmGrp >
188
188
<pFcArmRoot ></pFcArmRoot >
Original file line number Diff line number Diff line change 6
6
<ToolsetNumber >0x4</ToolsetNumber >
7
7
<ToolsetName >ARM-ADS</ToolsetName >
8
8
<TargetOption >
9
+ {% if postbuild_step_active %}
10
+ <OPTTT >
11
+ <RunAbUc >1</RunAbUc >
12
+ </OPTTT >
13
+ {% endif %}
9
14
<DebugOpt >
10
15
<uSim >0</uSim >
11
16
<uTrg >1</uTrg >
12
17
<nTsel >11</nTsel >
13
18
<pMon >{{device.debug_interface.bin_loc}}</pMon >
19
+ {% if postbuild_step_active %}
20
+ <tIfile >./debug_init.ini</tIfile >
21
+ <tLdApp >0</tLdApp >
22
+ {% endif %}
14
23
</DebugOpt >
15
24
<TargetDriverDllRegistry >
16
25
<SetRegEntry >
21
30
</TargetDriverDllRegistry >
22
31
</TargetOption >
23
32
</Target >
24
- </ProjectOpt >
33
+ </ProjectOpt >
You can’t perform that action at this time.
0 commit comments