balance init

This commit is contained in:
kai
2024-01-14 21:22:34 +08:00
parent 9dd0057563
commit 6f22c0ac30
20 changed files with 395 additions and 1056 deletions

View File

@@ -10,9 +10,10 @@
"UNICODE",
"_UNICODE"
],
"compilerPath": "D:\\MinGW\\bin\\gcc.exe",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "windows-gcc-arm",
"cppStandard": "gnu++14",
"intelliSenseMode": "windows-gcc-x86",
"configurationProvider": "ms-vscode.makefile-tools"
}
],

12
.vscode/launch.json vendored
View File

@@ -21,7 +21,11 @@
],
"runToEntryPoint": "main", // 调试时在main函数入口停下
"rtos": "FreeRTOS",
//"preLaunchTask": "build task",//先运行Build任务编译项目,取消注释即可使用
"preLaunchTask": "build task",//先运行Build任务编译项目,取消注释即可使用
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
// dap若要使用log,请使用Jlink调试任务启动,之后再打开log任务
// 若想要在调试前编译并且打开log,可只使用log的prelaunch task并为log任务添加depends on依赖
},
@@ -39,7 +43,11 @@
"interface": "swd",
"svdFile": "STM32F407.svd",
"rtos": "FreeRTOS",
// "preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
"preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
}
//"preLaunchTask": "log", // 调试时同时开启RTT viewer窗口,若daplink使用jlinkGDBserver启动,需要先开始调试再打开log
// 若想要在调试前编译并且打开log,可只使用log的prelaunch task并为log任务添加depends on依赖
},

67
.vscode/settings.json vendored
View File

@@ -1,68 +1,5 @@
{
"files.associations": {
"robot_def.h": "c",
"bsp_dwt.h": "c",
"dji_motor.h": "c",
"message_center.h": "c",
"super_cap.h": "c",
"can_comm.h": "c",
"lqr.h": "c",
"math.h": "c",
"stdint.h": "c",
"general_def.h": "c",
"lk9025.h": "c",
"arm_math.h": "c",
"bmi088driver.h": "c",
"bmi088middleware.h": "c",
"bmi088_regndef.h": "c",
"bmi088reg.h": "c",
"balance.h": "c",
"stdlib.h": "c",
"memory.h": "c",
"bsp_usart.h": "c",
"compare": "c",
"limits": "c",
"*.tcc": "c",
"type_traits": "c",
"bsp_log.h": "c",
"segger_rtt.h": "c",
"referee.h": "c",
"referee_communication.h": "c",
"vmc_project.h": "c",
"user_lib.h": "c",
"quaternionekf.h": "c",
"bsp_usb.h": "c",
"robot.h": "c",
"rm_referee.h": "c",
"stdio.h": "c",
"crc.h": "c",
"bmi088.h": "c",
"cmath": "c",
"ht04.h": "c",
"gain_table.h": "c",
"referee_task.h": "c",
"task.h": "c",
"robot_task.h": "c",
"motor_task.h": "c",
"bsp_flash.h": "c",
"bsp_iic.h": "c",
"usbd_cdc_if.h": "c",
"kf.h": "c",
"none.h": "c",
"buzzer.h": "c",
"bsp_pwm.h": "c",
"main.h": "c",
"stm32f4xx_hal_conf.h": "c",
"master_process.h": "c",
"bsp_can.h": "c",
"can.h": "c",
"servo_motor.h": "c"
},
// "clangd.arguments": [
// "-query-driver=C:/msys64/mingw64/bin/arm-none-eabi-*.exe",
// ],
"cortex-debug.variableUseNaturalFormat": true,
"C_Cpp.default.configurationProvider": "ms-vscode.makefile-tools",
// "C_Cpp.default.compilerPath": "D:\\Msys2\\mingw64\\bin\\arm-none-eabi-gcc.exe"
"makefile.compileCommandsPath": "build/compile_commands.json"
"stm32f4xx_hal_def.h": "c"
}
}