From: DrPi <314@drpi.fr>
Subject: Re: PEmicro probe
Date: Tue, 12 May 2020 18:48:27 +0200
Date: 2020-05-12T18:48:35+02:00 [thread overview]
Message-ID: <5ebad362$0$4675$426a34cc@news.free.fr> (raw)
In-Reply-To: <3ec20766-3ee9-45cd-899f-104da5f14fd6@googlegroups.com>
Fabien,
Le 12/05/2020 à 15:32, fabien.chouteau@gmail.com a écrit :
> On Tuesday, May 12, 2020 at 3:19:47 PM UTC+2, DrPi wrote:
>> Is there a way to launch an external executable (.exe, .bat) from GPS ?
>
> The support for pyocd/openocd/st-util is implemented in share/gps/support/ui/board_support.py, you can modify it to add PEmicro.
>
Thanks for the pointer.
I successfully modified share\gps\support\core\projects.py to add
"pe_micro" in the drop down list.
Modifying board_support.py is not so easy.
I'm stuck with an error I don't understand.
When selecting "pe_micro" and closing the configuration dialog box, I
get the following exception :
Traceback (most recent call last):
File "C:\GNAT\2019\share\gps\support\core\modules.py", line 267, in
internal
return pref(*args, **kwargs)
File "C:\GNAT\2019\share\gps\support\ui\board_support.py", line 681,
in project_view_changed
self.__create_targets_lazily()
File "C:\GNAT\2019\share\gps\support\ui\board_support.py", line 436,
in __create_targets_lazily
default_args=cmd[1:])
File "C:\GNAT\2019\share\gps\support\core\target_connector.py", line
35, in __init__
super(TargetConnector, self).__init__(tool_name)
File "C:\GNAT\2019\share\gps\support\core\extensions\__init__.py",
line 298, in __init__
self._internal___init__(name)
GPS.Exception: No target is registered with the name: 'pegdbserver_console'
Nicolas
next prev parent reply other threads:[~2020-05-12 16:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 9:32 PEmicro probe DrPi
2020-05-06 9:38 ` fabien.chouteau
2020-05-06 12:34 ` DrPi
2020-05-12 13:19 ` DrPi
2020-05-12 13:32 ` fabien.chouteau
2020-05-12 16:48 ` DrPi [this message]
2020-05-14 10:23 ` fabien.chouteau
2020-05-15 17:50 ` DrPi
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox