代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/docs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
After the minimum system is ported, you can port the board-level system by:
Figure 1 Process for board-level driver adaptation
For details about board-level system building adaptation, see Compilation and Building Subsystem. The board-related drivers, software development software kits (SDKs), directories, and HAL implementation are stored in the device directory. The directory structure and its description are as follows:
.
├── device --- Sample board
│ └── xxx --- <Vendor name of the board>
│ └── xxx --- <Board name>. This directory contains the demo of the LiteOS Cortex-M kernel, which can run properly.
│ ├── BUILD.gn --- Building configuration file of the board
│ ├── board --- Specific implementation of the board (Optional. If a product-level demo is provided, implementation at the application layer is stored in this directory.)
│ ├── liteos_m --- LiteOS Cortex-M kernel to use based on the kernel_type in the BUILD.gn file
│ │ └── config.gni --- Building options
│ ├── libraries --- Board-level SDK
│ │ └── include --- SDK-provided header files that are exposed externally
│ │ └── ... --- binary or source files
│ ├── main.c --- main function entry (Product level configuration is used if the same definition exists at the product level.)
│ ├── target_config.h --- Board-level kernel configuration
│ ├── project --- Board-level project configuration file (Product-level configuration is used if the same definition exists at the product level.)
│ └── adapter --- HAL interfaces (Optional)
│ └── hals
│ ├── communication
│ │ └── wifi_lite
│ │ ├── ...
│ └── iot_hardware
│ ├── upgrade
│ ├── utils
│ └── wifiiot_lite
├── vendor --- End-to-end feature product sample of OpenHarmony
│ └── huawei --- Vendor name
│ └── wifiiot --- Feature product
│ ├── app
│ │ └── main.c --- main function entry of the product
│ ├── project --- Project configuration file
│ ├── BUILD.gn --- Project building entry
│ └── config.json --- Building configuration file of the product and components used for product configuration
└── out --- Output directory during the building
├── ... --- .bin files generated during board/product building
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。