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.
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.
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:
Packs are installed using
cpackget add <pack_path>/<pack_vendor>.<pack_name>.pdsc
Examples have already been configured for various targets with compatible board and shield layers.
Configuring a specific target:
<sensor_name>.csolution.yml
target-types:
type: <target_name>
board: <board_name>
or device name device: <device_name>
cbuild setup <sensor_name>.csolution.yml --context-set --context <project>.<build_type>+<target_type>
<sensor_name>.cbuild-idx.yml
and examine detected target-configurations
and their Board-Layer
and Shield-Layer
variables.Board-Layer
and Shield-Layer
variables to <sensor_name>.csolution.yml
under target-types: variables:
.Go to directory examples/issdk/sensors/<sensor_name>
Activate environment vcpkg-configuration.json
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>