Skip to content

Instantly share code, notes, and snippets.

@Tiryoh
Created July 29, 2020 04:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tiryoh/58267c808c40c155fa106c9195197dcd to your computer and use it in GitHub Desktop.
Save Tiryoh/58267c808c40c155fa106c9195197dcd to your computer and use it in GitHub Desktop.
CS+用VSCodeの設定
{
"files.encoding": "shiftjis",
"C_Cpp.default.defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"_VSCODE"
],
"C_Cpp.default.includePath": [
"${workspaceFolder}/**",
"C:\\Program Files (x86)\\Renesas Electronics\\CS+\\CC\\CC-RX\\V3.02.00\\include"
],
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build", // ビルドタスク
"type": "shell",
"command": "C:\\Program Files (x86)\\Renesas Electronics\\CS+\\CC\\CubeSuite+.exe",
"args": [ // 引数指定
"/bb", "DefaultBuild", // DefaultBuild設定でビルドを実行
"${workspaceFolder}\\PiCoClassic3.mtpj", // プロジェクトファイル(.mtpj)をディレクトリから指定する
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Flash", // マイコンへの書き込み
"type": "shell",
"command": "C:\\Program Files (x86)\\Renesas Electronics\\Programming Tools\\Renesas Flash Programmer V3.06\\RFPV3.Console.exe",
"args": [ // 引数を指定
"${env:USERPROFILE}\\Documents\\Renesas Flash Programmer\\V3.06\\RX631\\RX631.rpj", // プロジェクトファイル(.rpj)をディレクトリから指定する
],
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment