Home > Back-end >  Compiled using HAL_RTC_GetTime this function failure, added. C and. H file. The software is Visual S
Compiled using HAL_RTC_GetTime this function failure, added. C and. H file. The software is Visual S

Time:11-28



Pictured above,
1. The program fragment, use the function HAL_RTC_GetTime (& amp; HRTC, & amp; Time, RTC_FORMAT_BCD); HAL_RTC_GetDate (& amp; HRTC, & amp; The date,...
2. Add the above documents and. C file found that. C code in the color is light, display "to disable the inactive region color," this is what mean?
3. Click on the "disable the inactive region color", then the color display is normal, this function is enabled? Then compile or fail,
4. The content of the error: f:/456/Demos/oc_manhole_cover_template oc_manhole_cover_template. C: 219: undefined reference to ` HAL_RTC_GetTime '

CodePudding user response:

Solved, because there is no path is added in the makefile, ha, ha, ha, just begin to contact this software, it is small white
  • Related