bcdevices / ly10-zephyr-fw

Zephyr-based firmware for PLT Demo V2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

Links

About

Zephyr-based firmware for PLT Demo V2

License:Apache License 2.0


Languages

Language:C 73.9%Language:Makefile 19.3%Language:Shell 3.5%Language:CMake 1.7%Language:Dockerfile 1.5%