-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update app from upstream (#61)
### Summary Update from upstream, which notably brings in NCS 2.7 w/ hardware model v2 changes. Used: ``` diff -duwr memfault-asset-tracker/ nrf/applications/asset_tracker_v2/ | patch -p0 ``` Resolved a few rejected patch changes, and reverted some changes that removed features we've added. Checked with `diff -r memfault-asset-tracker nrf/applications/asset_tracker_v2` for any lingering differences. Additionally, update CI builds to use hardware v2 board naming, and point to the new payload paths. Due to sysbuild, they are now at `build/memfault-asset-tracker/zephyr` and the OTA payload has been renamed to `zephyr.signed.bin`. ### Test Plan - Flashed thingy91, uploaded data - CI - Manually triggered an OTA deployment. Results [here](https://github.com/memfault/memfault-asset-tracker/actions/runs/10855508979). --- Part of: MCU-488
- Loading branch information
Showing
104 changed files
with
1,110 additions
and
7,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# Copyright (c) 2023 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
choice BOOTLOADER | ||
default BOOTLOADER_MCUBOOT if !BOARD_NATIVE_SIM | ||
endchoice | ||
|
||
config SECURE_BOOT_APPCORE | ||
default y if BOARD_NRF9160DK_NRF9160_NS \ | ||
|| BOARD_NRF9151DK_NRF9151_NS \ | ||
|| BOARD_NRF9161DK_NRF9161_NS | ||
|
||
config WIFI_NRF700X | ||
default y if BOARD_THINGY91X_NRF9151_NS | ||
|
||
config PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY | ||
default y if BOARD_NRF9151DK_NRF9151_NS || BOARD_NRF9161DK_NRF9161_NS | ||
default y if BOARD_NRF9160DK_NRF9160_NS \ | ||
&& "${BOARD_REVISION}" != "0.1.0" \ | ||
&& "${BOARD_REVISION}" != "0.7.0" \ | ||
&& "${BOARD_REVISION}" != "0.7.1" \ | ||
&& "${BOARD_REVISION}" != "0.8.0" \ | ||
&& "${BOARD_REVISION}" != "0.8.2" \ | ||
&& "${BOARD_REVISION}" != "0.8.3" \ | ||
&& "${BOARD_REVISION}" != "0.8.5" \ | ||
&& "${BOARD_REVISION}" != "0.9.0" | ||
|
||
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# This file is merged with prj.conf in the application folder, and options | ||
# set here will take precedence if they are present in both files. | ||
|
||
# CAF - Common Application Framework | ||
CONFIG_GPIO=y | ||
CONFIG_LED_GPIO=y | ||
|
||
# Enable external flash | ||
CONFIG_SPI=y | ||
CONFIG_SPI_NOR=y | ||
CONFIG_SPI_NOR_SFDP_DEVICETREE=y | ||
CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
/delete-node/ leds; | ||
|
||
leds0 { | ||
compatible = "gpio-leds"; | ||
status = "okay"; | ||
label = "LED0"; | ||
led0: led_0 { | ||
status = "okay"; | ||
gpios = <&gpio0 0 0>; | ||
label = "Green LED 1"; | ||
}; | ||
}; | ||
|
||
leds1 { | ||
compatible = "gpio-leds"; | ||
status = "okay"; | ||
label = "LED1"; | ||
led1: led_1 { | ||
gpios = <&gpio0 1 0>; | ||
label = "Green LED 2"; | ||
}; | ||
}; | ||
|
||
leds2 { | ||
compatible = "gpio-leds"; | ||
status = "okay"; | ||
label = "LED2"; | ||
led2: led_2 { | ||
gpios = <&gpio0 4 0>; | ||
label = "Green LED 3"; | ||
}; | ||
}; | ||
|
||
leds3 { | ||
compatible = "gpio-leds"; | ||
status = "okay"; | ||
label = "LED3"; | ||
led3: led_3 { | ||
gpios = <&gpio0 5 0>; | ||
label = "Green LED 4"; | ||
}; | ||
}; | ||
|
||
/* Configure partition manager to use gd25wb256 as the external flash */ | ||
chosen { | ||
nordic,pm-ext-flash = &gd25wb256; | ||
}; | ||
|
||
aliases { | ||
ext-flash = &gd25wb256; | ||
}; | ||
}; | ||
|
||
&gd25wb256 { | ||
status = "okay"; | ||
}; |
Oops, something went wrong.