GithubHelp home page GithubHelp logo

wireless-tag-com / 8ms-sstar Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 15.0 33.16 MB

8ms sigmastar SSD201/SSD202

License: GNU General Public License v3.0

Makefile 0.21% C 93.98% C++ 4.86% Python 0.89% Shell 0.01% CMake 0.04%

8ms-sstar's Introduction

8ms-sstar

http://hmi.8ms.xyz

安装依赖

已验证系统为:ubuntu 16.04.7 64位系统

sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache \
		gettext libssl-dev xsltproc libxml-parser-perl \
		gengetopt default-jre-headless ocaml-nox sharutils textinfo
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install zlib1g:i386 libstdc++6:i386 libc6:i386 libc6-dev-i386

安装toolchian

  1. 下载toolchain 链接:https://pan.baidu.com/s/1SUk1a-drbWo1tkHQzCgchg 提取码:1o3d

  2. 解压缩toolchain

sudo tar wt-gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tag.gz -xvf -C /opt/
  1. 设置环境变量,修改 ~/.profile文件, 将下面这行添加到文件末尾
PATH="/opt/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf/bin:$PATH"

手动生效环境变量

source ~/.profile

测试交叉工具链

arm-linux-gnueabihf-gcc --version

刷系统

如果系统为原始linux系统,请先通过如下方法将系统刷机成openwrt系统

上电按住Enter按键,进入uboot,执行如下命令(SSD202_openwrt.bin位于images目录下,请自行拷贝到tftp32服务器目录下,设置电脑IP为192.168.1.88)

setenv ipaddr 192.168.1.11
setenv serverip 192.168.1.88
tftp 0x21000000 SSD202_openwrt.bin
nand erase.chip
nand write.e 0x21000000 0x00 ${filesize}
reset

编译

make

库文件位于lib/liblvgl.so 可执行文件位于bin/demo

测试

将demo通过网口上传到板子(tftp或者scp),增加可执行权限,并运行。例如

cd /tmp
tftp -g 192.168.1.111 -r demo
chmod +x demo
./demo

如果板子没有liblvgl.so,可先手动上传。

cd /usr/lib/
tftp -g 192.168.1.111 -r liblvgl.so

8ms-sstar's People

Contributors

alan-wt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

8ms-sstar's Issues

lvgl

In the lv_8ms_start() function, what functions are called?

Read Gauge and Get Drop down "content" not connecting to set elements

Environment

I am using

  • The online editor at 8ms.xyz
  • IDO-SBC2D70 demoboard

Problem description

The "read gauge" and "get drop down" do not connect to the "set label " element content (see picture below).
The set element content works with "read label".

Expected behavior

The set label element connect flawlessly to both read gauge and get drop down.

Actual behavior

It only connect to read label.

Blockly setup

blockly

With read label the connection can be made, but not with the other two.

Codan Error 8msstar

Dear all,
when I build the project 8msstar, there are a codan error, like this:

  • not recognized the NULL symbol(could not be resolved);
  • SIGTERM----->(could not be resolved);
  • SIG_IGN---->(could not be resolved);
  • SIGPIPE------>(could not be resolved);

How can I resolve?

thanks in advance
Francesco Pugliese

Gauge element is not rendered properly

Environment

I am using

  • The online editor at 8ms.xyz
  • IDO-SBC2D70 demoboard

Problem description

The gauge is rendered with a strange shape on both online preview and on the demo board display.

Expected behavior

Same image on the online editor, the online preview and the demo board display (pictures below)

Actual behavior

The online editor image is different from the online preview and the board display image. The online preview image is the same as the demo board display image.

Editor image

on_designLayout

Online preview image

on_preview

Image on the demo board display

tft

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.