Skip to content

semitov/pico2-editor

Repository files navigation

About

A simple RV32I code editor for the RISC-V Europe Summit Badge. Written to run on the RP2350, includes our own assembler to produce raw binaries and ELF files.

Prerequisites

In order to cross compile the editor for the RP2350 the RISCV Toolchain is required.

The default option is to use the prebuilt binaries from pico-sdk-tools. You can choose to download it manually from here and place it under /opt/riscv or (if you are on GNU/Linux) run the script:

chmod +x setup.sh
./setup.sh

Build

First clone the repository and download the submodules:

git submodule update --init --recursive

Then build the project:

cmake -S . -B build
cmake --build build --target editor

Flash

To flash the binary connect the RP2350 to the PC in BOOTSEL mode (holding the BOOTSEL button) and drag and drop editor.uf2 from the build directory.

About

SemiTO-V RISC-V Summit Badge Editor.

Topics

Resources

License

Stars

Watchers

Forks

Contributors