- Embedded Systems Architecture
- Daniele Lacamera
- 185字
- 2021-06-25 21:55:05
Source code organization
The code base should contain all the source code, third-party libraries, data, scripts, and automations needed to build the final image. It is a good idea to keep self-contained libraries in separate directories, so that they can be easily updated to newer versions by replacing the subdirectory itself. Makefiles and other scripts can be placed in the project's root directory. Application code should be short and synthetic, and access the modules abstracting the macro functionalities. Functional modules should describe a process while hiding the details of the underlying implementation, such as reading data from a sensor after it has been properly sampled and processed. Aiming for small, self-contained, and adequately abstracted modules also makes the components of the architecture easier to test. Keeping the majority of the logic for the application components separated from their hardware-specific implementation improves portability across different platforms, and allows us to change the peripherals and the interfaces used on the target even during the development phase. Abstracting too much, though, impacts costs, in terms of development effort and resources needed, so the right balance should be researched.
- Linux運(yùn)維之道(第3版)
- Mastering ElasticSearch
- Windows Server 2019 Cookbook
- 高性能Linux服務(wù)器構(gòu)建實(shí)戰(zhàn):運(yùn)維監(jiān)控、性能調(diào)優(yōu)與集群應(yīng)用
- 嵌入式應(yīng)用程序設(shè)計(jì)綜合教程(微課版)
- Linux操作系統(tǒng)應(yīng)用編程
- Learning Magento 2 Administration
- Delphi Programming Projects
- Red Hat Enterprise Linux 6.4網(wǎng)絡(luò)操作系統(tǒng)詳解
- Advanced Infrastructure Penetration Testing
- iOS 10 開(kāi)發(fā)指南
- μC/OS-III內(nèi)核實(shí)現(xiàn)與應(yīng)用開(kāi)發(fā)實(shí)戰(zhàn)指南:基于STM32
- OpenVZ Essentials
- 嵌入式微系統(tǒng)
- VMware Horizon Mirage Essentials