Skip to content
0:00 / 0:00

#stm8#atmega328p#compiler-optimization

Bare-Metal MCU #8: Optimizers and Bit-Banging

Mitch Davis

53K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Mitch Davis

Intermediate. Assumes working knowledge.

30K views6 years ago1 recommendation

Systems programmingHardwareCompilers and interpretersPerformance and optimizationEmbedded systems

Mitch Davis explains compiler optimizations and bit-banging when transitioning from Arduino to bare-metal STM8 and ATmega328P development.

This is the eighth video in a journey from Arduino to STM8. The goal is to begin with Arduino, which is a popular platform to serve as a starting point. I'll then break it down into a fundamental level, and then apply those fundamentals to other microcontrollers, such as the STM8. This video focuses on how to write code that is easier to understand for embedded programmers, and how to optimize your code to reduce the size. AVR Instruction Set Datasheet: ww1.microchip.com/downloads/en/devicedoc/atmel-0856-avr-inst… ATMEGA328P Datasheet: ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automoti… ATMEGA328 Datasheet: ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA…

Why it's here

1 person recommends this

What people say. Recommended for understanding what compiler optimizations do to machine code behind the scenes.

u/forgotmyteain r/embedded • Recommends

Compiler optimizations - what's happening to your machine code behind the scenes