Skip to main content

Compile Firmware

Prefer a Pre-Built Firmware?

Navigate to Flash Device to install a pre-built firmware version.


Build Your Own Firmware

Step 1: Set Up nRF Connect

Follow the tutorial in this video:
How to Set Up nRF Connect


Step 2: Open the Firmware Application

  1. Open nRF Connect Extension inside VS Code.

  2. Click "Open an existing application" and navigate to the firmware folder in the root of this repository.

    install_firmware_screenshot_1

Step 3: Add a Build Configuration

  1. In the application panel of the extension, click the Add Build Configuration icon.

    Add Build Configuration
  2. Choose:

    • Board: xiao_ble_sense
    • Configuration: prj.conf
  3. Click "Build Configuration."

    Build Settings

Step 4: Locate the Compiled Firmware

Once the build succeeds, you will find the zephyr.uf2 file in the firmware/build/zephyr directory.


Step 5: Flash the Firmware

Follow the steps as described here using the generated file


Congratulations!

You have successfully compiled and installed the firmware on your OMI device.