jagomart
digital resources
picture1_Optimizing C For Microcontrollers


 134x       Filetype PDF       File size 0.14 MB       Source: events17.linuxfoundation.org


File: Optimizing C For Microcontrollers
optimizing c for microcontrollers khem raj comcast embedded linux conference iot summit portland or agenda introduction knowing the tools data types and sizes variable and function types loops low level ...

icon picture PDF Filetype PDF | Posted on 05 Feb 2023 | 2 years ago
Partial capture of text on file.
           Optimizing C For 
           Microcontrollers
   Khem Raj, Comcast
   Embedded Linux Conference & IOT summit - Portland OR
  Agenda
   ● Introduction
   ● Knowing the Tools
   ● Data Types and sizes
   ● Variable and Function Types
   ● Loops
   ● Low Level Assembly
   ● RAM optimizations
   ● Summary
      Meanwhile you are welcome to suggest more use-cases & solutions !
    Knowing Tools
      ● Toolchains
          ○  many vendors e.g. GNU GCC, IAR system, ARM, …
          ○  Each compiler has its own characteristics
              ■  Read through what compilers have to offer.
     Knowing Tools - Compiler Switches
                                       Optimization      Code(bytes)      Data              BSS
       ●   Code performance
             ○   -O2/-O3, -Ofast
                                       Os                6094             200               3648
       ●   Code Size
                                       O1                6568             200               3648
             ○   -Os 
       ●   Debuggable code             O2                6672             200               3648
             ○   Og
                                       O3/Ofast          7068             200               3648
       ●   Zephyr Codesize
                                       Og                6748             200               3648
             ○   hello_world
The words contained in this file might help you see if this file matches what you are looking for:

...Optimizing c for microcontrollers khem raj comcast embedded linux conference iot summit portland or agenda introduction knowing the tools data types and sizes variable function loops low level assembly ram optimizations summary meanwhile you are welcome to suggest more use cases solutions toolchains many vendors e g gnu gcc iar system arm each compiler has its own characteristics read through what compilers have offer switches optimization code bytes bss performance o ofast os size debuggable og zephyr codesize hello world...

no reviews yet
Please Login to review.