Compile firmware
Important: If you purchased an assembled device please skip this step
If you purchased an unassembled Omi device or built it yourself using our hardware guide, follow the steps below to flash the firmware:
Want to install a pre-built firmware? Navigate here
Build your own firmware:
-
Set up nRF Connect by following the tutorial in this video: https://youtu.be/EAJdOqsL9m8
-
In the nRF Connect Extension inside your VS Code, click "Open an existing application" and open the
firmware
folder from the root of this repo. -
In the application panel of the extension, click the "Add Build Configuration" icon.
-
Choose the board as "xiao_ble_sense" and select the configuration as "prj.conf". Then, click "Build Configuration".
-
Once the build succeeds, you will find the
zephyr.uf2
file in thefirmware/build/zephyr
directory. -
Double-click on the reset button of the device(see on image below) . The device will appear on your computer as a disk. Drag and drop the
zephyr.uf2
file into it.Note: On a Mac, you might see an error message after dropping the file, indicating that the process did not complete. This is just a Mac-specific error; the firmware is successfully uploaded.
If you have an assembled device, you can put a stick pin/needle into this whole and double-click 2 times
That is it! You have successfully installed the firmware on your device. Here you can find the schematics of our latest mass-produced device version