Skip to content

Commit 0f98e6f

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 <[email protected]>
1 parent ffc4176 commit 0f98e6f

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
@@ -165,7 +165,10 @@ version number than what is currently running on the device.
165165
2. Upload the `build/app/zephyr/zephyr.signed.bin` file as a Package for
166166
your Golioth project.
167167

168-
- Use `main` as the package name.
168+
- Use either `nrf9160dk` or `aludel_elixir` as the package name,
169+
depending on which board the update file was built for. (These
170+
package names were configured in this repository's board `.conf`
171+
files.) Use `main` as the package name.
169172
- Use the same version number from step 1.
170173

171174
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)