Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test_webhook
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时海鑫
test_webhook
Commits
46062ce5
Commit
46062ce5
authored
Oct 10, 2025
by
时海鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
test See merge request
!14
parents
9d153fa2
3d357825
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
iar8323_g393_dm.py
iar8323_g393_dm.py
+23
-0
No files found.
iar8323_g393_dm.py
0 → 100644
View file @
46062ce5
import
datetime
import
os
import
subprocess
exe_url
=
"C:
\\
Program Files (x86)
\\
IAR Systems
\\
Embedded Workbench 8.2
\\
common
\\
bin
\\
iarbuild.exe"
projectname
=
"
\\
G393
\\
G393_V0.02
\\
IARProject
\
G393.ewp"
def
build
(
rootdir
):
project
=
"{}
\\
{}"
.
format
(
rootdir
,
projectname
)
if
not
os
.
access
(
project
,
os
.
R_OK
):
print
(
"{} not exist"
.
format
(
project
))
return
""
result
=
subprocess
.
run
(
[
exe_url
,
project
,
"-build"
,
"Debug"
],
capture_output
=
True
,
text
=
True
)
print
(
result
.
stdout
,
result
.
returncode
)
if
__name__
==
'__main__'
:
outputname
=
build
(
"C:
\
dev_space
\
compile_space"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment