GithubHelp home page GithubHelp logo

nxp_sensor_sdk's Introduction

NXP Sensor SDK using Open-CMSIS-Pack

Proof of concept for NXP Sensor SDK using Open-CMSIS-Pack csolution - CMSIS Project Manager.

Demonstrates a scalable solution for sensor examples using multiple boards and shields.

Projects are using software layers with specified standard interfaces.

Examples have been taken from NXP ISSDK pack (slightly modified) and extended with CMSIS Project Manager YML files.

Repository top-level structure

Directory Description
examples ISSDK examples for various sensors
packs NXP Packs: ISSDK and various DFPs and BSPs

Details about the packs are described in packs/README.md.

ISSDK Sensor examples

IoT Sensing SDK (ISSDK) examples for various sensors are located in directory examples/issdk/sensors.

Projects are described with CMSIS Project Manager input files (YML format) and are using CMSIS software packs (Open-CMSIS-Pack format).

The projects consists of:

  • application with middleware
  • board software layer
  • shield software layer

Software Prerequisites

  • Visual Studio Code with Arm Keil Studio Pack extension
  • CMSIS-Toolbox (manged though vcpkg)
  • Arm Compiler for Embedded (managed through vcpkg)
  • CMSIS packs provided in this repository mapped as software packs (not published via the CMSIS-Pack index):

Packs are installed using cpackget add <pack_path>/<pack_vendor>.<pack_name>.pdsc

Configuring examples for specific target

Examples have already been configured for various targets with compatible board and shield layers.

Configuring a specific target:

  • Open <sensor_name>.csolution.yml
    • Add target under target-types:
      • Specify target name type: <target_name>
      • Specify board name board: <board_name> or device name device: <device_name>
  • Detect compatible board and shield layers by running
    cbuild setup <sensor_name>.csolution.yml --context-set --context <project>.<build_type>+<target_type>
  • Open <sensor_name>.cbuild-idx.yml and examine detected target-configurations and their Board-Layer and Shield-Layer variables.
  • Copy desired Board-Layer and Shield-Layer variables to <sensor_name>.csolution.yml under target-types: variables:.

Building the examples

  1. Go to directory examples/issdk/sensors/<sensor_name>

  2. Activate environment vcpkg-configuration.json

  3. Activate solution and Build the selected context(s) using Arm CMSIS Solution extension within Visual Studio Code

    Alternatively use the cbuild command line tool to create the executable for specified project, build and target type

    cbuild <sensor_name>.csolution.yml --packs --update-rte --context <project>.<build_type>+<target_type>
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.