forked from Samsung/TizenRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.debugSpec.xml
42 lines (39 loc) · 1.71 KB
/
.debugSpec.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2017 Samsung Electronics All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific
language governing permissions and limitations under the License.
-->
<!--
predefined macro values:
* PROJECT_PATH - current project path
* BOARD - selected board name
* SCRIPT_PATH - selected script path
* SCRIPT_FILE - selected script file
-->
<debugs>
<debug name="openocd debug" type="openocd">
<!-- path attribute value must be relative path from project root -->
<!-- usage : openocd -f debug_all.cfg -->
<options name="scriptfile" type="file" path="${PROJECT_PATH}/build/configs/artik05x/scripts" filter="artik05x.cfg"/>
<execute name="debug" os="linux" bit="32" command="${PROJECT_PATH}/build/tools/openocd/linux32/openocd">
<params>
<param prefix="-s" value="${SCRIPT_PATH}"/>
<param prefix="-f" value="${SCRIPT_FILE}"/>
</params>
</execute>
<execute name="debug" os="linux" bit="64" command="${PROJECT_PATH}/build/tools/openocd/linux64/openocd">
<params>
<param prefix="-s" value="${SCRIPT_PATH}"/>
<param prefix="-f" value="${SCRIPT_FILE}"/>
</params>
</execute>
</debug>
</debugs>