Esempio n. 1
0
 def call_remote_program(target, source, env):
     host = ARGUMENTS.get("host", env.get("OPENOCD_REMOTE_HOST", None))
     config = env.Listify(env.get("MODM_OPENOCD_GDBINIT", []))
     gdb.call(source=source[0],
              backend=bem.ExtendedRemote(host),
              config=map(env.subst, config),
              commands=["load", "monitor reset", "disconnect", "quit"])
Esempio n. 2
0
 def call_remote_debug(target, source, env):
     host = ARGUMENTS.get("host", env.get("OPENOCD_REMOTE_HOST", None))
     config = env.Listify(env.get("MODM_OPENOCD_GDBINIT", []))
     config += env.Listify(env.get("MODM_GDBINIT", []))
     gdb.call(
         source=source[0],
         backend=bem.ExtendedRemote(host),
         config=map(env.subst, config),
         ui=ARGUMENTS.get("ui", "tui"),
     )
Esempio n. 3
0
 def build_backend(args):
     return bem.ExtendedRemote(args.host)