I use MC56F83783, then I program some functions which include some assembly code in the C function.
I used these assembly codes (MLIB/GFLIB) to write down new functions in C. Now, I want to block these new C functions to my library.
Is there any example that can teach me how to do it?
Solved! Go to Solution.
Excuse me, I said something wrong. About the ASM code in the C function that can not work. When I create a simple app and paste the library into this project, then I test it again. I found that it's work. Maybe I done another mistake cause the project can not work. I will keep debugging it. If I find the bug, then I will ask you again.
Thanks for your help.
Cody
Hi,
From your description, it appears that you want to develop your own library, this is the procedure:
1)File->New->bareboard Project, you will se the menu as following:
2)in the main.c, delete all the main function
3)add your own api function and compile.
Hope it can help you
BR
XiangJun Rong
Hi,
I have checked your code, it is okay to generate library.
But for your compilation error, it is another question, I do not have your data structure, pls solve it yourself.
BR
XiangJun Rong
Hi,
I can pass the compilation and link stages for your project, for your issue that you can NOT run the code, can you clarify the code which can not run so that I can have a check.
BR
XiangJun Rong
Excuse me, I said something wrong. About the ASM code in the C function that can not work. When I create a simple app and paste the library into this project, then I test it again. I found that it's work. Maybe I done another mistake cause the project can not work. I will keep debugging it. If I find the bug, then I will ask you again.
Thanks for your help.
Cody