Skip to content

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

Closed
@MartinXBcn

Description

@MartinXBcn

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions