{"id":1453,"date":"2024-11-14T16:25:27","date_gmt":"2024-11-14T08:25:27","guid":{"rendered":"https:\/\/aoofoo.com\/?p=1453"},"modified":"2024-11-14T16:25:41","modified_gmt":"2024-11-14T08:25:41","slug":"4-2-lvgl%e7%a7%bb%e6%a4%8d%e8%a3%b8%e6%9c%ba","status":"publish","type":"post","link":"https:\/\/aoofoo.com\/index.php\/2024\/11\/14\/4-2-lvgl%e7%a7%bb%e6%a4%8d%e8%a3%b8%e6%9c%ba\/","title":{"rendered":"4.2 LVGL\u79fb\u690d"},"content":{"rendered":"<h2>LVGL\u79fb\u690d\u5173\u952e\u70b9<\/h2>\n<p>\u663e\u793a\uff1aLVGL\u4f5c\u4e3a\u4e00\u4e2aGUI\uff0c\u80af\u5b9a\u662f\u9700\u8981\u201c\u5c4f\u5e55\u201d\u7684\uff0cLVGL\u4e2d\u63d0\u4f9b\u4e86\u5c4f\u5e55\u7684\u63a5\u53e3\u6587\u4ef6\uff0c\u6211\u4eec\u9700\u8981\u628a\u81ea\u5df1\u7684\u663e\u793a\u8bbe\u5907\u548cLVGL\u5e93\u63a5\u8d77\u6765\u7684\u8bdd\uff0c\u5c31\u9700\u8981\u5728\u8fd9\u4e2a\u63a5\u53e3\u6587\u4ef6\u91cc\u53bb\u914d\u7f6e\u81ea\u5df1\u7684\u4e00\u4e9b\u51fd\u6570\u3002<\/p>\n<p>\u8f93\u5165\u8bbe\u5907\uff1a\u5982\u679c\u4f60\u9700\u8981\u4f7f\u7528\u8f93\u5165\u8bbe\u5907\u7684\u8bdd\uff0c\u4f8b\u5982\u952e\u76d8\u3001\u9f20\u6807\u3001\u89e6\u63a7\u6216\u8005\u662f\u7f16\u7801\u5668\uff0c\u90a3\u4e48\u4f60\u5c31\u9700\u8981\u53bbLVGL\u6240\u63d0\u4f9b\u7684\u8f93\u5165\u8bbe\u5907\u7684\u4e00\u4e2a\u63a5\u53e3\u6587\u4ef6\u91cc\u9762\uff0c\u628a\u4f60\u7684\u8f93\u5165\u8bbe\u5907\u4e00\u4e9b\u51fd\u6570\u914d\u7f6e\u8fdb\u53bb\u3002(\u6211\u4eec\u540e\u7eed\u91c7\u7528\u89e6\u6478\u5c4f\u5f53\u4f5c\u8f93\u5165\u8bbe\u5907)<\/p>\n<p>OS\u7cfb\u7edf\uff1a\u5982\u679c\u6211\u4eec\u6d89\u53ca\u5230\u7cfb\u7edf\u7684\u8bdd\uff0c\u90a3\u4e48\u4f7f\u7528\u7684\u5c31\u662fFreeRTOS\u3002<\/p>\n<p>\u5185\u5b58\uff1a\u5185\u5b58\u4e3b\u8981\u6d89\u53ca\u4e24\u65b9\u9762\u7684\u5185\u5bb9\uff0c\u4e00\u662fSRAM\uff0cSRAM\u5728LVGL\u4e2d\u53ef\u4ee5\u9009\u62e9\u5185\u90e8\u6216\u8005\u5916\u90e8\u3002\u4e8c\u662fLVGL\u6709\u4e00\u5957\u81ea\u7814\u7684\u7ba1\u7406\u7b97\u6cd5\uff0c\u53ef\u4ee5\u914d\u7f6e\u8fdb\u53bb\u3002<\/p>\n<h2>LVGL\u79fb\u690d\u6574\u4f53\u6d41\u7a0b<\/h2>\n<p>1\u3001\u786e\u5b9a\u8f93\u5165\u3001\u8f93\u51fa\u8bbe\u5907<\/p>\n<p>\u8f93\u5165\uff1a\u89e6\u6478\u5c4f\u3001\u9f20\u6807\u3001\u952e\u76d8\u4ee5\u53ca\u7f16\u7801\u5668\uff1b<\/p>\n<p>\u8f93\u51fa\uff1a\u663e\u793a\u5c4f\u3002<\/p>\n<p>2\u3001\u786e\u5b9a\u6240\u9700\u529f\u80fd<\/p>\n<p>\u5c4f\u5e55\u6570\u636e\u4f20\u8f93\u65b9\u5f0f(\u5176\u5b9e\u5c31\u662f\u9700\u4e0d\u9700\u8981\u7528\u5230DMA2D)\u3001\u7cfb\u7edf\u3001SRAM(\u9009\u62e9\u5185\u90e8\u8fd8\u662f\u5916\u90e8)\u3001\u5185\u5b58\u7ba1\u7406\u7b97\u6cd5(\u662f\u5426\u9700\u8981LVGL\u7684\u81ea\u7814\u5185\u5b58\u7b97\u6cd5)\u3002<\/p>\n<p>3\u3001\u51c6\u5907LVGL\u5e93\u3001\u4f8b\u7a0b<\/p>\n<p>\u51c6\u5907LVGL\u5e93\u6587\u4ef6\uff0c\u8fd8\u6709\u652f\u6301\u6240\u9700\u529f\u80fd\u7684\u4f8b\u7a0b\u6e90\u7801\u3002<\/p>\n<p>4\u3001\u6dfb\u52a0LVGL\u5e93\u5230\u5de5\u7a0b<\/p>\n<p>\u6309\u9700\u88c1\u526a\u3001\u4fee\u6539LVGL\u5e93\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u5230MDK\u5de5\u7a0b\u4e2d\u3002<\/p>\n<p>5\u3001\u914d\u7f6e\u8f93\u5165\u3001\u8f93\u51fa\u8bbe\u5907<\/p>\n<p>\u9002\u914d\u81ea\u5df1\u7684\u8f93\u5165\u548c\u8f93\u51fa\u8bbe\u5907\uff0c\u6dfb\u52a0\u6240\u9700\u529f\u80fd\uff08\u4f8b\u5982\u7cfb\u7edf\uff09\u3002<\/p>\n<p>6\u3001\u63d0\u4f9b\u65f6\u57fa\u3001\u6d4b\u8bd5<\/p>\n<p>\u4e3aLVGL\u63d0\u4f9b\u65f6\u57fa\uff0c\u5199\u6d4b\u8bd5\u4ee3\u7801\u68c0\u6d4b\u79fb\u690d\u662f\u5426\u6210\u529f\u3002<\/p>\n<h2>LVGL\u79fb\u690d<\/h2>\n<p>LVGL\u79fb\u690d\u5206\u4e3a\u56db\u4e2a\u90e8\u5206\uff0c\u8fd9\u56db\u4e2a\u90e8\u5206\uff0c<span style=\"color: #ff6600;\"><strong>\u6bcf\u4e2a\u90e8\u5206\u90fd\u662f\u5b8c\u6574\u7684\u79fb\u690d<\/strong><\/span>\uff0c\u533a\u522b\u5728\u4e8e\u5e26\u4e0d\u5e26\u89e6\u6478\u3001\u9009\u62e9\u88f8\u673a\u8fd8\u662fRTOS\u3001\u4f7f\u7528\u5185\u90e8SRAM\u8fd8\u662f\u5916\u90e8SRAM\u3001\u5185\u5b58\u7ba1\u7406\u4f7f\u7528LVGL\u81ea\u5e26\u7684\u8fd8\u662f\u81ea\u5df1\u81ea\u7814\u7684\u3002<\/p>\n<h3>\u79fb\u690d\u7b2c\u4e00\u90e8\u5206<\/h3>\n<p><strong>\u79fb\u690d\uff1a\u89e6\u6478+\u88f8\u673a+\u5185\u90e8SRAM+LVGL\u81ea\u5e26\u5185\u5b58\u7ba1\u7406<\/strong><\/p>\n<ul>\n<li>\u88c1\u526aLVGL\u5e93\u6587\u4ef6\uff08\u6211\u4eec\u5728\u7b2c\u4e00\u8282\u5df2\u7ecf\u88c1\u526a\u5b8c\u4e86\uff09<\/li>\n<li>\u628a lv_conf_template.h \u6587\u4ef6\u540d\u4fee\u6539\u6210 lv_conf.h<\/li>\n<li>\u6253\u5f00 lv_conf.h \u6587\u4ef6\uff0c\u4fee\u6539\u6761\u4ef6\u7f16\u8bd1\u6307\u4ee4\uff0c\u628a#if 0 \u4fee\u6539\u6210#if 1<\/li>\n<li>\u6dfb\u52a0\u5b9a\u65f6\u5668\u6587\u4ef6<\/li>\n<li>\u6309\u7167\u4e0b\u9762\u7684\u7ed3\u6784\u65b0\u5efa\u6587\u4ef6\u5939\uff1a<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1454\" src=\"https:\/\/aoofoo.com\/wp-content\/uploads\/2024\/11\/\u5c4f\u5e55\u622a\u56fe-2024-11-14-161930.png\" alt=\"\" width=\"563\" height=\"218\" \/>\u3001<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>LVGL\u79fb\u690d\u5173\u952e\u70b9 \u663e\u793a\uff1aLVGL\u4f5c\u4e3a\u4e00\u4e2aGUI\uff0c\u80af\u5b9a\u662f\u9700\u8981\u201c\u5c4f\u5e55\u201d\u7684\uff0cLVGL\u4e2d\u63d0\u4f9b\u4e86\u5c4f\u5e55\u7684\u63a5\u53e3\u6587\u4ef6\uff0c\u6211\u4eec\u9700 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[20,21,14],"class_list":["post-1453","post","type-post","status-publish","format-standard","hentry","category-lvgl","tag-lvgl","tag-freertos","tag-stm32"],"_links":{"self":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/comments?post=1453"}],"version-history":[{"count":2,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1453\/revisions"}],"predecessor-version":[{"id":1456,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/posts\/1453\/revisions\/1456"}],"wp:attachment":[{"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/media?parent=1453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/categories?post=1453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aoofoo.com\/index.php\/wp-json\/wp\/v2\/tags?post=1453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}