BrinirController
BrinirController copied to clipboard
Does this still build? Error: undefined reference to **`HAL_IWDG_Start'**
Was trying this build tonight (yes I know its 5years old!) and as expected, a lot of errors maybe due to the environments etc moving on in the meantime.
EDITed: Main problem appears to be around the Watchdog piece in the code:
Code:
/* Configure and start IWDG */
hiwdg.Instance = IWDG; hiwdg.Init.Prescaler = IWDG_PRESCALER_4; hiwdg.Init.Reload = 2047; HAL_IWDG_Init(&hiwdg); #ifdef WATCHDOG_EN HAL_IWDG_Start(&hiwdg); print("\r\n[OK] Watchdog started"); #else print("\r\n[WARNING] Watchdog not enabled"); #endif
Error:
Error 137 error : undefined reference to `HAL_IWDG_Start' C:\Tools\Software_Diff\BrinirController-master\Firmware\main.c 85 1 Firmware Error 138 error : ld returned 1 exit status C:\Tools\Software_Diff\BrinirController-master\Firmware\collect2.exe Firmware Error 139 error : Command-line action failed C:\Tools\Software_Diff\BrinirController-master\Firmware\VisualGDB Firmware
Hi,
Sorry for the super slow reply. Glad you got it working though!
Yes this project is horribly out of date, and I haven't run this code in quite some time. I'd recommend moving all the application code over to the latest ST stack. If you can get a copy Simulink codegen, then it's probably worth rebuilding the model code too.