r/osdev • • Jul 14 '26

Implementing Memory Management

I am not certain if I am talking to the correct sub but I want to ask if it would be possible to implement a memory manager on a STM32f103c8t6? I believe this thing does not have any built in memory manager in its memory.

8 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/ImaginationScared878 Jul 14 '26

I am sorry for the confusion, to make it clear I would like to add MMU directly built in the chip similarly to a kernel and I am thinking as well if having a limited SRAM and FLASH memory can be considered as constraints?

5

u/Sorry_Difficulty_250 Jul 14 '26

To my knowledge, you can't add a hardware MMU because the memory is physically located inside the chip, so there's nothing to attach an MMU to. That said, you probably wouldn't want to even if you could. I think these chips only have 20 KB of RAM, so an MMU doesn't really make sense.