gisc_1091076 I am guessing your Makefile is wrong and hence the issue. I have attached mine which is the default example and the build went through. Try changing this and see if the build goes through. If not, can you checkout the default example from GitHub - cypresssemiconductorco/mtb-example-anycloud-wlan-lowpower: This code example demonstrates the low-power operati… and build and it should work. I too had seen this error sometime back and the error went away by making the right changes in the Makefile.
I am guessing that in this case it is because the DEFINES=$(MBEDTLSFLAGS) is missing. Anyway if you do any of the 3 steps mentioned above, you should be able to get the build done.
Makefile.zip 2.3 K
I have used the Makefile that you posted but i don't resolved the my problem. I have added also DEFINES=$(MBEDTLSFLAGS) (I atteched the Makefile i have used) but when i build the project modusToolbox return these errors (i attacched the file 'list errors rev02') :
./libs/TARGET_CY8CKIT-062S2-43012/cybsp_types.h:32:10: fatal error: cycfg.h: No such file or directory
what my problem depends ?
I attached also my project.
Sorry, can you help me ? this error block the development the my project.
gisc_1091076 sorry for the delay. But the issue is with your makefile.
Remove the CUSTOM_DESIGN_MODUS from the components and BSP_DESIGN_MODUS from the DISABLE_COMPONENTS.
The Build should go through after this.
Let me know if any issues come up after this.
That answer doesn't help him because he has a custom BSP
1 of 1 people found this helpful
The error that is being faced is because the WICED_BLE defines is not present and you are using BLE libraries.
My bad, I wasn't clear enough with my previous response and should've explained why I told so.
The thing with your project was that, you had COMPONENTS = CUSTOM_DESIGN_MODUS and DISABLE_COMPONENTS= BSP_DESIGN_MODUS but in the project there was no COMPONENT_CUSTOM_DESIGN_MODUS folder and you had disabled the default BSP_DESIGN_MODUS and hence you were facing that issue.
Also your Makefile had 2 defines. I have commented out the 2nd one and the build went through.
Attached is the logs and the modified project. I have removed the libs folder. Please do a make getlibs from /ModusToolbox/tools_2.1/modus-shell/Cygwin.bat and then build and it will go through.
PS: In the main.c the stack size and the task priority wasn't defined in the MACRO given by you. Hence I have added 2 arbitrary numbers for that for the build to go through. Please change that as and how needed.
Thanks you, the project execute build correctly.