Skip to content

Kconfig.projbuild: "ARDUINO_SELECTIVE_Networking" not compatible with CMakeLists.txt #9556

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

Closed
1 task done
MartinXBcn opened this issue Apr 23, 2024 · 0 comments · Fixed by #9583
Closed
1 task done
Assignees
Labels
Area: WiFi Issue related to WiFi Status: Awaiting triage Issue is waiting for triage
Milestone

Comments

@MartinXBcn
Copy link

Board

ESP32-S3-WROOM-1-N16R8

Device Description

Own hardware-design.

Hardware Configuration

n.a.

Version

latest development Release Candidate (RC-X)

IDE Name

Visual Studio Code with ESP-IDF

Operating System

Windows 10

Flash frequency

40MHz

PSRAM enabled

no

Upload speed

921600

Description

Problem
When selecting "Include only specific Arduino libraries" in "SDK Configuration editor" the libraries "Network" and "NetworkClientSecure" are not detected/included correctly by CMakeLists.txt because the corresponding menu options in Kconfig.projbuild are called "ARDUINO_SELECTIVE_Networking" and "ARDUINO_SELECTIVE_WiFiClientSecure" which should be "ARDUINO_SELECTIVE_Network" (without "ing") and "ARDUINO_SELECTIVE_NetworkClientSecure".
That is because CMakeLists.txt concats "ARDUINO_SELECTIVE_" with the library-name to check if the Arduino-library is selected in Kconfig.projbuild, in this two cases the library names are "Network" (and not "Networking") and "NetworkClientSecure" (and not "WiFiClientSecure").

Solution
Replace in Kconfig.projbuild
"ARDUINO_SELECTIVE_Networking" by "ARDUINO_SELECTIVE_Network" and
"ARDUINO_SELECTIVE_WiFiClientSecure" by "ARDUINO_SELECTIVE_NetworkClientSecure"
fixes the problem.

Sketch

n.a.

Debug Message

n.a.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: WiFi Issue related to WiFi Status: Awaiting triage Issue is waiting for triage
Projects
None yet
3 participants