|Re: [embed-cdt-dev] maven build|
Please refer to:
for details of how we migrate legacy debug configurations from ATTR_JTAG_DEVICE to ATTR_JTAG_DEVICE_ID in the CDT repository.
This might help https://htmlpreview.github.io/?https://raw.githubusercontent.com/eclipse-cdt/cdt/blob/master/doc/org.eclipse.cdt.doc.isv/guide/deprecated_API_removals.html#deprecatedRemovals
- IGDBJtagConstants.ATTR_JTAG_DEVICE has been removed. Use IGDBJtagConstants.ATTR_JTAG_DEVICE_ID to persist device ID rather than device name. See Bug 566462.On Nov 7, 2020, at 3:03 PM, Liviu Ionescu <ilg@xxxxxxxxxx> wrote:
On 7 Nov 2020, at 20:47, Marc-Andre Laperle <malaperle@xxxxxxxxx> wrote:
I recommend upgrading to latest CDT milestone if embedded CDT is to be part of the simrel.
One thing to note is that several target environments were removed from the platform in the last years. If you use Tycho, make sure your target environments match CDT and you don’t have extra ones that don’t exist anymore (32 bit, ppc64, etc).
Great advice, Marc!
Removing the 32-bit platforms solved the mystery error. :-)
Now I have to figure out a solution around the API change, which triggered this less surprising error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.7.0:compile (default-compile) on project org.eclipse.embedcdt.debug.gdbjtag.jlink: Compilation failure: Compilation failure:
[ERROR] configuration.setAttribute(IGDBJtagConstants.ATTR_JTAG_DEVICE, ConfigurationAttributes.JTAG_DEVICE);
Jonah, do you know how to deal with the incompatible changes that happened in the debug classes?
Back to the top