mirror of
https://github.com/qilingframework/qiling.git
synced 2026-10-12 02:21:40 +00:00
Fix the gd32vf103_blink example
This commit is contained in:
@@ -3,9 +3,10 @@ sys.path.append("../..")
|
||||
|
||||
from qiling.core import Qiling
|
||||
from qiling.const import QL_VERBOSE
|
||||
from qiling.extensions.soc.gd32vf1 import gd32vf103_env
|
||||
|
||||
ql = Qiling(['../rootfs/mcu/gd32vf103/blink.hex'], archtype="riscv64",
|
||||
profile="gd32vf103", verbose=QL_VERBOSE.DEBUG)
|
||||
env=gd32vf103_env, verbose=QL_VERBOSE.DEBUG)
|
||||
|
||||
ql.hw.create('rcu')
|
||||
ql.hw.create('gpioa').watch()
|
||||
|
||||
Reference in New Issue
Block a user