Skip to content
Preptima

Embedded Systems & IoT interview questions and answers

Firmware, RTOS, and edge constraints.

3 published across 1 topics.

Firmware & RTOS

3 questions

Bare-metal C, memory management, and hardware interrupts.

mediumConceptDesign

How do you size the stack and the heap on a device with a fixed RAM budget?

Stack and heap sizing on fixed RAM starts from the link map, worst-case call depth and interrupt nesting. Measure stack high-water marks with fill patterns, avoid unbounded heap allocation, and prefer fixed pools allocated at startup for predictable firmware behaviour.

5 minmid, senior, staff
All 3 in Firmware & RTOS