Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>CDK DevToolsNew to Visual Studio Code? Get it now.
CDK DevTools

CDK DevTools

LevoirE

|
34 installs
| (0) | Free
Scan CDK project files and generate build tasks and debug configurations
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CDK DevTools

Scan CDK project files and generate build tasks, debug configurations, with a project file explorer sidebar.

中文

Features

  • CDK Project Explorer — Tree view in Explorer sidebar showing .cdkproj file structure
  • Toolbar Buttons — One-click Build, Clean, Flash, and Debug for the current project
    • 🔧 Build (F7) — Build the current project
    • 🗑️ Clean — Clean build outputs
    • ⚡ Flash (F8) — Flash firmware to device
    • 🪲 Debug — Generate SRAM or FLASH debug launch config
  • Drag & Drop — Import files/folders from Explorer or system into the project tree
  • Context Menu — Right-click to toggle exclude from build, remove from project, reveal in Explorer, copy path, and more
  • Task Generation — Scan command generates Build / Flash / Build-and-Flash tasks for all projects
  • Debug Configuration — Choose SRAM (reset + load) or FLASH (hardware breakpoints) mode
  • Preserves your existing custom tasks and configurations
  • Chinese (zh-cn) localization

Requirements

  • C-Sky CDK toolchain (cdk-make.exe)
  • CSky Flash Programmer (CSKYFlashProgramerConsole.exe)
  • C-Sky Debug Server (DebugServerConsole.exe)
  • C-Sky GDB (csky-elfabiv2-gdb.exe)

Extension Settings

Setting Default Description
cdk-devtools.cdkMakePath "" Full path to cdk-make.exe
cdk-devtools.flashProgrammerPath "" Full path to CSKYFlashProgramerConsole.exe
cdk-devtools.debugServerPath "" Full path to DebugServerConsole.exe
cdk-devtools.gdbPath "" Full path to csky-elfabiv2-gdb.exe
cdk-devtools.debugPort 1025 DebugServer port number

Usage

Quick Build / Clean / Flash

  1. Open a workspace containing .cdkproj files
  2. Configure the tool paths in Settings (Ctrl+,)
  3. The CDK Project Files view appears in the Explorer sidebar — select your project
  4. Click the toolbar buttons in the view title bar:
    • 🔧 Build or press F7
    • 🗑️ Clean
    • ⚡ Flash or press F8

Generate Debug Config

  1. Select a project in the CDK Project Explorer
  2. Click 🪲 Debug in the toolbar
  3. Choose SRAM Debug (reset chip + load firmware) or FLASH Debug (hardware breakpoints)
  4. The .vscode/launch.json is updated automatically

Batch Task Generation

  1. Open Command Palette (Ctrl+Shift+P) → Scan CDK project files and generate tasks
  2. Select projects — tasks and launch configs are generated for all selected projects

Manage Project Files

  1. Drag .c/.h/.cpp/.hpp/.s/.S/.ld/.inc files from Explorer into the tree to add them
  2. Drag a folder to recursively import its contents
  3. Right-click items for Toggle Exclude from Build, Remove from Project, Reveal in Explorer, Copy Path, etc.

CDK 开发工具

扫描 CDK 工程文件,自动生成构建任务和调试配置,提供工程文件浏览器侧边栏。

功能特性

  • CDK 工程浏览器 — 在资源管理器侧边栏以树形视图展示 .cdkproj 工程文件结构
  • 工具栏按钮 — 一键编译、清理、烧录、调试当前工程
    • 🔧 编译工程 (F7) — 编译当前工程
    • 🗑️ 清理工程 — 清理构建输出
    • ⚡ 烧录工程 (F8) — 烧录固件到设备
    • 🪲 调试工程 — 选择 SRAM 或 FLASH 模式生成调试配置
  • 拖拽导入 — 从资源管理器或系统拖入文件/文件夹到工程树
  • 右键菜单 — 切换排除编译、从工程移除、在资源管理器中显示、复制路径等
  • 任务生成 — 扫描 命令批量生成编译/烧录/编译烧录任务
  • 调试配置 — 选择 SRAM 调试(复位+加载)或 FLASH 调试(硬件断点)
  • 保留用户已有的自定义任务和配置
  • 中文本地化

环境要求

  • C-Sky CDK 工具链 (cdk-make.exe)
  • CSky 烧录工具 (CSKYFlashProgramerConsole.exe)
  • C-Sky 调试服务器 (DebugServerConsole.exe)
  • C-Sky GDB (csky-elfabiv2-gdb.exe)

扩展设置

设置项 默认值 说明
cdk-devtools.cdkMakePath "" cdk-make.exe 的完整路径
cdk-devtools.flashProgrammerPath "" CSKYFlashProgramerConsole.exe 的完整路径
cdk-devtools.debugServerPath "" DebugServerConsole.exe 的完整路径
cdk-devtools.gdbPath "" csky-elfabiv2-gdb.exe 的完整路径
cdk-devtools.debugPort 1025 DebugServer 端口号

使用方法

快捷编译 / 清理 / 烧录

  1. 打开包含 .cdkproj 文件的工作区
  2. 在设置中配置工具路径(Ctrl+,)
  3. 在资源管理器侧边栏找到 CDK 工程文件 视图,选择工程
  4. 点击视图标题栏的工具栏按钮:
    • 🔧 编译工程 或按 F7
    • 🗑️ 清理工程
    • ⚡ 烧录工程 或按 F8

生成调试配置

  1. 在 CDK 工程浏览器中选择工程
  2. 点击工具栏 🪲 调试工程
  3. 选择 SRAM 调试(复位芯片+加载固件)或 FLASH 调试(硬件断点)
  4. .vscode/launch.json 自动更新

批量任务生成

  1. 打开命令面板 (Ctrl+Shift+P) → 扫描 CDK 工程文件并生成任务
  2. 选择工程,任务和调试配置将批量生成

管理工程文件

  1. 从资源管理器拖入 .c/.h/.cpp/.hpp/.s/.S/.ld/.inc 文件到工程树
  2. 拖入文件夹可递归导入
  3. 右键菜单:切换排除编译、从工程移除、在资源管理器中显示、复制路径 等
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft