项目场景:
本人遇到了这个bug,在结合了他人相同情况,类似的bug,最终本人解决了这个bug,综合自己的解决方案和其他高手的解决方案,记录了这篇undefined reference to `hi_pwm_set_clock‘或者“hi_pwm_init‘或者 “hi_pwm_stop‘的最终解决方案!
在开发中遇到报错为:
undefined reference to `hi_pwm_set_clock’
undefined reference to "hi_pwm_init’
undefined reference to "hi_pwm_stop’
OHOSERRORTriscv32-unknown-elf-ld: ohos/libs/libhal iothardware