Code Monkey home page Code Monkey logo

f1c100s_rt-thread's Introduction

我增加的

1.增加了I2C驱动,并适配了GT911触摸驱动; 2.将LittleVgl升级到6.1.1,并增加了触摸功能; 3.增加了看门狗驱动,并在LittleVgl中喂狗

感谢www.whycan.cn的朋友,还有晕哥

后续会继续移植更多驱动,大家有问题请使用Isues,有时间我会回复的,同时也建议一起玩的伙伴们将问题同步到whycan.cn
从whycan上白嫖了很多资料,大家可以加QQ群:516836432 群里个个都是人材,说话又好听!
如果大家也觉得F1C100S+(RTT+LittleVgl)这种少林功夫加唱哥跳舞很好玩的,也可以加我的群686338051

大家参考此贴操作 https://whycan.cn/p_33590.html#p33590 因为GCC文件太大,从百度网盘下载 https://pan.baidu.com/s/1PnoqZMJzt5kzg0fjbeTdDg 提取码:pamp 解压到tools目录 ##关于本代码 本人不属于高手,只是将XBOOT老大中的驱动移了过来。半桶水,这里算是抛砖引玉。

环境


linux


windows

使用msys2请使用国内源,使用Mingw64进入

pacman -S git make scons gcc make pkg-config ncurses-devel mingw-w64-x86_64-libusb mingw-w64-x86_64-zlib

编译器


百度网盘下载

百度网盘链接

.tar.bz2 是64位linux使用的

.7z 是64位windows使用的

解压后放在tools目录下面


sunxi烧录工具


cd tools/sunxi-tools
make

Rt-Thread所用的BOOT代码


编译

cd f1c100s_spl
scons

清理

cd f1c100s_spl
scons -c

Rt-Thread


配置下载ENV工具

cd rt-thread
scons --menuconfig

注意使用此包中的LittleVgl与原始packages里的有冲突。需要删除
RTT的环境中的
env\packages\packages\system目录下的kconfig中的
source "$PKGS_DIR/packages/system/LittlevGL2RTT/Kconfig"

配置完成后刷新下载lvgl

cd rt-thread
soure ~/.env/env.sh
pkgs --update

编译

cd rt-thread
scons

清理

cd rt-thread
scons -c

测试

cd rt-thread
./script/[linux or windows]/dram_exec.sh

测试增加USB模式不下载,直接USB运行.方便调试使用 `./script/[linux or windows]/run.sh

烧录到SPI-FLASH

cd rt-thread
./script/[linux or windows]/write_spiflash.sh

清除SPI-FLASH的SPL

cd rt-thread
./script/[linux or windows]/erase_spiflash.sh

感谢xboot作者

感谢rt-thread作者

感谢www.whycan.cn

f1c100s_rt-thread's People

Contributors

staunchheart avatar

Watchers

 avatar

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.