Skip to content
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

Building for device "linux" calls the esp_idf_size which fails. (VSC-1605) #1448

Closed
1 task done
i400s opened this issue Feb 27, 2025 · 3 comments
Closed
1 task done
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@i400s
Copy link

i400s commented Feb 27, 2025

OS

Linux

Operating System version

linux debian trixie

Visual Studio Code version

1.97.2

ESP-IDF version

v5.5-dev-2119-g0461e2ff88

Python version

3.13.2

Doctor command output

n/a

Extension

No response

Description

When the compile for linux finishes the program tries to show the usual memory usage summary build information which obviously it can't do.

eg:

error: cannot read memory types file: [Errno 2] No such file or directory: '/home/wilsonj/.espressif/python_env/idf5.5_py3.13_env/lib/python3.13/site-packages/esp_idf_size/ng/../chip_info/linux.yaml'

  • The terminal process "/home/wilsonj/.espressif/python_env/idf5.5_py3.13_env/bin/python '/home/wilsonj/Documents/foldered/espressif/esp-idf/tools/idf_size.py', '/home/wilsonj/Documents/foldered/espressif/vscode/esp-idf/i400s_temp__/gpio-relay/test-apps/test-gpio-relay-linux/build/test-gpio-relay-linux.map'" terminated with exit code: 1.

Debug Message

As above

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@i400s i400s added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Feb 27, 2025
@github-actions github-actions bot changed the title Building for device "linux" calls the esp_idf_size which fails. Building for device "linux" calls the esp_idf_size which fails. (VSC-1605) Feb 27, 2025
@brianignacio5
Copy link
Collaborator

You can set "idf.enableSizeTaskAfterBuildTask": false in your project's .vscode/settings.json to disable the IDF Size task after build task.

@i400s
Copy link
Author

i400s commented Feb 28, 2025

Thanks for the hint. Will remember to check and double check the docs next time. I didn't notice it when I looked, so my mistake. Will close.

@i400s i400s closed this as completed Feb 28, 2025
Copy link

Thanks for using our extension! 🚀

Your feedback matters! Could you take a moment to rate it on the marketplace? A positive rating helps other developers discover our tools and motivates us to keep improving.

⭐ Rate ESP-IDF Extension: https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension&ssr=false#review-details

Your support means a lot to our development team!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

No branches or pull requests

2 participants