Comments (19)
09
Hi, How did you install the Eclipse CDT Package? Have you installed this https://www.eclipse.org/downloads/packages/release/2020-06/r/eclipse-ide-cc-developers
Looks like some of the CDT components are not installed.
from idf-eclipse-plugin.
09
Hi, How did you install the Eclipse CDT Package? Have you installed this https://www.eclipse.org/downloads/packages/release/2020-06/r/eclipse-ide-cc-developers
Looks like some of the CDT components are not installed.
Hello @kolipakakondal !
I did the installation of Eclipse through this link that you passed and now the Menu and Widget are appearing correctly!
Thank you!
from idf-eclipse-plugin.
I'm able to see this issue when I play around with the launch configuration or when I create a new ESP Application configuration- Until we fix this, can you please do the following:
- Create a new ESP-IDF Project in eclipse
- This will automatically create the default launch configuration with the project name(it's selected by default). We needn't change anything here.
- Now you should be able to see the third drop-down(Launch Target) which you're asking for - there you should create a new launch target as mentioned in the doc.
from idf-eclipse-plugin.
Hi Kolipakakondal,
What you said works fine. Thanks.
But when I try to execute the HelloWorld on my ESP-WROVER-KIT 4.1 using the built-in JTAG, and following all the steps concerning debugging with JTAG in Eclipse, it fails because xtensa-esp32-elf-gdb --version returns nothing. So I get this in Eclipse:
And if I ask for the verion in the DOS shell I get this (nothing):
Any idea what the problem is?
Thanks.
from idf-eclipse-plugin.
It seems to be xtensa-esp32-elf esp32-2019r1-8.2.0 is having this issue - let us check, can you try with this https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip and this seems to work fine.
While debugging choose the newly downloaded xtensa-esp32-elf-gdb file
from idf-eclipse-plugin.
I'm not sure how to choose the newly downloaded xtensa-esp32-elf-gdb file. I'm not enough familiar with all of this. So I tried this:
I deleted the original content of the folder and replaced by what is in the zip file. Then I try and still get the same error. Then I called export.bat to verify if the batch file was seeing and shown this:
Can you help on this please?
Thanks
from idf-eclipse-plugin.
See if this can help you!
from idf-eclipse-plugin.
Make some progress but now I have this:
It says (if I translate): No Connection have been established because the target computer has expressly refused it.
I did have my ESP-Wrover_Kit 4.1 connected to my computer.
Any idea?
from idf-eclipse-plugin.
Have you started the GDB server from the command line?
You can find the demonstration here https://youtu.be/DqnZy4d03_s - check the demo part
from idf-eclipse-plugin.
That was it, it works, I can now debug.
Thanks you so much Kondal for your help, very appreciated!
And nice video!
Thanks again.
from idf-eclipse-plugin.
I have a similar issue. I also thought that the Launch Target drop-down disappeared, but then I had to realize that you need to select an entry with a different type. Here's how it looks for me:
You can see the Launch Target drop-down but if you select '8k_firmware Configuration', then it disappears. '8k_firmware Configuration' is I think a Debug Configuration that I created manually under "ESP-IDF GDB OpenOCD Debugging":
I have no idea why it shows up in the Launch Bar.
I can see on @bbeliveau's screenshots that the configuration selected there also had a different icon (that's like a crosshair, mine is an Espressif logo). The other looks like a "C program" type of icon for both of us, and that's the right one. Quite confusing.
BTW I can successfully start a debug session on my Ethernet Kit by selecting the "wrong" "8k_firmware Configuration" entry and clicking the Debug button on the Launch Bar after seeing No esp launch target found. Please create/select the correct 'Launch Target'
on the build console in red...
And I am able to come up with a constellation like this:
Which is weird: how do I "Run" a configuration which is a Debug configuration?
from idf-eclipse-plugin.
That's an Eclipse CDT standard naming convention for defining Run and Debug configuration.
8k_firmware >> Application RUN configuration
8k_firmware Configuration >>> Application DEBUG configuration
The first drop-down defines the application launch mode - It can be either Run or Debug
If you want to compile an application - please select Run from the drop-down, this automatically selects the required configuration from the second drop-down which is 8k_firmware
in your case
If you want to Debug the application, select Debug from the first drop-down, this should ideally select the required debug configuration for the selected project. However, I could see some issues here. I would request to select it manually if you see some issue here, which is 8k_firmware Configuration
in your case. We will fix this soon.
We will also see how we can re-work on the naming convention for a run and debug to make it more clear.
from idf-eclipse-plugin.
I verify the same issue on current master branch. It's very unconfortable and error prone, after modifying code while debugging, that code will not automatically build before launch debugging (the message "No esp launch target found. Please create/select the correct 'Launch Target'" is very fast and fade away as soon as debugger messages are shown). there is possibly some workaround to fix the build process while in debugging mode or we have to wait for new plugin release?
from idf-eclipse-plugin.
Hi @steph0xr
Sorry for the inconvenience, we have fixed this with #155
We will update here once it's released
from idf-eclipse-plugin.
Hi @kolipakakondal ,
can you tell me when your fix on this issue has been planned to be released?
Development it's very slow changing view for build while debugging. Moreover after some swap between view it's not possible to build anymore, even in build view, and eclipse must be restarted each time.
thanks
from idf-eclipse-plugin.
I have just installed idf-eclipse plugin on eclipse 2020-12 (windows 10). I can't see Build button widget. When I try to build project based on hello_world tmplate I see: No esp launch target found. Please create/select the correct 'Launch Target'
Please help
from idf-eclipse-plugin.
Hi @forcecodema Eclipse 2020-12 is not yet supported by the plugin, could you switch to Eclipse 2020-09 and see that helps
from idf-eclipse-plugin.
Hi,
I have installed idf-eclipse plugin on Eclipse 2020-09 (windows 10), but just like I @forcecodema I can't see Build button widget when creating an Espressif IDF Project.
*I'm using Java 15.0.2
Any ideia?
Regards!
from idf-eclipse-plugin.
The problem related to disappearing the target's drop-down menu is fixed. You can find related changes in the 2.2.0 release
from idf-eclipse-plugin.
Related Issues (20)
- No dialog to create an Espressif IDF project after installing esp-idf-v5.1.2 at Eclipse 2023-12 (IEP-1129) HOT 6
- ESP32-S3-DecKitC-1 Debugger no connection to the board Failed to execute MI command (IEP-1131) HOT 1
- Does not resolve any libraries (IEP-1148) HOT 10
- OutputStreamMonitor.startMonitoring(java.lang.String) (IEP-1150) HOT 14
- 'Install Tools' in 2.12.0 fails with ESP-IDF v5.2 (IEP-1155) HOT 5
- Indexer will not resolve includes in unit-test code (but will still compile and run) (IEP-1164) HOT 1
- Syntax coloring does not work in Editor (LSP) (IEP-1165) HOT 2
- When installing ESP IDF IDE, IDE is not selected by default (IEP-1166) HOT 1
- Rendering problem of project description when starting new ESP IDF project (IEP-1167) HOT 1
- [Debian 12, Eclipse IDF 2023-12, ESP-IDF Plugin 2.12] ESP-IDF Tools manager > Install Tools errors. (IEP-1168) HOT 5
- install error (IEP-1169) HOT 5
- Eclipse Plugin: Add ability to select ESP-Tools location (IEP-1173) HOT 2
- Add the Reset & Restart functionality (IEP-1177) HOT 7
- Abort build process in presence of errors (IEP-1180) HOT 1
- Latest version brings more unresolved warnings (IEP-1181) HOT 24
- Espressif-IDE-2.12.1-linux.gtk.x86_64 seems Scanner is broken (IEP-1182) HOT 1
- macOS 14.4 Sonoma (IEP-1185) HOT 1
- IDE installation error (IEP-1188) HOT 3
- Not able to see data in teraterm (IEP-1191)
- Unresolved inclusion. unless it was included in "app_main.c". (IEP-1206)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idf-eclipse-plugin.