/ly10-zephyr-fw

LY10DEMO Zephyr-based firmware

Primary LanguageCApache License 2.0Apache-2.0

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

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/