User Tools

Site Tools


embedded

This is an old revision of the document!


Embedded Overview

Overview of embedded system development.

Key Parameters

  1. Memory
  2. Storage
  3. Power
  4. Processing power

Integral Types

On ARM processors pass in 4 or less parameters to functions, they will be put in registers and save stack space!

  • Smaller data types are better
  • use <stding.h>
  • Use unit8_t not char, etc. More portable.
  • Some processors short == int. Don't assume bit size

Floating Point

IEEE754 standard

  • float 32 bits, 6 decimal places
  • double 64 bits, 15 decimal places
  • long double 80 bits, 19 decimal places

FPU - Floating point unit Does not take extra power Takes less procesisng power Make sure you need floats More memory needed when switching thread contents

Map File

Look at the *.map file at the end to see program memory usage ZI = Zero initialized data RW Data - read/write data

But mani

embedded.1586109277.txt.gz · Last modified: 2020/04/05 17:54 by jrseti