Skip to content
LY10DEMO Zephyr-based firmware
C Makefile Dockerfile CMake Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Build against Zephyr v1.14.1 (#22) Oct 14, 2019
actions Update version of pltcloud cli (#23) Oct 16, 2019
app app_ble: Don't copy BLE address (#21) Oct 12, 2019
boards/arm/ly10demo Relicense under Apache 2.0 license (#20) Oct 7, 2019
test-suites LYJ-434 Upload release to PLTcloud (#16) Sep 3, 2019
.dockerignore Fix non-docker build (#27) Dec 26, 2019
.gitignore
.gitmodules Build using west (#3) Jun 7, 2019
.travis.yml
Dockerfile
GIT-VERSION-GEN Fix non-docker build (#27) Dec 26, 2019
LICENSE Relicense under Apache 2.0 license (#20) Oct 7, 2019
Makefile Fix non-docker build (#27) Dec 26, 2019
README.md
requirements.txt Build using west (#3) Jun 7, 2019

README.md

ly10-zephyr-fw

Zephyr-based firmware for LY10DEMO

  • Build platform: OS X, Linux
  • Host platform: LY10DEMO(nRF52)
  • Target platform: LY10DEMO(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:
    • GCC ARM Embedded toolchain 7 2018Q2, installed in /opt/gcc-arm-none-eabi-7-2018-q2-update/
    • brew install cmake ninja gperf ccache dfu-util qemu dtc python3

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="/opt/gcc-arm-none-eabi-7-2018-q2-update"
  • make prereq to install build pre-requisites
  • make dist to end up with build artifacts in dist/
You can’t perform that action at this time.