-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实现arduino的软复位和硬件看门狗 #78
Comments
#include <air001xx_hal_iwdg.h> int i = 0; void setup() { watchdog.Init.Prescaler = IWDG_PRESCALER_64; Serial.begin(9600); ret = HAL_IWDG_Init(&watchdog); void loop() { ino文件的同目录建立build_opt.h写入一下内容 |
上面的代码 直接编译运行,一直不看门狗复位呢 |
用起来了,基于上面代码,再增加时钟 |
您的功能请求是否与解决某些问题有关?请描述一下。/ Is your feature request related to a problem? Please describe.
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
描述您想要的解决方案 / Describe the solution you'd like
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
描述您想要的详细使用步骤描述 / Describe the solution you'd like to use in what way
在硬件看门狗没有实现的情况下可以直接调用HAL实现看门狗吗?有没有HAL调用相关的示例,直接引用air001xx_hal_iwdg.h调用编译的时候提示找不到方法
其他备注信息或截图 / Add any other context or screenshots about the feature request here
No response
确认信息
The text was updated successfully, but these errors were encountered: