Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bcdevices/pltdemo-dtm

Low-Level BLE Test with PLT
https://github.com/bcdevices/pltdemo-dtm

ble bluetooth-low-energy test-automation testing-tools

Last synced: 5 days ago
JSON representation

Low-Level BLE Test with PLT

Awesome Lists containing this project

README

        

# pltdemo-dtm

GitHub repo demonstrating
[Low-level BLE Tests](https://docs.pltcloud.com/TestPlanReference/command/ble_test/)
with Blue Clover's [Production Line Tool](https://bcdevices.com/plt/)

- [Production Line Tool](https://bcdevices.com/plt/)
Low-level BLE Test plan
([.yaml](prebuilt/ict-dtm-pltdemov2-1.0.0.yaml))
- [PLT Demo V2 (nRF52)](https://docs.pltcloud.com/acc/pltdemov2/)
[Zephyr Shell](https://docs.zephyrproject.org/latest/services/shell/index.html)
firmware image
([.hex](prebuilt/shell-pltdemov2-1.0.0.hex))
- [PLT Demo V2 (nRF52)](https://docs.pltcloud.com/acc/pltdemov2/)
[Zephyr Bluetooth Tester](https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/bluetooth/tester)
firmware image ([.hex](prebuilt/tester-pltdemov2-1.0.0.hex))

## 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/`