当前位置:网站首页>【LVGL(2)】LVGL入门,在CodeBlock上进行模拟以及移植STM32
【LVGL(2)】LVGL入门,在CodeBlock上进行模拟以及移植STM32
2022-07-24 05:24:00 【喜暖知寒】
属于是摸着石头过河了
韦东山LVGL教程B站视频:韦东山教学视频
正点原子LVGL教学视频:正点原子LVGL
Codeblock模拟LVGL
采用了韦东山提供的模板来运行!!
Codeblock下载地址
Code::Blocks - Code::Blocks
https://www.codeblocks.org/选择下载

选择Download the binary release

还是windows方便对吧?
![]()
选择FossHUB

下滑选择第一个,这个包含了编译器,选择其他下载可能出现编译不成功!!

安装就是无脑全选然后下一步就行
打开韦东山提供的项目模板!
下载地址:lvgl_100ask_course_materials: 百问网(韦东山)LVGL课程配套资料https://100ask.net http://lvgl.100ask.net
https://gitee.com/weidongshan/lvgl_100ask_course_materials02_程序源码\02_项目模板\00_lv_100ask_sim_codeblocks_win\lvgl.cbp
安装完成后打开代码编译会出现错误

错误:

这不要慌,因为刚才已经下载过了带编译器的安装包了,只需要简单配置

依次选择 Toolchain executables、Auto-detect、OK 完成设置即可!

再次编译会正常
运行结果:

NICE!!不管怎么说跑起来了不是??
STM32工程文件创建
因为正点原子提供的教程LVGL还叫littleVGL,版本较老了,新的库有些不适用。等我摸清了再次更新吧!
说实话这一部分没看懂,日后更新吧!!
边栏推荐
猜你喜欢

【LVGL(重要)】样式属性API函数及其参数

【波形/信号发生器】基于 STC1524K32S4 for C on Keil

LM393 电压比较器及其典型电路介绍

【ESP8266点焊机】基于 ESP8266 for Arduino

ESP32超详细学习记录:NTP同步时间

Process and planned task management

United Nations agricultural products data analysis

Leetcode does not add, subtract, multiply, divide, and calculate the number of 1 in binary

Iterators and generators

Ia class summary (2)
随机推荐
Data set and pre training model
API process and code structure
Interview questions for Test Manager / test team leader / Test Supervisor
Write blog at leisure ~ briefly talk about let, VaR and Const
【LVGL布局】网格布局
Batch implementation of key based authentication using sshpass
Quick start of go language
API流程和代码结构
Custom MVC 1.0
Leetcode sword finger offer jz25 merges two sorted linked lists
[301] grotesque behavior - predictable irrationality
Solutions to the failure of wechat TBS online kernel installation
Why can't index be the key of V-for?
Multiple types of functions
Pycharm set code template
JSP tag 02
[226] instructions for Wireshark parameters
CentOS操作系统安全加固
Summary of common working methods (7S, SWOT analysis, PDCA cycle, smart principle, 6w2h, time management, WBS, 28 principles)
Rsync (I): basic commands and usage