This folder contains an example integration of the Memfault SDK using the port
provided in ports/zephyr
The demo was tested using the ST NUCLEO-WBA55CG board.
We assume you already have a working Zephyr toolchain installed locally. Step-by-step instructions can be found in the Zephyr Documentation.
From a Zephyr-enabled shell environment (west
tool is available), initialize
the workspace:
west init -l memfault_demo_app
west update
west blobs fetch stm32
west build --board nucleo_wba55cg memfault_demo_app
[...]
[271/271] Linking C executable zephyr/zephyr.elf
The build can be flashed on the development board using west flash
( See
Zephyr
"Building, Flashing, & Debugging" documentation)
The default runner is STM32_Programmer_CLI
, which must be available on PATH
when running west flash
. STM32_Programmer_CLI
is installed
standalone or from
the STM32CubeIDE installation.