1 of 1 people found this helpful
You can define the macros in the makefile.mk or application.c file to provide access to libraries, and other C flags, etc.
Please make use of WICED documentation of API (API.html) to get list of available macros.
In mesh, common codes, eg: device provisioning, etc, are already handled by the mesh core codes.
Could you please explain more about your real requirement. What you meant by below sentence?
"I want to add some codes for the mesh_onoff_server project during device provisoining ,but I don't want to affect other projects"
thank you for your timely reply ! I defined a macro and add the corresponding C flags in the makefile.mk. it works fine!