当前位置:网站首页>Create lib Library in keil and use lib Library

Create lib Library in keil and use lib Library

2022-07-07 15:37:00 sgmcy

stay keil5 MDK in , Encapsulate a piece of code LIB library

First , Create a project , The chip model selected in this project is consistent with the original project .

then , Import source code , The imported source code does not need to be added main.c perhaps main() Function entrance

lib The name of the library should be consistent with the project name

compile , Will be in output Directory output lib library

Put out lib Library files and to be provided to the project .h Add files to the project

  Include in the new project liba.h  call liba.h The interface provided is OK

 

 

原网站

版权声明
本文为[sgmcy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130612548076.html