Toolchain Secrets - Code Optimization and Directives Determining Optimization Levels

Published: 01 January 1970
on channel: tmf micro
1,111
61

Welcome to another episode of Toolchain Secrets. This time, we'll be exploring code optimization and how to determine optimization levels. I'll show you tools that inform us about our program's memory usage and discuss the pros and cons of different ways to determine how the compiler should approach the optimization process. Enjoy!

00:00 - Start
01:23 - Problems with Memory Usage Information
03:13 - avr-size - The Magic of It
03:50 - Optimization in Microchip Studio
05:12 - Why Disable Optimization?
06:19 - Debugging Optimized Code Can Be a Nightmare
07:19 - Volatile and Masking the Problem
08:40 - _delay_xx and Optimization
08:55 - Optimization and Protected Registers
10:26 - Microchip Studio and Various Project Goals
11:17 - Something for Those Who Want to Know Much More! 12:28 - Function attributes and optimization
14:49 - #pragma - it's not that scary
16:19 - Advantages and disadvantages of different methods of determining the optimization level


On this page of the site you can watch the video online Toolchain Secrets - Code Optimization and Directives Determining Optimization Levels with a duration of hours minute second in good quality, which was uploaded by the user tmf micro 01 January 1970, share the link with friends and acquaintances, this video has already been watched 1,111 times on youtube and it was liked by 61 viewers. Enjoy your viewing!