From cf9f969d3f769578f5f2b5b7bb2513e36e7601cb Mon Sep 17 00:00:00 2001 From: Kai Geissdoerfer Date: Mon, 17 Feb 2025 09:27:21 +0100 Subject: [PATCH 1/2] firmware: switch from nrf-connect to vanilla zephyr --- ZephyrFirmware/app/west.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ZephyrFirmware/app/west.yml b/ZephyrFirmware/app/west.yml index 860ca1f..4708254 100644 --- a/ZephyrFirmware/app/west.yml +++ b/ZephyrFirmware/app/west.yml @@ -1,14 +1,10 @@ manifest: - self: - west-commands: scripts/west-commands.yml - remotes: - - name: ncs - url-base: https://github.com/nrfconnect + - name: zephyrproject-rtos + url-base: https://github.com/zephyrproject-rtos projects: - - name: nrf - remote: ncs - repo-path: sdk-nrf - revision: v2.9.0 + - name: zephyr + remote: zephyrproject-rtos + revision: main import: true From 8d36a8b82970aa9d44f84ea079952afcd6aa4df7 Mon Sep 17 00:00:00 2001 From: Kai Geissdoerfer Date: Fri, 20 Jun 2025 13:06:21 +0200 Subject: [PATCH 2/2] zephyr app: improve readme --- ZephyrFirmware/README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ZephyrFirmware/README.md b/ZephyrFirmware/README.md index e03a1b3..04ad690 100644 --- a/ZephyrFirmware/README.md +++ b/ZephyrFirmware/README.md @@ -1,4 +1,4 @@ -# Find My Device ESP32 Firmware +# Find My Device Zephyr Firmware This code enables you to use a Zephyr-supported BLE device as a custom Google Find My Device tracker. It should support any board/chip with a BLE radio that is supported in Zephyr, for example: @@ -13,6 +13,13 @@ It should support any board/chip with a BLE radio that is supported in Zephyr, f ## Installation +Clone the repository and change to the ZephyrFirmware directory: + +``` +git clone git@github.com:leonboe1/GoogleFindMyTools.git +cd ZephyrFirmware +``` + Follow the [official instructions](https://docs.zephyrproject.org/latest/develop/getting_started/index.html#install-dependencies) to install Zephyr's dependencies. Create a virtual environment in this directory and install `west`: @@ -53,6 +60,14 @@ To build with UART logging: west build -p -b nrf52840dk/nrf52840 app -- -DEXTRA_CONF_FILE=logging.conf ``` +## Flashing + +Use west to flash the resulting binary + +``` +west flash +``` + ## Known Issues See [the README](../ESP32Firmware/README.md) for ESP32-based trackers (also applies here).