- 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.
- pcDuino開發(fā)實(shí)戰(zhàn)
- 30天自制操作系統(tǒng)
- Linux設(shè)備驅(qū)動(dòng)開發(fā)詳解(第2版)
- Getting Started with oVirt 3.3
- Instant Optimizing Embedded Systems using Busybox
- 數(shù)據(jù)中心系統(tǒng)工程及應(yīng)用
- 嵌入式Linux應(yīng)用開發(fā)菜鳥進(jìn)階
- 嵌入式實(shí)時(shí)操作系統(tǒng):RT-Thread設(shè)計(jì)與實(shí)現(xiàn)
- 云原生落地:產(chǎn)品、架構(gòu)與商業(yè)模式
- Distributed Computing with Go
- CentOS 6 Linux Server Cookbook
- Linux軟件管理平臺(tái)設(shè)計(jì)與實(shí)現(xiàn)
- Hadoop Real-World Solutions Cookbook
- Linux集群之美
- Java EE 7 Developer Handbook