Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.2 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.2 KB

zds2023

A sample application that demonstrates how to use Pigweed in a Zephyr project.

Assumptions & prerequisites

  • This application was developed on a Linux host. It should work on Windows and macOS, but this hasn't been personally verified.

Getting started

Initial, one-time setup

$ pip install west
$ west init -l manifest
$ west update
$ . pigweed/bootstrap.sh
$ pip install -r requirements.txt

Activating the development environment

After the initial one-time setup, run these steps to re-activate your development environment:

$ . pigweed/activate.sh

Samples

Troubleshooting (native_posix): fatal error: asm/errno.h: No such file or directory

  1. Check if /usr/include/asm-generic/ exists.
  2. If yes, try creating a symlink: sudo ln -s /usr/include/asm-generic/ /usr/include/asm

Setting up the web server

1. Install Node

  1. Install nvm (https://github.com/nvm-sh/nvm)
  2. Install nodejs: nvm install node)

2. Run the server

$ cd webconsole
$ npm install --force
$ npm run dev