Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup Linux platform source includes (#20362)
* Make bluez source include conditional on chip_enable_ble Linux platform is unconditionally including bluez source files. But this only makes sense if ble is enabled. Configure includes to be conditional on this. * Make WiFi commissioning driver source include conditional on chip_enable_wifi Linux platform is unconditionally including the WiFI commissioning driver source files. But this only makes sense if wifi is enabled. Configure includes to be conditional on this. * Move Network Commissioning driver source includes into app projects Network commissioning source is unconditionally included in the Linux platform. But this only makes sense for commissionable apps that actually use this code. This commit moves these source includes to the apps and also fixes a build error that is arising from blindly assigning size_t to a uint8_t. * per Damian-Nordic, revert networkIDLen to uint8_t But, use static_cast<uint8_t> to fix build warning * per Damian-Nordic, introduce chip_enable_network_commissioning This allows general and ethernet network commissioning source to be conditionally included in platform configuration. * Revert NetworkCommissioningDriver changes
- Loading branch information