Examples
Every example here is a real NSX app: an nsx.yml, a CMakeLists.txt and source, built by
the same commands as an app you generate. They are the fastest way to see how a capability
is wired before you wire it yourself.
From a source checkout you can build any of them by name, because the positional app
argument resolves under ./examples:
nsx build hello_world --board apollo510_evbSeveral declare more than one target, so --board picks which one you are building. See
Boards and targets.
What each one covers
Section titled “What each one covers”| Example | Tier | Status | Capabilities | Boards tested |
|---|---|---|---|---|
| FreeRTOS Blinky | Basics | tested |
freertos, rtos |
apollo510_evb |
| Hello World | Basics | tested |
swo, printf |
apollo510_evb |
| USB Serial | Basics | tested |
usb, cdc-acm |
apollo510_evb |
| Audio Capture | Capabilities | tested |
audio, pdm |
apollo510_evb |
| CoreMark | Capabilities | builds |
benchmark, rtt, itcm |
none declared |
| PMU Profiling | Capabilities | tested |
pmu, profiling |
apollo510_evb |
| Power Benchmark | Capabilities | builds |
power, gpio, timer |
none declared |
| BLE Webble | Integrations | experimental |
ble, cordio, freertos |
apollo3p_evb, apollo4p_blue_kxr_evb, apollo510b_evb |
| KWS Inference | Integrations | tested |
ml, tflite, cmsis-nn, helia-rt |
apollo510_evb |
| USB RPC | Integrations | tested |
usb, rpc, nanopb |
apollo510_evb |
Every column in that table comes from the example’s own front matter. Tier is the
reading order: Basics first, then Capabilities one at a time, then
Integrations that compose several. Status and Boards tested are the author’s
declaration of what they ran and where, not a test record this site holds, so treat a
“none declared” boards column as “not stated” rather than as “does not work”.
Where to start
Section titled “Where to start”- New to NSX: Hello World, then FreeRTOS Blinky.
- Measuring something: PMU Profiling, Power Benchmark and CoreMark.
- Running a model: KWS Inference.
- Talking to a host: USB Serial, USB RPC and BLE Webble.
- Reading a sensor: Audio Capture.
The sources are in
examples/ in the
repository, and each page below carries that example’s README.