更新代码结构

main
詹力 2024-11-12 17:23:15 +08:00
parent 5d9cbcef40
commit c908f856a3
387 changed files with 8393 additions and 3056 deletions

File diff suppressed because it is too large Load Diff

View File

@ -65,7 +65,7 @@ void TIM6_IRQHandler(void)
Get_Angle(); // 更新姿态, 5ms读取一次 Get_Angle(); // 更新姿态, 5ms读取一次
// PB_USART_printf(USART2, (u8 *)"Ctl::Pitch = %d\r\n", (int)Pitch); // PB_USART_printf(USART2, (u8 *)"Ctl::Pitch = %d\r\n", (int)Pitch);
PB_USART_printf(USART2, (u8 *)"Encoder Left = %d Right = %d\r\n", (int)Encoder_Left, (int)Encoder_Right); //PB_USART_printf(USART2, (u8 *)"Encoder Left = %d Right = %d\r\n", (int)Encoder_Left, (int)Encoder_Right);
// // 通过Flag_Target调整控制小车的频率 // // 通过Flag_Target调整控制小车的频率
// if(Flag_Target==1) // if(Flag_Target==1)
@ -81,7 +81,7 @@ void TIM6_IRQHandler(void)
{ {
// 停止电机 // 停止电机
Car_Stop(); Car_Stop();
PB_USART_printf(USART2, (u8 *)"Stop\n"); //PB_USART_printf(USART2, (u8 *)"Stop\n");
return; return;
} }

View File

@ -565,11 +565,12 @@ ARM Macro Assembler Page 9
00000000 00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=..\output\startup_stm32f10x_hd.d -o..\output\startup_stm32f10x_hd. ork --depend=..\output\startup_stm32f10x_hd.d -o..\output\startup_stm32f10x_hd.
o -I"D:\Hardware Project\GeBalanceBot\GeBalanceBot_Firmware v1.0 - TestHardware o -I"D:\Hardware Project\GeekBot-Balan\Hardware\Firmware\GeBalanceBot_Firmware
\Project\RTE" -I"D:\Program Files\Keilv5\ARM\PACK\Keil\STM32F1xx_DFP\1.1.0\Devi v1.0 - TestHardware\Project\RTE" -I"D:\Program Files\Keilv5\ARM\PACK\Keil\STM32
ce\Include" -I"D:\Program Files\Keilv5\ARM\CMSIS\Include" --predefine="__UVISIO F1xx_DFP\1.1.0\Device\Include" -I"D:\Program Files\Keilv5\ARM\CMSIS\Include" --
N_VERSION SETA 521" --predefine="STM32F10X_HD SETA 1" --list=..\listing\startup predefine="__UVISION_VERSION SETA 521" --predefine="STM32F10X_HD SETA 1" --list
_stm32f10x_hd.lst ..\Libraries\CMSIS\startup\startup_stm32f10x_hd.s =..\listing\startup_stm32f10x_hd.lst ..\Libraries\CMSIS\startup\startup_stm32f1
0x_hd.s

Some files were not shown because too many files have changed in this diff Show More