Use the edge-ai/applications/gesture_recognition application as the firmware reference project.
Complete the following sections from the Gesture Recognition documentation:
In your prj.conf file, enable data collection mode before building:
CONFIG_DATA_COLLECTION_MODE=y
CONFIG_BLE_MODE_NONE=y
After the firmware is flashed, your development kit is ready for serial data collection.