Git Product home page Git Product logo

orthoverse-s3's Introduction

orthoverse-s3

Firmware and code for building an Orthoverse T-Display-S3 display device. Note that this repository also provides general information for anyone wanting to code in micropython for the Lilygo T-Display-S3 and then compile and flash functioning firmware to the device.

Almost all the information to do this was available on the Internet, but it was scattered all over the place, and a few key pieces were missing.

I aim to make my repositories as understandable as possible, so if you find yourself confused please open an issue explaining your problem and I'll try to resolve it.

Installing and running on Ubuntu 22.04

Ensure you have the latest packages and everything is up to date:

apt-get -y update
apt-get -y upgrade

Install the required packages

apt-get -y install build-essential libffi-dev git pkg-config cmake virtualenv python3-pip python3-virtualenv python3-libusb1

Then run ./setup.sh to clone and install all required repositories

Build firmware with ./build.sh

Setting up a docker firmware building image

Please note that I like my repositories to document the journey, rather than just the end result.

Configure a container from scratch

One approach is to start a Ubuntu docker container, and run the setup.sh script to configure it correctly, although this takes quite some time if you want to run the container again and again. It is, however, a useful tutorial.

  1. Install docker if you don't have it already. See the docker install guide

  2. Run the following command from this repository's main folder to start an interactive bash terminal, with the current folder mapped to /orthoverse-s3:

docker run -v "$(pwd)":/orthoverse-s3/ -it ubuntu:22.04 /bin/bash

  1. Change to the mapping of this repository:

cd /orthvoerse-s3/

  1. Run the setup script, which should clone and build all the required tools for you:

./setup.sh

Build an image for your build container using the Dockerfile

A better long-term solution is to build an image that is configured correctly to make board builds correctly.

docker build -f Dockerfile -t s3lcd-build --compress .

Once you have the build image, you can start it immediately using:

docker run -it s3lcd-build

To make a build, run c./build.sh

TODO: add instruction to map firmware folder and modules folder to local machine.

Flashing firmware.bin

The instructions for flashing the firmware.bin file to your device are here

orthoverse-s3's People

Contributors

moonborrow avatar kf106 avatar

Watchers

Richard Piacentini avatar  avatar

Forkers

ricp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.