RTT works
This commit is contained in:
1
.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
1
.vscode/.cortex-debug.peripherals.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[{"node":"TIM3","expanded":true,"format":0,"pinned":false}]
|
||||
1
.vscode/.cortex-debug.registers.state.json
vendored
Normal file
1
.vscode/.cortex-debug.registers.state.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
25
.vscode/c_cpp_properties.json
vendored
Normal file
25
.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Win32",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/Core/Inc/**",
|
||||
"${workspaceFolder}/Drivers/STM32F3xx_HAL_Driver/Inc/**",
|
||||
"${workspaceFolder}/Drivers/CMSIS/**",
|
||||
"${workspaceFolder}/RTT/*"
|
||||
],
|
||||
"defines": [
|
||||
"_DEBUG",
|
||||
"UNICODE",
|
||||
"_UNICODE",
|
||||
"USE_HAL_DRIVERS",
|
||||
"STM32F303xE"
|
||||
],
|
||||
"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
|
||||
}
|
||||
45
.vscode/launch.json
vendored
Normal file
45
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
// 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",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "./build/${workspaceFolderBasename}.elf",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"runToEntryPoint": "main",
|
||||
"servertype": "jlink",
|
||||
"device": "STM32F303RE",
|
||||
"interface": "swd",
|
||||
"runToMain": true,
|
||||
"svdFile": "STM32F303xE.svd",
|
||||
"rttConfig": {
|
||||
"enabled": true,
|
||||
"address": "auto",
|
||||
"decoders": [
|
||||
{
|
||||
"label": "RTT",
|
||||
"port": 0,
|
||||
"type": "console",
|
||||
"timestamp": true
|
||||
}
|
||||
]
|
||||
}
|
||||
// "swoConfig": {
|
||||
// "enabled": false,
|
||||
// "cpuFrequency": 8000000,
|
||||
// "swoFrequency": 2000000,
|
||||
// "source": "probe",
|
||||
// "decoders": [{
|
||||
// "type": "console",
|
||||
// "label": "ITM",
|
||||
// "port": 0
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
}
|
||||
]
|
||||
}
|
||||
10
.vscode/settings.json
vendored
Normal file
10
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"stdio.h": "c",
|
||||
"uart_commands.h": "c",
|
||||
"main.h": "c",
|
||||
"stm32f3xx_hal.h": "c",
|
||||
"stm32f3xx_hal_conf.h": "c",
|
||||
"limits": "c"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user