更新了程序流程和数据流图,增加ozone一键调试的支持,补充了legacy support warn

This commit is contained in:
NeoZng
2023-02-15 18:28:25 +08:00
parent 53bdf1707c
commit b9a7d87dfd
26 changed files with 476 additions and 223 deletions

View File

@@ -1,6 +1,8 @@
#include "bsp_buzzer.h"
#include "main.h"
#warning this is a legacy support file, please use the new version
extern TIM_HandleTypeDef htim4;
static uint8_t tmp_warning_level = 0;

View File

@@ -1,6 +1,8 @@
#include "bsp_led.h"
#include "main.h"
#warning this is a legacy support file, please use the new version
extern TIM_HandleTypeDef htim5;
static uint8_t tmp_output_level = 0;

View File

@@ -1,5 +1,7 @@
#include "bsp_temperature.h"
#warning this is a legacy support file, please use the new version
extern TIM_HandleTypeDef htim10;
void IMUTempInit()

View File

@@ -7,4 +7,6 @@ https://blog.csdn.net/NeoZng/article/details/128496694
https://blog.csdn.net/NeoZng/article/details/128486366
使用序列通信则在单次通信后不会释放总线,继续占用直到调用传输函数时传入`IIC_RELEASE`参数. 这个功能只在一条总线上挂载多个主机的时候有用.
使用序列通信则在单次通信后不会释放总线,继续占用直到调用传输函数时传入`IIC_RELEASE`参数. 这个功能只在一条总线上挂载多个主机的时候有用.
cubemx未配置dma时请勿使用dma传输其行为是未定义的。

View File

@@ -0,0 +1,3 @@
注意如果你没有在CubeMX中为spi分配dma通道请不要使用dma模式
后续添加安全检查通过判断hspi的dma handler是否为空来选择模式如果为空则自动将DMA转为IT模式以继续传输并通过log warning 提醒用户)