add config file for Visual Studio Code

bluepill
JbLb 6 years ago
parent 8f2e0fbd47
commit ce6b581f65

3
.gitignore vendored

@ -1,3 +0,0 @@
.vscode/c_cpp_properties.json
.vscode/arduino.json
test_f103_vs.code-workspace

@ -0,0 +1,5 @@
{
"board": "STM32:stm32:GenF1",
"configuration": "pnum=BLUEPILL_F103C8,upload_method=swdMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=osstd,rtlib=nano",
"port": "/dev/ttyACM0"
}

@ -0,0 +1,34 @@
// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY
// PIO Unified Debugger
//
// Documentation: https://docs.platformio.org/page/plus/debugging.html
// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html
{
"version": "0.2.0",
"configurations": [
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug",
"executable": "/home/jerome/spare/hoverboard/hoverboard-firmware-hack-FOC/02_Arduino/hoverserial/.pio/build/bluepill_f103c8_128k/firmware.elf",
"toolchainBinDir": "/home/jerome/.platformio/packages/toolchain-gccarmnoneeabi/bin",
"svdPath": "/home/jerome/.platformio/platforms/ststm32/misc/svd/STM32F103xx.svd",
"preLaunchTask": {
"type": "PlatformIO",
"task": "Pre-Debug"
},
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "platformio-debug",
"request": "launch",
"name": "PIO Debug (skip Pre-Debug)",
"executable": "/home/jerome/spare/hoverboard/hoverboard-firmware-hack-FOC/02_Arduino/hoverserial/.pio/build/bluepill_f103c8_128k/firmware.elf",
"toolchainBinDir": "/home/jerome/.platformio/packages/toolchain-gccarmnoneeabi/bin",
"svdPath": "/home/jerome/.platformio/platforms/ststm32/misc/svd/STM32F103xx.svd",
"internalConsoleOptions": "openOnSessionStart"
}
]
}

@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}
Loading…
Cancel
Save