configure vscode
This commit is contained in:
1
firmware/.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
1
firmware/.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
1
firmware/.vscode/.cortex-debug.registers.state.json
vendored
Normal file
1
firmware/.vscode/.cortex-debug.registers.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
24
firmware/.vscode/c_cpp_properties.json
vendored
Normal file
24
firmware/.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Win32",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/func_gen_stm32f303re_nucleo/Core/**",
|
||||
"${workspaceFolder}/func_gen_stm32f303re_nucleo/Drivers/**",
|
||||
"${workspaceFolder}/shared_libs/**"
|
||||
],
|
||||
"defines": [
|
||||
"_DEBUG",
|
||||
"UNICODE",
|
||||
"_UNICODE",
|
||||
"STM32F303xE",
|
||||
"USE_HAL_DRIVER"
|
||||
],
|
||||
"compilerPath": "C:/MyApps/arm-gcc/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "gnu++17",
|
||||
"intelliSenseMode": "windows-gcc-arm"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
33
firmware/.vscode/launch.json
vendored
Normal file
33
firmware/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Cortex Debug Nucloe",
|
||||
"cwd": "${workspaceFolder}/func_gen_stm32f303re_nucleo/",
|
||||
"executable": "./build/func_gen_stm32f303re_nucleo.elf",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"runToEntryPoint": "main",
|
||||
"servertype": "jlink",
|
||||
"device": "STM32F303RE",
|
||||
"interface": "swd",
|
||||
"runToMain": true,
|
||||
"svdFile": "STM32F303xE.svd",
|
||||
// "swoConfig": {
|
||||
// "enabled": false,
|
||||
// "cpuFrequency": 8000000,
|
||||
// "swoFrequency": 2000000,
|
||||
// "source": "probe",
|
||||
// "decoders": [{
|
||||
// "type": "console",
|
||||
// "label": "ITM",
|
||||
// "port": 0
|
||||
// }
|
||||
// ]
|
||||
// }]
|
||||
}
|
||||
]
|
||||
}
|
||||
22
firmware/.vscode/tasks.json
vendored
Normal file
22
firmware/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "f303re",
|
||||
"command": "C:/MyApps/mingw64/bin/make.exe",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/func_gen_stm32f303re_nucleo"
|
||||
},
|
||||
"args": [
|
||||
"-j"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
1
firmware/func_gen_stm32f303re_nucleo/.gitignore
vendored
Normal file
1
firmware/func_gen_stm32f303re_nucleo/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
build
|
||||
@@ -128,8 +128,7 @@ void SystemClock_Config(void)
|
||||
|
||||
/** Initializes the CPU, AHB and APB buses clocks
|
||||
*/
|
||||
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|
||||
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
|
||||
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2;
|
||||
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
|
||||
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
|
||||
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
|
||||
|
||||
36562
firmware/func_gen_stm32f303re_nucleo/STM32F303xE.svd
Normal file
36562
firmware/func_gen_stm32f303re_nucleo/STM32F303xE.svd
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user