3 Replies Latest reply on Jul 30, 2018 7:44 PM by AxLi_1746341

    FreeRTOS compilation fails with IAR toolchain

    sugac_3385211

      10:34:10 **** Build of configuration Default for project 43xxx_Wi-Fi ****

      "C:\\Users\\20118776\\Documents\\WICED-Studio-6.1\\43xxx_Wi-Fi\\make.exe" snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar IAR=1

      MAKEFILE MAKECMDGOALS=snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar OTA2_SUPPORT is disabled

      Building with IAR toolchain...

      Building Bootloader

      Finished Building Bootloader

       

       

      Processing resources

      Compiling App_Scan

       

       

        } wiced_ip_address_t;

          ^

      "C:\Users\20118776\Documents\WICED-Studio-6.1\43xxx_Wi-Fi\include\wiced_tcpip.h",159  Warning[Pe301]:

                typedef name has already been declared (with same type)

      Making build/snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar/libraries/App_Scan.a

      Compiling Platform_MurataType1LD

      Making build/snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar/libraries/Platform_MurataType1LD.a

      Compiling FreeRTOS

       

       

        void __malloc_lock(struct _reent *ptr)

                                  ^

      "C:\Users\20118776\Documents\WICED-Studio-6.1\43xxx_Wi-Fi\WICED\RTOS\FreeRTOS\ver9.0.0\Source\portable\MemMang\heap_3.c",157  Warning[Pe231]:

                declaration is not visible outside of function

       

       

        void __malloc_unlock(struct _reent *ptr)

                                    ^

      "C:\Users\20118776\Documents\WICED-Studio-6.1\43xxx_Wi-Fi\WICED\RTOS\FreeRTOS\ver9.0.0\Source\portable\MemMang\heap_3.c",167  Warning[Pe231]:

                declaration is not visible outside of function

      tools/makefiles/wiced_elf.mk:232: recipe for target 'build/snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar/Modules/WICED/RTOS/FreeRTOS/ver9.0.0/Source/portable/IAR/ARM_CM3/portasm.o' failed

      make.exe[1]: *** [build/snip.scan-MurataType1LD-FreeRTOS-LwIP-SDIO-iar/Modules/WICED/RTOS/FreeRTOS/ver9.0.0/Source/portable/IAR/ARM_CM3/portasm.o] Error 3

      make: *** [main_app] Error 2

      Makefile:349: recipe for target 'main_app' failed

       

       

      10:34:25 Build Finished (took 14s.544ms)