Hello,
I have DA14531-00FXDEVKT-U. I look for information about creating a new project in SmartSnippets Studio. In SDK i found only "prox_reporter" project ( this project works fine). I want to create a empty template for DA14531. Can you give me information on how to do this ?
Device:
Hi adam.stroz,
谢谢你的问题在线和道歉my late response.
Unfortunately, there are not any guidelines on how to create an empty Eclipse template. My recommendation would be to take the prox_reporter as a reference and start porting the empty peripheral template example of the SDK. Modifications should be down in Eclipse\.cproject and Eclipse\.project files.
However, let me check it is we could provide any further details on that.
Thanks, PM_Dialog
Thank for your reply.
Can you give me a step by step instruction ? Maybe should i create my own code in prox_reporter project ?
It is important to me, to have a tamplate to create projects in my company.
Best regards, Adam Stróż
Hi Adam,
Let me check it and I'll revert back to you shortly.
Thanks, PM_Dialog
Hi Adam,
We have created a template Eclipse project - see attached. It is based on the empty peripheral template example of the SDK
In case you want to create your own project, please diff the Eclipse\.cproject and Eclipse\.project files. from pxp_reporter and empty_peripheral_template.
Thanks, PM_Dialog
Thank for your reply.
I’m really grateful for your help. I done all steps that you wrote and everything works fine.
I have two small question yet,
what do you mean by "please diff the Eclipse..." should i create empty projects and add this files ?
I haveempty_peripheral_templateproject. Where i should write my own code in this case ? Should I delete code in main function loop inarch_main.c?
Best regards, Adam Stróż
Hi Adam,
My apologies - probably I didn’t write it very clear. As mentioned in my previous comments, all the modifications should be done are in the Eclipse\.cproject and Eclipse\.project files. So, if you need to create an Eclipse project by your own or port any other SDK example, you could compare the Eclipse files from the pxp_reporter and empty_peripheral_template with a diff tool and check how to do it.
Regarding your last question, you should not modify the arch_main.c. This is SDK file – we strongly recommend to not modify any of the SDK files. All the implementation should be developed in the Application files (files that start withapp_)
Thanks, PM_Dialog
Thank for your reply.
At this moment i know all that i need, you helped me a lot.
If I have any questions, I'll ask you.
Best regards, Adam Stróż
Hi Adam,
Please feel free to raise any other question on our public BLE forums. If you found any answer useful, please mark it as “accepted” for the other community!
Thanks, PM_Dialog