logoalt Hacker News

dvdkon • yesterday at 11:10 PM • 1 reply • view on HN

> I suspect that hardware without an MMU is not super likely to be able to support XIP.

This seems strange to me. Don't most microcontrollers support executing directly from flash? Some even can't execute from RAM.

Though I agree with the main point, you can compile code as "PIC" - position independent code, and not bother with (ELF) relocations except for linking.


Replies

ranger_danger • today at 12:48 AM

> Don't most microcontrollers support executing directly from flash?

Yes... I presume they meant XIP for multiple programs at once, since you'd need an MMU for that.

➕ show 1 reply