Skip to content

async-mqtt-client compiled and linked in when WLED_DISABLE_MQTT is set #4648

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

Open
1 task done
rhkean opened this issue Apr 17, 2025 · 0 comments
Open
1 task done

async-mqtt-client compiled and linked in when WLED_DISABLE_MQTT is set #4648

rhkean opened this issue Apr 17, 2025 · 0 comments
Labels

Comments

@rhkean
Copy link

rhkean commented Apr 17, 2025

What happened?

I just noticed that the async-mqtt-client is compiled and linked into the bin even when the WLED_DISABLE_MQTT flag is set.

by deleting the entire folder from the src/dependencies folder, the bin file is 3.2k smaller

To Reproduce Bug

add -D WLED_DISABLE_MQTT flag to platformio.ini file
build the project
notice that the async-mqtt-client is still listed as being compile and linked

delete the async-mqtt-client folder from the src/dependencies folder
see that the bin is 3200 bytes smaller

Expected Behavior

async-mqtt-client is not linked and/or included in the .bin file

Install Method

Self-Compiled

What version of WLED?

WLED 0.15.1.beta2

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rhkean rhkean added the bug label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant