Skip to content

Firmware for devices connecting to nRF Cloud for the out-of-box experience

License

Notifications You must be signed in to change notification settings

hello-nrfcloud/firmware

Repository files navigation

Thingy:91 X Out-of-Box Experience Application

Oncommit:

Build Target tests Quality Gate Status

Nightly:

Target_tests

This project is based on the NCS Example Application.

Getting started

Before getting started, make sure you have a proper nRF Connect SDK development environment. Follow the official Getting started guide.

Initialization

The first step is to initialize the workspace folder (thingy91x-oob) where the firmware project and all nRF Connect SDK modules will be cloned. Run the following command:

# initialize thingy91x-oob workspace
west init -m https://github.com/hello-nrfcloud/firmware --mr main thingy91x-oob

cd thingy91x-oob

# enable Bosch environmental sensor driver
west config manifest.group-filter +bsec

# update nRF Connect SDK modules
west update

# use sysbuild by default
west config build.sysbuild True

Building and running

To build the application, run the following command:

west build -b thingy91x/nrf9151/ns app

When using the serial bootloader, you can update using this command:

west thingy91x-dfu

When using an external debugger, you can flash using this command:

west flash --erase

LED pattern

LED effect Color Meaning Duration (seconds)
Blinking Yellow Device is (re-)connecting to the LTE network NA
Blinking slow Blue Device is actively polling cloud 10 minutes after last config update or button press
Solid Configured Device has received a LED configuration NA
Blinking rapid Red Fatal error, the device will reboot NA
Blinking slow Red Irrecoverable Fatal error NA