-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIO Inspect does not work. #1305
Comments
Hi @zekageri, any chance you could share your project to reproduce the issue? |
Unfortunately i can't and it also is a massive app. I can try to build a small project and hope it triggers it. |
Would be great. |
Well, i was able to inspect only the RAM usage But this is obviously not true. Just some questions Does PIO inspect sees the external ram? My ini file contains the board definition and some EXT ram build flags. |
It shouldn't take that long. How many files does your project contain?
PIO analyzes your firmware section by section. In a nutshell, if a symbol is located in a section that occupies memory during app execution then it will considered as RAM.
Unfortunately, it doesn't. Unlike the static memory allocation, the dynamically allocated memory (in your case the memory allocated via |
Well, I don't know. A lot. A rough estimate is (37 * 2) 74 if each folder contains at least two files. But some folders contains more than 3-4 files so give or take. Thank you for the info. I will try to create a smaller project and see what it does. The Will check Valgrind too! Thanks for the tip! |
Hi! I wanted to analyse my codebase with Inspect.
I had an error at the first inspection which said that my program is bigger than it can be.
Which is strange because i can upload it fine.
After some research i found out that it built the project in debug mode therefore it is a lot bigger.
So i added a line into my ini file to optimise the debug build.
debug_build_flags = -Os
Now if i Inspect it again, it does not produce an error but stuck at 100% and it seems like it will never finish.
I'm using an ESP-wrover-E with 16mb flash and 8mb psram.
I'm using a lot of malloc in my project to fully use the external ram as i can.
What can i do to make the Inspection work?
I will also try the following build flags in the ini file after i waited long enough for the Inspection to finish... ( I suspect it never will )
Here is my current ini file
The text was updated successfully, but these errors were encountered: