{"id":87,"date":"2019-07-23T17:45:01","date_gmt":"2019-07-23T09:45:01","guid":{"rendered":"https:\/\/www.book11111.com\/?p=87"},"modified":"2019-07-27T21:57:48","modified_gmt":"2019-07-27T13:57:48","slug":"stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95","status":"publish","type":"post","link":"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/","title":{"rendered":"Stm32F1\u89e3\u6790XML\u6587\u4ef6\u6d4b\u8bd5"},"content":{"rendered":"<p>\u5728\u9879\u76ee\u4e2d\u9047\u5230\u7684\u4e00\u4e2a\u6848\u4f8b\uff0c\u9700\u8981\u901a\u8fc7\u4e0a\u4f4d\u673a\u4f20\u8f93XML\u6587\u4ef6\u6765\u6539\u53d8\u4ea7\u54c1\u7684\u914d\u7f6e\u53c2\u6570\u3002 \u4ea7\u54c1\u7528\u7684stm32f1\u505a\u4e3b\u63a7\u82af\u7247\uff0c\u901a\u8fc7TCP\/IP\u901a\u8baf\uff0c\u9700\u8981\u5c06xml\u5e93\u79fb\u690d\u5230\u7a0b\u5e8f\u4e2d\u3002<\/p>\n<p>\u5728\u7f51\u4e0a\u627e\u4e86\u51e0\u4e2a\u5e38\u89c1\u5230XML\u5e93\uff0c\u627e\u5230l\u4e86\u4e24\u6b3e\u8f7b\u91cf\u7ea7\u7684\uff08\u57fa\u4e8ec\u8bed\u8a00\u7684\uff0c\u53ef\u4ee5\u76f4\u63a5\u79fb\u690d\u5230stm32\u4e2d\uff09xml\u89e3\u6790\u5e93\uff1amxml\u548cezxml\u3002<br \/>\n\u901a\u8fc7\u6bd4\u8f83\uff0c\u6700\u7ec8\u9009\u62e9\u4f7f\u7528mxml\u5e93\uff08ezxml\u5e93\u8c8c\u4f3c\u8981\u4e0alinux\u7cfb\u7edf\uff0c\u79fb\u690d\u5230keil\u4e2d\u7f16\u8bd1\u6709\u95ee\u9898\uff09\u3002mxml\u5e93\u4e0b\u8f7d\u94fe\u63a5\u4e3a\uff1a<\/p>\n<p><a href=\"https:\/\/sourceforge.net\/projects\/mxml\/files\/\">https:\/\/sourceforge.net\/projects\/mxml\/files\/<\/a><\/p>\n<p>\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p>\u542f\u52a8Keil5\u8f6f\u4ef6\uff0c\u5c06mxml\u5e93\u590d\u5236\u5230Stm32\u5de5\u7a0b\u4e2d\uff0c\u4fee\u6539\u5982\u4e0b\u914d\u7f6e\u53c2\u6570\uff1a<\/p>\n<ol>\n<li>\u5c06s\u6587\u4ef6\u4e2d43\u884cHeap_Size EQU 0x00000200\u53d8\u4e3a0x00008000<\/li>\n<li>keil\u8f6f\u4ef6\u4e2dOption of target-&gt;User-&gt;\u52fe\u9009After Build\u4e0b\u7684Run #1 -&gt; usercommand\u4e2d\u6dfb\u52a0exe \u2013bin -o \u201cimage.bin\u201d \u201c#L\u201d<\/li>\n<li>\u5bfc\u5165mxml\u5934\u6587\u4ef6<\/li>\n<\/ol>\n<p>\u4e4b\u540e\uff0c\u5148\u7f16\u8bd1\u4e00\u904d\u7a0b\u5e8f\uff0c\u89e3\u51b3\u79fb\u690d\u5e93\u540e\u6240\u6709\u5230\u7f16\u8bd1\u95ee\u9898\uff0c\u4e4b\u540e\uff0c\u6dfb\u52a0\u6d4b\u8bd5\u4ee3\u7801\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#include \"mxml.h\"\nint lens;\nint i=0;\nUCHAR tmp[70][10];\nmxml_node_t *node, *tree;\nfor(lens=0;lenstype==0x04 ){\n    memcpy(tmp[lens],node-&gt;value.text.string,strlen(node-&gt;value.text.string));\n    lens++;\n  }\n}<\/pre>\n<p>mxml\u5e93\u7684\u4f7f\u7528\u6bd4\u8f83\u7b80\u5355\uff0c\u53ea\u8981\u4fee\u6539\u597d\u914d\u7f6e\u53c2\u6570\u5373\u53ef\u4f7f\u7528\uff0c\u5982\u679c\u53d1\u73b0\u65e0\u6cd5\u89e3\u6790\u7684\u60c5\u51b5\uff0c\u5f88\u6709\u53ef\u80fd\u662f\u56e0\u4e3aHeap_Size EQU\u4e0d\u591f\uff0c\u90a3\u4e48\u9002\u5f53\u589e\u52a0Heap_Size EQU\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u9879\u76ee\u4e2d\u9047\u5230\u7684\u4e00\u4e2a\u6848\u4f8b\uff0c\u9700\u8981\u901a\u8fc7\u4e0a\u4f4d\u673a\u4f20\u8f93XML\u6587\u4ef6\u6765\u6539\u53d8\u4ea7\u54c1\u7684\u914d\u7f6e\u53c2\u6570\u3002 \u4ea7\u54c1\u7528\u7684stm32f1\u505a\u4e3b\u63a7\u82af\u7247\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2,3],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-electr","tag-stm32","tag-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Stm32F1\u89e3\u6790XML\u6587\u4ef6\u6d4b\u8bd5 - \u6c88\u8d85\u7684\u535a\u5ba2<\/title>\n<meta name=\"description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<link rel=\"canonical\" href=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1\u89e3\u6790xml\u6587\u4ef6\u6d4b\u8bd5\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Stm32F1\u89e3\u6790XML\u6587\u4ef6\u6d4b\u8bd5 - \u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"arm,dsp,pcb,fpga,zynq,\u5e38\u7528\u8f6f\u4ef6altium designed,\u7b97\u6cd5\" \/>\n<meta property=\"og:url\" content=\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1\u89e3\u6790xml\u6587\u4ef6\u6d4b\u8bd5\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6c88\u8d85\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-23T09:45:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-27T13:57:48+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/116.62.123.213\/#website\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"http:\/\/116.62.123.213\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#webpage\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/\",\"name\":\"Stm32F1\\u89e3\\u6790XML\\u6587\\u4ef6\\u6d4b\\u8bd5 - \\u6c88\\u8d85\\u7684\\u535a\\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/#website\"},\"datePublished\":\"2019-07-23T09:45:01+00:00\",\"dateModified\":\"2019-07-27T13:57:48+00:00\",\"description\":\"arm,dsp,pcb,fpga,zynq,\\u5e38\\u7528\\u8f6f\\u4ef6altium designed,\\u7b97\\u6cd5\",\"breadcrumb\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/\",\"url\":\"http:\/\/116.62.123.213\/\",\"name\":\"\\u9996\\u9875\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/\",\"url\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/\",\"name\":\"Stm32F1\\u89e3\\u6790XML\\u6587\\u4ef6\\u6d4b\\u8bd5\"}}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#webpage\"},\"author\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"headline\":\"Stm32F1\\u89e3\\u6790XML\\u6587\\u4ef6\\u6d4b\\u8bd5\",\"datePublished\":\"2019-07-23T09:45:01+00:00\",\"dateModified\":\"2019-07-27T13:57:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\"},\"keywords\":\"stm32,\\u7535\\u5b50\",\"articleSection\":\"\\u7535\\u5b50\",\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/116.62.123.213\/index.php\/2019\/07\/23\/stm32f1%e8%a7%a3%e6%9e%90xml%e6%96%87%e4%bb%b6%e6%b5%8b%e8%af%95\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/116.62.123.213\/#\/schema\/person\/686c7e95d9da5350921994bb9575417c\",\"name\":\"\\u6c88\\u8d85\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/116.62.123.213\/#personlogo\",\"inLanguage\":\"zh-Hans\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/40261dfac05f2d465bb2abf96c1c4e8ceaf45876aec9d52e6b86ef40372d06f0?s=96&d=identicon&r=g\",\"caption\":\"\\u6c88\\u8d85\"},\"logo\":{\"@id\":\"http:\/\/116.62.123.213\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":1,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":88,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/posts\/87\/revisions\/88"}],"wp:attachment":[{"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/116.62.123.213\/index.php\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}