<?xml-stylesheet type="text/xsl" href="https://e2echina.ti.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>关于如何将函数封装成库使用的方法介绍</title><link>/blogs_/b/the_process/posts/53294</link><description>作者：Aki Li

在项目开发过程中，开发者出于保护核心算法的目的，希望将部分核心代码封装起来，使得其他使用者无法查看具体的代码实现细节，而不影响正常的调用。常见的思路是将核心的函数封装成库，下面将结合例程说明具体实现方法。
1.库的建立
1).新建库工程
在CCS中，选择Project -&amp;gt; New CCS Project，在工程配置窗口中，选择相应的&amp;ldquo;Target&amp;rdquo; device，以及输入自定义的工程名字；然后需要注意在&amp;ldquo;Project type ...</description><dc:language>zh-CN</dc:language><generator>Telligent Community 13</generator><item><title>回复:关于如何将函数封装成库使用的方法介绍</title><link>https://e2echina.ti.com/blogs_/b/the_process/posts/53294</link><pubDate>Tue, 27 Feb 2024 03:18:20 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:cce7b65c-5137-4cda-812f-25ea1b41e319</guid><dc:creator>wu wu</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;新建的&lt;span&gt;Executable工程，现在可以将Executable工程切换为&amp;ldquo;Static Library&amp;rdquo;工程了吗？&lt;/span&gt;&lt;/p&gt;&lt;img src="https://e2echina.ti.com/aggbug?PostID=53294&amp;AppID=122&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>