API and driver rewrite of DWE OS
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
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
- Clone the repository
git clone https://github.com/DeepwaterExploration/DWE_OS_2.git
cd DWE_OS_2
- Build the project
cd frontend
npm install
cd ..
sudo chmod -R 777 ./
./create_release.sh
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.