Target configuration: !cat .cargo/config.toml 2>/dev/null || echo "No .cargo/config.toml found"
| Domain Rule | Design Constraint | Rust Implication |
| No heap | Stack allocation | heapless, no Box/Vec | | No std | Core only | #![nostd] | | Real-time | Predictable timing | No dynamic alloc | | Resource limited | Minimal memory | Static buffers | | Hardware safety | Safe peripheral access | HAL + ownership | | Interrupt safe | No blocking in ISR | Atomic, critical sections |
Da utilizzare durante lo sviluppo di Rust embedded/no_std. Parole chiave: embedded, no_std, microcontrollore, MCU, ARM, RISC-V, bare metal, firmware, HAL, PAC, RTIC, embassy, interrupt, DMA, periferica, GPIO, SPI, I2C, UART, embedded-hal, cortex-m, esp32, stm32, nrf, 嵌入式, 单片机, 固件,裸机 Fonte: actionbook/rust-skills.