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