### Supported Hardware Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/README.md A list of hardware development kits and boards supported by the nRF Connect SDK Fundamentals course. Compatibility may vary with SDK versions, with specific notes for newer hardware like the nRF54L15 DK. ```hardware nRF54L15 DK - On nRF Connect SDK v2.9.0 and above nRF5340 DK nRF52840 DK nRF52833 DK nRF52 DK nRF9151 DK nRF9161 DK nRF9160 DK nRF7002 DK Thingy:91 X Thingy:91 Thingy:53 ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e1_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr build system, and sets the project name. The main application source file is also defined. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e3_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr build system, and sets the project name. The main application source file is also defined. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### nRF Connect SDK Version Branches Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/README.md This section outlines the different branches available in the repository, each corresponding to a specific range of nRF Connect SDK versions. Developers should select the branch that matches their SDK version for compatibility. ```git main: For nRF Connect SDK version v3.0.0 v2.9.0-v2.7.0: For nRF Connect SDK versions v2.9.0 to v2.7.0 v2.6.2-v2.0.0: For nRF Connect SDK versions v2.6.2 to v2.0.0 v1.9.1-v1.6.0: For nRF Connect SDK versions v1.9.1 to v1.6.1 ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e2/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr build system, and sets the project name. The main application source file is also defined. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e1/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr build system, and sets the project name. The main application source file is also defined. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l2/l2_e1_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e3/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr build system, and sets the project name. The main application source file is also defined. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l6/l6_e1_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e1_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l2/l2_e1/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e3_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l5/l5_e1/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l6/l6_e2_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e2_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e1/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l6/l6_e1/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l2/l2_e2_sol/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l2/l2_e2/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e2/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l4/l4_e3/CMakeLists.txt Configures the CMake build system for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also defines the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Project Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l6/l6_e2/CMakeLists.txt Configures the CMake build for the nrf_connect_sdk_fundamentals project. It specifies the minimum required CMake version, finds the Zephyr package, sets the project name, and defines the target sources. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Build Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l3/l3_e1_sol/CMakeLists.txt Configures the CMake build system for the project, including minimum CMake version, Zephyr package, and target sources. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration for Zephyr Project Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l8/l8_e1_sol/CMakeLists.txt This snippet configures the CMake build system for a Zephyr-based project. It sets the minimum required CMake version, finds the Zephyr package, and defines the project name. It also specifies the main source file for the application. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration for Zephyr Project Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l8/l8_e2_sol/CMakeLists.txt This snippet configures the CMake build system for a Zephyr-based project. It sets the minimum required CMake version, finds the Zephyr package, and defines the project name. It also specifies the main source file for the application. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Build Configuration Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l5/l5_e1_sol/CMakeLists.txt Configures the CMake build for the Zephyr RTOS project. It specifies the minimum required CMake version, finds the Zephyr package, and sets the project name. It also targets the main application source file. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration for Zephyr Project Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l7/l7_e2_sol/CMakeLists.txt This snippet shows the basic CMake configuration for a Zephyr-based project. It sets the minimum CMake version, finds the Zephyr package, and defines the project name. It also specifies the main source file for the application. ```cmake cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration for Zephyr Project Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l8/l8_e1/CMakeLists.txt This snippet configures the CMake build system for a Zephyr-based project. It sets the minimum required CMake version, finds the Zephyr package, and defines the project name. It also specifies the main source file for the application. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration for Zephyr Project Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l8/l8_e2/CMakeLists.txt This snippet configures the CMake build system for a Zephyr-based project. It sets the minimum required CMake version, finds the Zephyr package, and defines the project name. It also specifies the main source file for the application. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) ``` -------------------------------- ### CMake Configuration and Source Inclusion Source: https://github.com/nordicdeveloperacademy/ncs-fund/blob/main/l3/l3_e2_sol/CMakeLists.txt This snippet shows the basic CMake configuration for a Zephyr project. It sets the minimum CMake version, finds the Zephyr package, defines the project name, and includes source files. The `target_sources_ifdef` command is used to conditionally include `src/myfunction.c` based on the `CONFIG_MYFUNCTION` Kconfig option. ```cmake cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(nrf_connect_sdk_fundamentals) target_sources(app PRIVATE src/main.c) # STEP 3 - Include the custom files in the build #target_sources(app PRIVATE src/myfunction.c) # STEP 7 - Make the addition of custiom files conditional target_sources_ifdef(CONFIG_MYFUNCTION app PRIVATE src/myfunction.c) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.