Skip to content

Conversation

@david-cermak
Copy link
Collaborator

@david-cermak david-cermak commented Dec 16, 2025

mosquito

  • Minor fixes to support linux target

sock_utils

  • Empty build for linux target

Examples

@david-cermak david-cermak self-assigned this Dec 16, 2025
@david-cermak david-cermak force-pushed the feat/mosq_linux_build branch 3 times, most recently from a7b46e1 to d11a9dc Compare December 16, 2025 15:56
rules:
- if: idf_version >=6.0
version: ^1.0.0
espressif/sock_utils:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we guard to not add it on Linux target build?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

wanted to keep this cleaner, but i'll probably make sense in future when component manager becomes more stable and dependency resolution more predictable.
just didn't want to end-up like our Ethernet component: https://github.com/espressif/esp-eth-drivers/blob/master/ethernet_init/idf_component.yml 😄


include($ENV{IDF_PATH}/tools/cmake/project.cmake)

if("${IDF_TARGET}" STREQUAL "linux")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't cleaner to move this to component manager yml?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it's probably cleaner, but less practical.
Remember the issues Ondrej had with #ifdef-in components/version? Plus it'd add one more expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants