1. Designing Software Architecture for Modular Embedded Software Development
- 1. Introduction - Three-Layer Architecture
- 2. Driver Layer - Hardware Abstraction
- 3. Component Layer - Reusable Software Units
- 4. Defining General OOP Development Rules
- 5. Rule 1 - Use a Single Constructor
- 6. Rule 2 - Delete Copy and Move Operations
- 7. Rule 3 - Use Namespaces to Group Related Classes
- 8. Rule 4 - Avoid dynamic memory when creating polymorphic collections
- 9. Using the State Pattern to Achieve Polymorphic Behavior Between Objects
- 10. Application Layer
- 11. Sharing System Objects Across Project Files
- 12. Encapsulating Nested Objects Within the Singleton Wrapper
- 13. Preventing ISRs from Accessing Uninitialized Objects
- 14. Blocking delays during Components Initialization
- 15. Deploying Components and Drivers
- 16. Monitoring System Objects During Debugging
- 17. Don't apply rules blindly