Codefusion Studio (CFS) is an embedded software development platform based on Microsoft's Visual Studio Code (VS Code). It provides best in class development tooling for embedded processors and MCUs by providing intuitive tools for newcomers while enabling advanced features for expert embedded developers.
- Homepage with quick access links for common tasks, links to articles and videos related to your projects, user guides, hardware reference manuals, data sheets, and other useful resources.
- A Workspace Creation wizard for quickly creating per-core projects as well as example applications to jumpstart your development.
- Toolchains that support building for Arm Cortex-M, RISC-V, and other architectures available in supported ADI products.
- System Planner with tools for allocating peripherals and memory per core, assigning signals to pins, configuring pin and clock behavior, viewing registers, and generating source code to include in your project.
- Essential debugging tools including heterogeneous multi-core debugging, breakpoints, disassembly, cross-core debugging, and RTOS thread awareness.
- An extensible plugin architecture that separates config choice capture from code generation, giving developers the freedom to choose RTOS, middleware, and firmware platforms.
CodeFusion Studio currently supports the following processors in the following configurations:
Processor | MSDK | Zephyr | Config Tools | TESA |
---|---|---|---|---|
MAX32650 | Yes | Yes | No | Yes1 |
MAX32655 | Yes | Yes | Yes | Partial2 |
MAX32660 | Yes | Yes | No | No |
MAX32662 | Yes | Yes | No | Partial2 |
MAX32666 | No | Yes | No | No |
MAX32670 | Yes | Yes | No | Yes1 |
MAX32672 | Yes | Yes | No | Partial2 |
MAX32675C | Yes | Yes | No | No |
MAX32690 | Yes | Yes | Yes | Yes1 |
MAX78000 | Yes | Yes | No | Partial2 |
MAX78002 | Yes | Yes | No | No |
This section provides instructions for installing and setting up CodeFusion Studio for supported processors.
Tools VS Code extensions depend on:
- Microsoft's Visual Studio Code version 1.89.0 or later.
CodeFusion Studio and extensions are supported on the following host operating systems:
- Windows 10 or 11 (64-bit)
- macOS (ARM64)
- Ubuntu 22.04 and later (64-bit)
Download CodeFusion Studio from the CodeFusion Studio Developer Resources page or use the links below:
Note: The Linux installer downloads without execute permissions. Run
chmod a+x <installer>
to grant execute permissions before continuing.
- Double click the SDK (
.exe
,.dmg
,.run
) to launch the setup wizard. - Follow the on-screen instructions to begin setup.
- Specify the installation folder when prompted. We recommend using the default location.
- Select the default or desired components to install, then proceed to the next step.
- Review and accept the license agreement to continue.
- (Windows only): Choose the Start Menu folder for the shortcut.
- Review your selections and start the installation.
- When the installation is complete, close the wizard.
Change your SDK path if prompted or manually configure it in user settings.
- Open Settings (press
Ctrl,
on Windows/Linux orCmd,
on macOS, or use the gear icon in the lower-left corner). - Search for
cfs.sdk.path
. - Set the path to your CodeFusion Studio SDK installation directory. For example,
C:\analog\cfs\1.1.0
on Windows.
Note: You may need to restart VS Code after setting the path.
Note: By default, the CFSUtil path points to
${config:cfs.sdk.path}/Utils/cfsutil/bin/cfsutil
. The default CFSUtil path should be sufficient in most cases.
Change your CFSUtil path if prompted or manually configure it in user settings.
Note: The VS Code extension can be installed from the VisualStudio Marketplace, or manually from the CodeFusion Studio installation. This step is only required if you need to manually install an extension.
- Open Visual Studio Code.
- Go to the
Extensions
tab. - Click Views and More Actions
...
and selectInstall from VSIX
. - Browse to the
<codefusion-sdk-install>/VSCode
directory and select the required*.vsix
file.
The Olimex ARM-USB-OCD-H debugger is required to debug the RISC-V core on supported MAX parts. The Olimex drivers are not provided directly by CodeFusion Studio and need to be installed manually if RISC-V Debugging is required.
Download and installation instructions can be found in chapter 3 of the Olimex ARM-USB-OCD-h User Manual
For more information, refer to the User Guide for CodeFusion Studio.