embedded
This is an old revision of the document!
Table of Contents
Embedded Overview
Overview of embedded system development.
Key Parameters
- Memory
- Storage
- Power
- 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