Summary
This chapter outlined basic principles of performance optimization for Cortex-M systems. We took an example software algorithm, the dot product, and went through several boards and compiler options to explore performance implications. The skills learned in this chapter will help you optimize your Cortex-M system intelligently by altering the main factors influencing performance: processor type, software source code implementation, and compilers and compiler options.
No matter how optimized your system is for performance, there are still other important aspects to consider that ensure you have a quality Cortex-M product. The next chapter provides both an overview and practical guide for using machine learning on edge devices.