An open API service indexing awesome lists of open source software.

https://github.com/bcdevices/ly10-zephyr-fw

Zephyr-based firmware for PLT Demo V2
https://github.com/bcdevices/ly10-zephyr-fw

firmware nrf52 plt zephyr

Last synced: 9 months ago
JSON representation

Zephyr-based firmware for PLT Demo V2

Awesome Lists containing this project

README

          

# ly10-zephyr-fw

Zephyr-based firmware PLT Demo (v2)

- Build platform: macOS, Linux
- Host platform: PLT Demo (v2) (nRF52)
- Target platform: PLT Demo (v2) (nRF52)

## Docker build

### Prerequisites

- Linux hosts or Apple Mac computer running macOS
- Docker

### Docker build instructions

From terminal, execute

```
make docker
```

to end up with build artifacts in `dist/`

## Local build

### Prerequisites

- Linux hosts or Apple Mac computer running macOS
- Linux:
- Zephyr SDK
- device-tree-compiler
- cmake
- ninja
- dfu-util
- macOS:
- Install GNU Arm Embedded Toolchain, Version 10-2020-q4-update :
Install the Mac OS X 64-bit Package (Signed and notarized),
`gcc-arm-none-eabi-10-2020-q4-update-mac.pkg`, from
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
This will install the toolchain in `/Applications/ARM`
- `brew install cmake ninja gperf python3 ccache qemu dtc`

### Local build instructions

- Linux:
- `export ZEPHYR_TOOLCHAIN_VARIANT="zephyr"`
- `export ZEPHYR_SDK_INSTALL_DIR="/opt/zephyr-sdk"`
- macOS:
- `export ZEPHYR_TOOLCHAIN_VARIANT="gnuarmemb"`
- `export GNUARMEMB_TOOLCHAIN_PATH="/Applications/ARM"`
- `make prereq` to install build pre-requisites
- `make dist` to end up with build artifacts in `dist/`

## Links

- PLT Demo Board Product page:

[PLT Demo Board – Blue Clover Devices](https://bcdevices.com/products/plt-demo-board)

- PLT Demo Board Reference documentation:

[PLT Demo Board (v2) — PLT Documentation](https://docs.pltcloud.com/acc/pltdemov2/)

- Design files for the PLT Demo board:

[plt-docs/PLT-DEMOv2 · bcdevices/plt-docs](https://github.com/bcdevices/plt-docs/tree/main/PLT-DEMOv2)

- Zephyr Project documentation:

[Blue Clover PLT Demo V2 nRF52832 — Zephyr Project Documentation](https://docs.zephyrproject.org/latest/boards/arm/blueclover_plt_demo_v2_nrf52832/doc/index.html)

- Cloud-based simulator for the PLT Demo (v2) board:

[Renodepedia - blueclover\_plt\_demo\_v2\_nrf52832](https://zephyr-dashboard.renode.io/renodepedia/boards/blueclover_plt_demo_v2_nrf52832/)