Skip to content

Commit 6ce720d

Browse files
committed
fw_update: use different package names for each board
Update this reference design to work with Cohorts by assigning package names to each type of unique hardware. Signed-off-by: Mike Szczys <mike@golioth.io>
1 parent a58e181 commit 6ce720d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@ version number than what is currently running on the device.
189189
2. Upload the `build/app/zephyr/zephyr.signed.bin` file as a Package for
190190
your Golioth project.
191191

192-
- Use `main` as the package name.
192+
- Use either `nrf9160dk` or `aludel_elixir` as the package name,
193+
depending on which board the update file was built for. (These
194+
package names were configured in this repository's board `.conf`
195+
files.) Use `main` as the package name.
193196
- Use the same version number from step 1.
194197

195198
3. Create a Cohort and add your device to it.

boards/aludel_elixir_ns.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ CONFIG_ALUDEL_BATTERY_MONITOR=y
66

77
# Turn on regulator to power click headers
88
CONFIG_REGULATOR=y
9+
10+
# Use a unique package name to use with Packages/Cohorts/Deployments
11+
CONFIG_GOLIOTH_FW_UPDATE_PACKAGE_NAME="aludel_elixir"

boards/nrf9160dk_nrf9160_ns.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Use a unique package name to use with Packages/Cohorts/Deployments
2+
CONFIG_GOLIOTH_FW_UPDATE_PACKAGE_NAME="nrf9160dk"

0 commit comments

Comments
 (0)