Wrap the ledc, i2c source files with the new caps in CMakeLists and linker.lf. This could avoid potential source file not found warning during linking time.