Binary descriptors “Hello World”


A simple sample of binary descriptor definition and usage.

Building and Running

Follow these steps to build the hello_bindesc sample application:

west build -b <board to use> samples/subsys/bindesc/hello_bindesc

To dump all binary descriptors in the image, run:

west bindesc dump build/zephyr/zephyr.bin

(Note: you can also dump the contents of zephyr.elf, if your build system does not produce a *.bin file, e.g. compiling for native_sim.)

For more details see Binary Descriptors and Working with binary descriptors: west bindesc.