Tinkerforge / esp32-firmware

Firmwares for ESP32 Brick and ESP32 Ethernet Brick (including firmwares for WARP/WARP2 Charger, WARP Energy Manager)
https://www.tinkerforge.com/en/doc/Hardware/Bricks/ESP32_Ethernet_Brick.html
23 stars 20 forks source link

Module dependencies: Using the dependencies header in a header pulls in additional dependencies. #267

Open MattiasTF opened 11 months ago

MattiasTF commented 11 months ago

Commit fec76c68147c9c71a80ce8fffe46a11bc9fc05bd allows including the dependencies header in other headers, which results in those dependencies getting pulled into all modules that depend on this module. At the moment, this is intended to be used for modules that support cron functions but need to know whether or not the cron module is available.

Investigate alternatives to avoid the extra dependencies and possible circular inclusions.