All docs

IDE Settings

The Settings panel (build target and its options) and the Project Settings panel (pinned SDK version and Arm toolchain).

The IDE has two settings panels:

PanelHoldsScope
SettingsThe build target and its optionsYour installation (saved by the IDE, not in the project)
Project SettingsThe SDK version the project is pinned to, and the Arm toolchain statusThe open project (stored in its project file)

Both open from the View menu. Changes take effect on the next build.


Settings: Build Target

The build target decides what hardware vpy_cli compiles for when you press F7 (build) or F5 (build and run). Every build goes through the same compiler, vpy_cli. There is no compiler choice any more: the old Buildtools/Core selector was removed together with the legacy compiler.

Build target radio buttons — M6809 selected, all four options visible

M6809 — Vectrex

The default. Produces a .bin ROM image (single-bank or multibank) for real Vectrex hardware or the IDE's JSVecX emulator. No external toolchain is needed: the assembler is bundled.

RP2350 — Debug Cartridge

ARM Thumb2 output for the RP2350 debug cartridge. Requires the arm-none-eabi toolchain. The IDE's RP2350 emulator runs the result without hardware.

When RP2350 is selected, choose a build mode:

Build modeWhat a build does
Flash to cart (XIP)An image that runs from the cartridge's flash. Flash on Build & Run can then write it to the cartridge: Off, SWD (BIOS) or USB (BOOTSEL), with the firmware directory to use
SD card (RAM-linked, for the launcher)A RAM image for the cartridge's SD-card menu. Give an SD card folder and every build copies the game there as NAME.BIN; leave it blank to build only
SWD debugBuild and Build & Run upload the game over SWD to the cartridge (probe-rs and a debug probe on its SWD header) and start it from the menu; the editor's breakpoints stop it on the console. See Debugging

PiTrex — Pi Zero / ARMv6

ARMv6 native binary for the PiTrex (a Raspberry Pi Zero inside the Vectrex cartridge slot). Produces a .img file. Requires the arm-none-eabi toolchain and the PITREX_SDK environment variable.

Copy to SD: when enabled, the IDE copies the compiled .img to an SD card after every successful build. Enter the card's path, or leave it empty to auto-detect it. Browse picks the folder from a file dialog.

PiTrex sub-option expanded — "Copy to SD" checkbox checked and SD card path field filled

UVM2 — Ultimate Vectrex Multicart

ARM Thumb2 target for the Ultimate Vectrex Multicart 2 (RP2350, Cortex-M33). Produces a .um2 file for the multicart's SD card. It builds against the uvmc2-sdk release the project is pinned to, which the IDE downloads on the first build that needs it.

OptionWhat it does
Copy to SD cardCopies the .um2 to the card after every build. Leave the path empty to auto-detect it
Advanced (build flags)Dual core, PIO + DMA bus stream, Refresh (UVM2_HZ) and Extra make variables, appended to the build as make variables

The advanced flags are for building variants to compare on a console, not a permanent setting: dual core with the PIO + DMA stream is the baseline, and UVM2 builds require it.

To put a game on the multicart without a card reader, use Build → Upload to Cartridge (UVMC2, USB): see Cartridges.


Project Settings

Project Settings is available only with a project open. It manages what the project builds against.

SDK

ItemDescription
Current versionThe uvmc2-sdk release the project is pinned to, and whether it is installed
Version listThe releases installed on your machine and the ones published on GitHub (Refresh checks GitHub again; offline, only installed versions are listed)
Change the versionPicks another release. The IDE downloads it with a progress bar if it is not installed, and rewrites only the [sdk] table of the project file
Install folderWhere the release lives, under ~/VectrexStudio/sdk/

A project with no SDK version is pinned to the latest release the first time a build needs it, and the panel tells you so. Classic M6809 builds never need the SDK.

Arm GNU Toolchain

Shows the Arm GNU Toolchain that UVM2 builds use: the one found, or that none is installed yet. You install nothing by hand: the first UVM2 build downloads Arm GNU Toolchain 15.2.rel1 (about 150 MB, once) into ~/VectrexStudio/toolchains. Other versions found on your machine are listed but not used, because they build a different-size image (to use your own anyway, set UVM2_ARM_TOOLCHAIN before starting the IDE). Check again re-detects it.

Pinning, downloading and building outside the IDE are covered in Projects & SDK.


Project file

A VPy project's .vpyproj is a TOML file. The [build] table also names a target, used by command-line builds (vpy_cli); interactive builds in the IDE use the target selected in Settings. The [sdk] table is the one Project Settings edits.

[build]
target        = "vectrex"
output        = "build/game.bin"
optimization  = 2
debug_symbols = true
 
[sdk]
version = "v1.3.2"          # uvmc2-sdk release (UVM2 / PiTrex / C builds)

A C project's .cvproj declares the targets it can build in [targets.rp2350], [targets.uvm2] and [simulate]. See Compiler for the full project file reference and C projects for .cvproj.


AI assistant settings

PyPilot's provider, API keys and model are configured inside the AI Assistant panel itself: see Terminal, Claude Code & MCP.