Feat/gitpod (#35)

Added .gitpod, Dockerfile and badge to README
This commit is contained in:
Amir Gonnen 2021-08-11 12:19:21 +03:00 committed by GitHub
parent 54d3a0e72f
commit 87c878e06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 0 deletions

16
.gitpod Normal file
View File

@ -0,0 +1,16 @@
image:
file: .gitpod.Dockerfile
ports:
- port: 6080
protocol: "http"
onOpen: open-preview
tasks:
- init: |
make -j $(nproc) -C mpy-cross VARIANT=dev DEBUG=1
make -j $(nproc) -C ports/unix VARIANT=dev DEBUG=1
command: |
ports/unix/micropython-dev -i lib/lv_bindings/examples/advanced_demo.py
vscode:
extensions:
- ms-vscode.cpptools

6
.gitpod.Dockerfile vendored Normal file
View File

@ -0,0 +1,6 @@
FROM gitpod/workspace-full-vnc
# Install dependencies
RUN sudo apt-get update && \
sudo apt-get install -y libgtk-3-dev libsdl2-dev

View File

@ -4,6 +4,8 @@
[![Build lv_micropython stm32 port](https://github.com/lvgl/lv_micropython/actions/workflows/stm32_port.yml/badge.svg)](https://github.com/lvgl/lv_micropython/actions/workflows/stm32_port.yml)
[![esp32 port](https://github.com/lvgl/lv_micropython/actions/workflows/ports_esp32.yml/badge.svg)](https://github.com/lvgl/lv_micropython/actions/workflows/ports_esp32.yml)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvgl/lv_micropython)
**For information abound Micropython lvgl bindings please refrer to [lv_binding_micropython/README.md](https://github.com/lvgl/lv_binding_micropython/blob/master/README.md)**
See also [Micropython + LittlevGL](https://blog.lvgl.io/2019-02-20/micropython-bindings) blog post. (LittlevGL is LVGL's previous name.)