© Warren Gay 2018
Warren GayBeginning STM32https://doi.org/10.1007/978-1-4842-3624-6_9

9. Code Overlays

Warren Gay1 
(1)
St. Catharines, Ontario, Canada
 

You don’t hear much about code overlays today. With today’s seemingly unlimited virtual memory in desktops and servers, applications often don’t check for the risk of running out of memory. Yet in the early days of the mainframe’s using core memory and the fledgling IBM PC, running out of memory was a frequent concern. Overlays were instrumental in doing more with less.

Overlays continue to have a role today in microcontrollers because of those products’ own memory limits. Embedded products may begin with a selected microcontroller, only to discover later that the software won’t fit. If this happens ...

Get Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.