Skip to content

Latest commit

 

History

History
88 lines (68 loc) · 2.61 KB

File metadata and controls

88 lines (68 loc) · 2.61 KB
title Compile Firmware
icon microchip
description Build and flash custom firmware for your Omi device using nRF Connect.

Overview

Build firmware from source to customize your Omi device. If you just want to install the latest release, use the Flash Device page instead.

`omi/firmware/omi` — SDK v2.9.0 `omi/firmware/devkit` — SDK v2.7.0

Build Steps

Install the [nRF Connect for VS Code](https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-VS-Code) extension.
<Accordion title="Setup video tutorial" icon="video">
  Follow this walkthrough: [How to Set Up nRF Connect](https://youtu.be/EAJdOqsL9m8)
</Accordion>
In the nRF Connect extension, install the correct SDK + toolchain version:
| Firmware | SDK Version | Folder |
|----------|-------------|--------|
| Consumer (Omi) | **2.9.0** | `omi/firmware/omi` |
| DevKit | **2.7.0** | `omi/firmware/devkit` |

<Warning>
Using the wrong SDK version will cause build failures. Double-check the version before proceeding.
</Warning>
1. Open the **nRF Connect Extension** panel in VS Code 2. Click **Open an existing application** 3. Navigate to `omi/firmware/omi` (consumer) or `omi/firmware/devkit` (DevKit) 1. In the application panel, click **Add Build Configuration** 2. Set the board target:
```
xiao_ble/nrf52840/sense
```

3. Click **Build Configuration** to start the build
4. A VS Code notification will show build progress
After a successful build, find `zephyr.uf2` in:
```
omi/firmware/<omi|devkit>/build/<your-preset>/zephyr/zephyr.uf2
```
Follow the [Flash Device](/doc/get_started/Flash_device) guide to install the compiled firmware on your device.

Related

Install pre-built or custom firmware Omi consumer hardware specs