Skip to content

DeepwaterExploration/DWE_OS_2

Repository files navigation

DWE OS 2.0

API and driver rewrite of DWE OS

Installation

To install for any supported Linux system, run the following command:

curl -s https://raw.githubusercontent.com/DeepwaterExploration/DWE_OS_2/main/install.sh | sudo bash -s

Raspberry Pi Hardware PWM

In order to enable hardware PWM on your Raspberry Pi, you need to edit /boot/firmware/config.txt. See Raspberry Pi documentation for more information.

Add the following lines to the end of the file, and reboot.

[all]
dtoverlay=pwm-2chan

Building for development

  1. Clone the repository
git clone https://github.com/DeepwaterExploration/DWE_OS_2.git
cd DWE_OS_2
  1. Build the project
cd frontend
npm install
cd ..
sudo chmod -R 777 ./
./create_release.sh

Building the RPi Image

git clone https://github.com/DeepwaterExploration/pi-gen
cd pi-gen
sudo ./build.sh -c config

The image will be found in the deploy folder. The latest release from github will be used for building the image.