Crate vexide_startup

source ·
Expand description

This crate provides a working entrypoint for the VEX V5 Brain.

§Usage

Your entrypoint function should be an async function that takes a single argument of type Peripherals. It can return any type implementing Termination.

#[vexide::main]
async fn main(peripherals: Peripherals) { ... }

Structs§

  • The cold header is a structure that is placed at the beginning of cold memory and tells VexOS details abuot the program.

Functions§

  • Sets up the user stack, zeroes the BSS section, and calls the user code. This function is designed to be used as an entrypoint for programs on the VEX V5 Brain.