-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IEP-822 Eclipse 2022-12 support (#722)
* Eclipse 2022-12 support * add CCorePlugin.PLUGIN_ID + ".ELF"
- Loading branch information
Showing
3 changed files
with
161 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
package com.espressif.idf.core.build; | ||
|
||
import java.nio.file.Path; | ||
import java.util.List; | ||
|
||
import org.eclipse.cdt.build.gcc.core.GCCToolChain; | ||
import org.eclipse.cdt.core.CCorePlugin; | ||
import org.eclipse.cdt.core.build.IToolChainProvider; | ||
|
||
|
||
/** | ||
* @author Kondal Kolipaka <[email protected]> | ||
* | ||
|
@@ -25,7 +25,13 @@ public AbstractESPToolchain(IToolChainProvider provider, Path pathToToolChain, S | |
setProperty(ATTR_ARCH, ARCH); | ||
} | ||
|
||
@Override | ||
// API after changes in CDT 10.5.0 | ||
public List<String> getBinaryParserIds() | ||
{ | ||
return List.<String>of(CCorePlugin.PLUGIN_ID + ".ELF"); //$NON-NLS-1$ | ||
} | ||
|
||
// API before CDT 10.5.0 | ||
public String getBinaryParserId() | ||
{ | ||
return CCorePlugin.PLUGIN_ID + ".ELF"; //$NON-NLS-1$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters