Skip to content

Commit a7d3226

Browse files
committed
pyOCD: fix CDBGPWRUPACK - CSYSPWRUPACK
1 parent f4f34a0 commit a7d3226

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

workspace_tools/debugger/pyOCD/target/cortex_m.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def init(self, setup_fpb = True):
167167

168168
while True:
169169
r = self.transport.readDP(DP_REG['CTRL_STAT'])
170-
if (r & (CDBGPWRUPACK | CSYSPWRUPACK)) != (CSYSPWRUPREQ | CDBGPWRUPREQ):
170+
if (r & (CDBGPWRUPACK | CSYSPWRUPACK)) != (CDBGPWRUPACK | CSYSPWRUPACK):
171171
break
172172

173173
self.transport.writeDP(DP_REG['CTRL_STAT'], CSYSPWRUPREQ | CDBGPWRUPREQ | TRNNORMAL | MASKLANE)

workspace_tools/debugger/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
description="CMSIS-DAP debugger for python",
2424
author="samux",
2525
author_email="[email protected]",
26-
license="MIT",
26+
license="Apache 2.0",
2727
classifiers = [
2828
"Development Status :: 4 - Beta",
2929
"License :: Apache 2.0",

0 commit comments

Comments
 (0)