Comment

Comment by the__alchemist

I've only coded for ARM. On those devices, the toolchains etc handle the code logic, and each ARM device will have its own peripherals.

Working at the MCU-register level and higher, is there any difference in RISC-V? Or does it only matter if writing compilers and toolchains?

Maybe the way you handle interrupts changes? Eg you would no longer use a cortex-m library to handle them. Maybe low power modes too, since those use ARM registers in addition to MCU-specific ones?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton