bsp.c 347 B

12345678910111213141516171819202122232425262728
  1. #include "bsp/bsp.h"
  2. #include "hal/hal.h"
  3. #include "hal/pwm.h"
  4. #include "foc/foc.h"
  5. void system_init(void){
  6. HAL_Init();
  7. SystemClock_Config();
  8. HAL_GPIO_init();
  9. HAL_PWM_Init(FOC_FS);
  10. }
  11. void system_reboot(void){
  12. }
  13. void wdog_reload(void){
  14. #if CONFIG_DEBUG == 0
  15. #endif
  16. }
  17. void wdog_enable(void)
  18. {
  19. #if CONFIG_DEBUG == 0
  20. #endif
  21. }