Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Drag & Drop Files, Choose Files to Upload 您最多可以上传 2 个文件。
  • 简体中文
    Eng
    简体中文
  • 第 3 课 – nRF Connect SDK 应用程序的构成要素

    概述

    在 nRF Connect SDK 中,一个应用程序包含许多不同的要素,构建系统以某种方式利用这些要素来创建最终的可运行文件。在创建您自己的应用程序时,了解这些要素、它们存在的必要性以及它们之间如何相互作用至关重要。在本课程中,我们将探索其中的每一个要素,以了解它们彼此之间的运作关系。在练习部分,我们将从头开始创建一个最小化的工作应用程序,并添加我们自己的自定义文件和配置来定制该程序。

    app/
    |-- CMakeLists.txt
    |-- Kconfig
    |-- prj.conf
    |-- <board_name>.overlay
    |-- src/
        |-- main.c
    File structure

    目标

    • 了解如何使用 Kconfig 配置文件来启用和配置 nRF Connect SDK 中提供的不同软件模块
    • 检查应用程序配置文件和板级配置文件,并理解它们之间的关系
    • 学习如何使用 nRF Kconfig GUI 探索特定软件模块的可用配置选项
    • 了解多镜像构建,以及如何将子镜像添加到您的应用程序中
    • 通过动手练习实践如何从头开始创建应用程序,以及如何使用 Kconfig 添加模块并修改设备树 (devicetree)

    Switch language?

    Progress is tracked separately for each language. Switching will continue from your progress in that language or start fresh if you haven't begun.

    Your current progress is saved, and you can switch back anytime.

    Register an account
    Already have an account? Log in
    (All fields are required unless specified optional)

    • 8 or more characters
    • Upper and lower case letters
    • At least one number or special character

    Forgot your password?
    Enter the email associated with your account, and we will send you a link to reset your password.