1 of 1 people found this helpful
Under tools/makefiles directory you will see some makefiles as below:
The wiced_config.mk file has the toolchain type set to either gcc or iar.
By default the gcc toolchain is used in the WICED build.
So, as per the toolchain defined in the wiced_config.mk file, you can change the respective toolchain makefile under tools/makefiles directory.
In this case where gcc toolchain is used, you can edit the wiced_toolchain_GCC.mk file which will in turn does not contain any build parameters but includes the wiced_toolchain_ARM_GNU.mk makefile, so you need to edit the wiced_toolchain_ARM_GNU.mk file finally.
Similarly you can edit other makefile(s) too.
Following is the build macro in the makefile that has the compiler optimization flag:
If you want to suppress some warnings then you can modify the below macro:
First take a BACKUP of the file you are going to modify.
Thanks for your reply.
This is what I want to know.