Embedded Systems Programming

Review of last lecture


Last class we compared an embedded system with a general purpose system.

In a typical embedded system, the apps or applications are directly interfacing with the hardware. The embedded software is optimized to work with the embedded hardware.

We looked at designing small systems using FSM M = five tuple  { S, i, T, Σ, δ }
Problem 1:Automatic vending machine money counter
Problem 2: Drone avionics
We discussed the code for function-driven (switch-statement based) solution.


We will look at the code for table-driven later. It offers a very elegant approach for scheduling RTEMs.