{"id":240104,"date":"2022-04-18T09:00:32","date_gmt":"2022-04-18T01:00:32","guid":{"rendered":"https:\/\/gulass.cn\/?p=240104"},"modified":"2022-04-16T21:50:26","modified_gmt":"2022-04-16T13:50:26","slug":"qt-for-mcus","status":"publish","type":"post","link":"https:\/\/gulass.cn\/qt-for-mcus.html","title":{"rendered":"Qt for MCUs 2.1 \u53d1\u5e03\uff0c\u589e\u52a0\u4e86\u4e00\u4e9b\u529f\u80fd"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Qt for MCUs 2.1 \u5df2\u4e8e\u8fd1\u65e5\u63a8\u51fa\uff01\u6b64\u7248\u672c\u63d0\u4f9b\u4e86\u51cf\u5c11\u5e94\u7528\u7a0b\u5e8f\u5360\u7528\u7a7a\u95f4\u7684\u65b0\u9009\u9879\u3001\u65b0\u7684\u6587\u672c\u5448\u73b0\u529f\u80fd\u4ee5\u53ca\u65b0\u7684\u793a\u4f8b\u548c\u6587\u6863\uff0c\u53ef\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u4e3a\u60a8\u63d0\u4f9b\u5e2e\u52a9\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u66f4\u8f7b\u7684\u5e94\u7528<\/strong><\/div>\n RLE \u56fe\u50cf\u538b\u7f29<\/strong><\/span><\/div>\n \u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u4f7f\u7528\u5185\u7f6e\u8d44\u6e90\u7cfb\u7edf\u7684 Qt Quick Ultralite \u5e94\u7528\u7a0b\u5e8f\u4e2d\u5305\u542b\u7684\u56fe\u50cf\u53ef\u4ee5\u4f7f\u7528\u672a\u538b\u7f29\u7684 RGB \u548c PNG \u683c\u5f0f\u3002\u672a\u538b\u7f29\u7684 RGB \u683c\u5f0f\u901f\u5ea6\u5f88\u5feb\uff0c\u4f46\u95ea\u5b58\u6210\u672c\u975e\u5e38\u9ad8\u3002PNG \u683c\u5f0f\u7531\u4e8e\u5176\u9ad8\u538b\u7f29\u7387\u800c\u663e\u7740\u51cf\u5c11\u4e86\u95ea\u5b58\u5360\u7528\u7a7a\u95f4\uff0c\u4f46\u9700\u8981\u6f5c\u5728\u7684\u5927\u578b RAM \u7f13\u5b58\u6765\u4fdd\u5b58\u89e3\u538b\u7f29\u7684\u6570\u636e\u3002\u73b0\u5728\u6709\u7b2c\u4e09\u79cd\u63d0\u4f9b \u4f4e\u95ea\u5b58\u548c\u4f4e RAM \u5360\u7528\u7a7a\u95f4\u7684\u66ff\u4ee3\u65b9\u6848\uff1aRLE \u538b\u7f29\u3002<\/p>\n RLE\uff0c\u5373Run-Length Encoding\uff0c\u662f\u4e00\u79cd\u65e0\u635f\u6570\u636e\u538b\u7f29\u6280\u672f\uff0c\u5b83\u662f\u8f7b\u91cf\u7ea7\u7684\uff0c\u5e76\u4e14\u63d0\u4f9b\u8db3\u591f\u5feb\u7684\u89e3\u538b\u7f29\u65f6\u95f4\uff0c\u53ef\u4ee5\u5c06\u56fe\u50cf\u76f4\u63a5\u6df7\u5408\u5230\u5e27\u7f13\u51b2\u533a\u4e2d\uff0c\u800c\u65e0\u9700\u5728 RAM \u4e2d\u8fdb\u884c\u4e2d\u95f4\u89e3\u538b\u7f29\u3002<\/p>\n <\/p>\n \u538b\u7f29\u6bd4\u9002\u7528\u4e8e\u5177\u6709\u8bb8\u591a\u76f8\u540c\u989c\u8272\u7684\u8fde\u7eed\u50cf\u7d20\u7684\u56fe\u50cf\u3002<\/p>\n <\/p>\n \u745e\u8428\u7535\u5b50 RH850 \u7b49\u4e00\u4e9b\u786c\u4ef6\u5e73\u53f0\u5177\u6709\u8fd9\u79cd\u683c\u5f0f\u7684\u786c\u4ef6\u52a0\u901f\u529f\u80fd\uff0c\u8fd9\u610f\u5473\u7740\u4e0e\u4f7f\u7528\u672a\u538b\u7f29\u6570\u636e\u76f8\u6bd4\uff0c\u6ca1\u6709\u6027\u80fd\u635f\u5931\u3002\u5728\u5927\u591a\u6570\u5176\u4ed6\u5e73\u53f0\u4e0a\uff0c\u4f7f\u7528\u57fa\u4e8e CPU \u7684\u5b9e\u73b0\u3002<\/p>\n \u8bf7\u6ce8\u610f\uff0c\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u6bcf\u4e2a\u56fe\u50cf\u90fd\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u683c\u5f0f\u3002\u672a\u538b\u7f29\u3001RLE \u548c PNG \u90fd\u53ef\u4ee5\u7ec4\u5408\u5728\u540c\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\u4e2d\u3002\u5f53\u95ea\u5b58\u548c RAM \u90fd\u7a00\u7f3a\u65f6\uff0c\u65b0\u7684 RLE \u683c\u5f0f\u901a\u5e38\u662f\u6700\u4f73\u9009\u62e9\u3002<\/p>\n \u8f83\u5c0f\u7684\u4ee3\u7801\u5927\u5c0f<\/strong><\/span><\/div>\n \u6539\u8fdb\u4e86 QUL QML \u7f16\u8bd1\u5668\u5c06\u7ed1\u5b9a\u8f6c\u6362\u4e3a C++ \u7684\u65b9\u5f0f\uff0c\u4ece\u800c\u663e\u7740\u51cf\u5c11\u4e86\u5e94\u7528\u7a0b\u5e8f\u4ee3\u7801\u5927\u5c0f\u3002\u5177\u4f53\u591a\u5c11\u53d6\u51b3\u4e8e\u7f16\u8bd1\u5668\u5de5\u5177\u94fe\u548c\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f46\u60a8\u53ef\u4ee5\u9884\u671f\u6700\u591a\u51cf\u5c11 15%\u3002\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e0d\u9700\u8981\u4fee\u6539\uff0c\u53ea\u9700\u4f7f\u7528 2.1 \u7248\u91cd\u65b0\u6784\u5efa\u5b83\u4ee5\u51cf\u5c11\u5176 ROM \u5360\u7528\u7a7a\u95f4\u3002<\/p>\n \u6539\u8fdb\u4e86\u52a8\u6001\u6587\u672c\u5b57\u7b26\u4e32\u7684\u663e\u793a<\/strong><\/div>\n \u6587\u672c\u6ea2\u51fa\u5904\u7406<\/strong><\/span><\/div>\n \u57fa\u4e8e\u5fae\u63a7\u5236\u5668\u7684\u8bbe\u5907\u901a\u5e38\u5177\u6709\u4f4e\u5230\u4e2d\u7b49\u5206\u8fa8\u7387\u7684\u663e\u793a\u5668\uff0cGUI \u5185\u5bb9\u7684\u7a7a\u95f4\u5f88\u5c0f\uff0c\u5e76\u4e14\u51e0\u4e4e\u4e0d\u53ef\u80fd\u5b8c\u6574\u5730\u663e\u793a\u957f\u6587\u672c\u5b57\u7b26\u4e32\u3002\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u6587\u672c\u53ef\u80fd\u4f1a\u6ea2\u51fa\u5176\u4fdd\u7559\u7a7a\u95f4\uff0c\u4f8b\u5982\uff0c\u5f53\u4f7f\u7528\u5177\u6709\u201c\u4e0d\u53ef\u9884\u6d4b\u201d\u6587\u672c\u5b57\u7b26\u4e32\u7684\u52a8\u6001\u6570\u636e\u6a21\u578b\u6216\u7ffb\u8bd1\u591a\u79cd\u8bed\u8a00\u65f6\u3002\u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u65f6\uff0cUI \u5e94\u5728\u4e0d\u6539\u53d8\u5176\u539f\u59cb\u542b\u4e49\u7684\u60c5\u51b5\u4e0b\u9002\u5f53\u7f29\u77ed\u6587\u672c\uff0c\u5e76\u4f7f\u7528\u7701\u7565\u53f7\u5b57\u7b26\u5411\u7528\u6237\u63d0\u4f9b\u7f3a\u5c11\u90e8\u5206\u5185\u5bb9\u7684\u7ebf\u7d22\uff1a\u2026\uff08\u4e09\u4e2a\u70b9\uff09\u3002<\/p>\n <\/p>\n Qt Quick Ultralite \u73b0\u5728\u652f\u6301\u4f7f\u7528Text.elide\u5c5e\u6027\u81ea\u52a8\u622a\u65ad\u6ea2\u51fa\u7684\u6587\u672c\u3002API \u548c\u884c\u4e3a\u4e0e\u6807\u51c6 Qt Quick \u4e2d\u7684\u76f8\u540c\uff0c\u5b83\u9002\u7528\u4e8e\u5355\u884c\u548c\u591a\u884c\u6587\u672c\uff0c\u5e76\u4e14\u5b9e\u73b0\u8003\u8651\u4e86\u8bed\u8a00\u7ec6\u8282\uff0c\u4f8b\u5982\u6587\u672c\u65b9\u5411\u3002<\/p>\n \u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u66f4\u591a\u5e2e\u52a9<\/strong><\/div>\n \u5e94\u7528\u7a0b\u5e8f\u91cd\u542f\u793a\u4f8b<\/strong><\/span><\/div>\n \u5728\u51fa\u73b0\u4e0d\u53ef\u6062\u590d\u7684\u9519\u8bef\u540e\uff0c\u60a8\u662f\u5426\u9700\u8981\u5728\u5e94\u7528\u7a0b\u5e8f\u4e2d\u91cd\u65b0\u521d\u59cb\u5316 GUI\uff1f\u5f53\u4e0d\u9700\u8981 GUI \u65f6\uff0c\u4e5f\u8bb8\u4ece RAM \u4e2d\u91ca\u653e\u6240\u6709\u56fe\u5f62\u8d44\u6e90\uff1f\u6216\u8005\u5728\u4e0d\u540c\u7684\u5e94\u7528\u7a0b\u5e8f\u4e4b\u95f4\u5207\u6362\u4e0d\u540c\u7684\u8bbe\u5907\u6a21\u5f0f\uff1f\u5982\u679c\u60a8\u4e0d\u786e\u5b9a\u5728\u5fae\u63a7\u5236\u5668\u8bbe\u5907\u4e0a\u505c\u6b62\u548c\u91cd\u65b0\u542f\u52a8 Qt for MCU \u5e94\u7528\u7a0b\u5e8f\u7684\u65b9\u6cd5\uff0c\u6211\u4eec\u6dfb\u52a0\u4e86\u4e00\u4e2a\u65b0\u793a\u4f8b\u6765\u8282\u7701\u60a8\u7684\u65f6\u95f4\u5e76\u907f\u514d\u9677\u9631\u3002\u60a8\u8fd8\u53ef\u4ee5\u9605\u8bfb\u6587\u6863\u9875\u9762\u4ee5\u83b7\u53d6\u5206\u6b65\u6307\u5357\u3002<\/p>\n \u6587\u6863\u6539\u8fdb<\/strong><\/span><\/div>\n \u9664\u4e86\u5728\u7ebf\u6587\u6863\u7684\u65b0\u6837\u5f0f\u548c\u7528\u4e8e\u5feb\u901f\u8bbf\u95ee\u91cd\u8981\u9875\u9762\u7684\u65b0\u4fa7\u8fb9\u680f\u5916\uff0c\u6211\u4eec\u8fd8\u6dfb\u52a0\u4e86\u65b0\u5185\u5bb9\u4ee5\u5728\u5f00\u53d1\u4e4b\u524d\u548c\u671f\u95f4\u4e3a\u60a8\u63d0\u4f9b\u5e2e\u52a9\u3002\u65b0\u7684\u6982\u8ff0\u9875\u9762\u63d0\u4f9b\u4e86\u60a8\u5728\u5f00\u59cb\u65b0\u9879\u76ee\u4e4b\u524d\u53ef\u80fd\u9700\u8981\u7684\u5173\u952e\u4fe1\u606f\uff0c\u5e27\u7f13\u51b2\u533a\u8981\u6c42\u9875\u9762\u5c06\u4e3a\u60a8\u63d0\u4f9b\u6709\u5173\u5e94\u7528\u7a0b\u5e8f\u4e2d\u5e27\u7f13\u51b2\u533a\u914d\u7f6e\u7684\u5b9d\u8d35\u89c1\u89e3\u3002<\/p>\n \u4e0b\u4e00\u6b65\u662f\u4ec0\u4e48<\/strong><\/div>\n \u4e0b\u4e00\u4e2a\u529f\u80fd\u66f4\u65b0\u8ba1\u5212\u5728 6 \u6708\u53d1\u5e03\uff0c\u7248\u672c\u4e3a 2.2\u3002\u8fd9\u5c06\u662f Qt for MCU \u7684\u7b2c\u4e00\u4e2a\u957f\u671f\u652f\u6301\u7248\u672c\uff0c\u81ea\u53d1\u5e03\u4e4b\u65e5\u8d77 18 \u4e2a\u6708\u5185\u4e3a\u60a8\u63d0\u4f9b\u6807\u51c6\u652f\u6301\u548c\u9519\u8bef\u4fee\u590d\u3002\u66f4\u91cd\u8981\u7684\u65b0\u529f\u80fd\u5c06\u5305\u62ec QML Text \u4e2d\u7684\u81ea\u52a8\u6362\u884c\u3001 \u7528\u4e8e Qt\u8fd0\u884c\u65f6\u9519\u8bef\u5904\u7406\u7684 API \u3001\u589e\u52a0\u5bf9 Infineon Traveo II \u7684 IAR \u7f16\u8bd1\u5668\u7684\u652f\u6301\uff0c\u4ee5\u53ca\u5e2e\u52a9\u60a8\u5145\u5206\u5229\u7528 Qt for MCU\u7684\u65b0\u6027\u80fd\u548c\u5c01\u88c5\u6307\u5357.<\/p>\n \u7acb\u5373\u83b7\u53d6\u9002\u7528\u4e8e MCU \u7684 Qt 2.1\uff01<\/strong><\/div>\n \u5982\u679c\u60a8\u662f\u73b0\u6709\u7684 Qt for MCUs \u5f00\u53d1\u4eba\u5458\uff0c\u60a8\u53ef\u4ee5\u4ece Qt \u7ef4\u62a4\u5de5\u5177\u4e0b\u8f7d Qt for MCUs 2.1\uff0c\u8be5\u5de5\u5177\u4f4d\u4e8e Qt for MCUs \u5b89\u88c5\u76ee\u5f55\u7684\u6839\u76ee\u5f55\u3002\u5982\u679c\u60a8\u60f3\u7b2c\u4e00\u6b21\u6f5c\u6c34\uff0c\u8bf7\u5355\u51fb\u6b64\u5904\u5f00\u59cb\u3002\u65e0\u8bba\u54ea\u79cd\u65b9\u5f0f\uff0c\u6211\u4eec\u90fd\u5e0c\u671b\u60a8\u559c\u6b22\u65b0\u529f\u80fd\u548c\u6539\u8fdb\uff0c\u5e76\u4e14\u4e00\u5982\u65e2\u5f80\uff0c\u6211\u4eec\u5f88\u4e50\u610f\u5728\u8bc4\u8bba\u4e2d\u542c\u5230\u60a8\u7684\u53cd\u9988\u548c\u529f\u80fd\u8981\u6c42\uff01<\/p>\n","protected":false},"excerpt":{"rendered":" \u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u4f7f\u7528\u5185\u7f6e\u8d44\u6e90\u7cfb\u7edf\u7684 Qt Quick Ultralite \u5e94\u7528\u7a0b\u5e8f\u4e2d\u5305\u542b\u7684\u56fe\u50cf\u53ef\u4ee5\u4f7f\u7528\u672a\u538b\u7f29\u7684 R […]<\/p>\n","protected":false},"author":1470,"featured_media":240108,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-240104","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/240104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1470"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=240104"}],"version-history":[{"count":3,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/240104\/revisions"}],"predecessor-version":[{"id":240668,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/240104\/revisions\/240668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/240108"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=240104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=240104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=240104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |