yperess / zds2023

3 stars 1 forks source link

zds2023

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

Assumptions & prerequisites

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