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

Fix CMake args for esp-idf lower than 4.4 #1266

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

radurentea
Copy link
Collaborator

@radurentea radurentea commented Jul 31, 2024

Description

Please include a summary of the change and which issue is fixed.

Fixes #1260

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Steps to test this pull request

  • Download esp-idf version 4.3.6 from https://dl.espressif.com/dl/esp-idf/?idf=4.3
  • Configure extension to use existing esp-idf (select the folder where 4.3.6 was installed)
  • Create a project from examples (ex: hello world)
  • Build the project

The project should build with no issues.

How has this been tested?

Manual testing

Test Configuration:

  • ESP-IDF Version: 4.3.6
  • OS (Windows,Linux and macOS): Windows 11

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

@radurentea radurentea requested a review from brianignacio5 July 31, 2024 11:05
Copy link

github-actions bot commented Jul 31, 2024

Download the artifacts for this pull request:

Copy link
Collaborator

@brianignacio5 brianignacio5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current change don't really solve the underlying issue.

src/build/buildTask.ts Outdated Show resolved Hide resolved
@brianignacio5 brianignacio5 added this to the v1.8.1 milestone Aug 1, 2024
@radurentea
Copy link
Collaborator Author

@brianignacio5 Please take another look, I've fixed the things you've requested. I've also tested the implementation with esp-idf version 4.3.6

@radurentea radurentea self-assigned this Aug 2, 2024
Copy link
Collaborator

@brianignacio5 brianignacio5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@radurentea
Copy link
Collaborator Author

Hi @AndriiFilippov, this is ready to be tested PTAL

@AndriiFilippov
Copy link
Collaborator

@radurentea hi !

Tested under:
OS - Windows 11
ESP-IDF: v4.3.6

able to build / flash / monitor projects with versions lower than 4.4 ✅

LGTM 👍

@radurentea radurentea merged commit dd2ed6d into master Aug 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't build with extension 1.8. Error: "CMake Error: Could not create named generator =Ninja" (VSC-1450)
3 participants