Expand description
Low level core functionality for pros-rs
.
The core crate is used in all other crates in the pros-rs ecosystem.
Included in this crate:
Modules§
- Simple allocator using the VEX libc allocation functions in vexos and jemalloc in the sim.
- Helpers for dealing with errno.
- Std-like I/O macros and types for use in pros.
- Synchronization types for FreeRTOS tasks.
- FreeRTOS task creation and management.
- Temporal quantification.
Macros§
- If errno has an error, return early.
- Checks if the value is equal to the error state, and if it is, uses the value of errno to create an error and return early.
- Prints and returns the value of a given expression for quick and dirty debugging.
- Macro for printing to the standard error.
- Macro for printing to the standard error, with a newline.
- Generate an implementation of FromErrno for the given type.
- Create new
LocalKey
(s) - Macro for printing to the standard output.
- Macro for printing to the standard output, with a newline.