HAL compilation error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
sugac_3385211
Level 3
Level 3
5 likes given First like given

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

Building Bootloader

In file included from ././WICED/WWD/include/RTOS/wwd_rtos_interface.h:44:0,

                 from WICED/platform/GCC/time_newlib.c:39:

c:\users\20118776\documents\wiced-studio-6.1.2.uccc\43xxx_wi-fi\tools\arm_gnu\lib\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory

# include_next <stdint.h>

                          ^

compilation terminated.

make.exe[3]: *** [build/waf.bootloader-NoOS-MurataType1LD/Modules/WICED/platform/GCC/time_newlib.o] Error 1

make.exe[3]: *** Waiting for unfinished jobs....

WICED/platform/GCC/mem_newlib.c:40:19: fatal error: errno.h: No such file or directory

#include <errno.h>

                   ^

compilation terminated.

make.exe[3]: *** [build/waf.bootloader-NoOS-MurataType1LD/Modules/WICED/platform/GCC/mem_newlib.o] Error 1

arm-none-eabi-gcc.exe: warning: ./tools/ARM_GNU/bin/Win32/../../lib/include-fixed: linker input file unused because linking not done

arm-none-eabi-gcc.exe: warning: ./tools/ARM_GNU/bin/Win32/../../lib/include-fixed: linker input file unused because linking not done

make.exe[2]: *** [main_app] Error 2

make.exe[1]: *** [bootloader] Error 2

tools/makefiles/standard_platform_targets.mk:87: recipe for target 'bootloader' failed

Makefile:349: recipe for target 'main_app' failed

make: *** [main_app] Error 2

0 Likes
1 Solution

Hello,

I guess the file stdint.h is not the directory where gcc is looking. Try dumping out the path of each file that it #include and add the stdint.h file if it is not present at the correct location.

View solution in original post

0 Likes
5 Replies
lock attach
Attachments are accessible only for community members.
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

Hello,

The snip works out of the box in WICED 6.2.1. I tested it by compiling for 94343WWCD2 which is similar to Murata Type 1LD.

Please check you have modified any makefiles. Also kindly check with Murata once.

0 Likes
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

Moving to the Murata support forum, adding inoue_tomohiro_1742091​ from Murata.

0 Likes
ToIn_1742091
Level 5
Level 5
10 solutions authored 5 solutions authored First solution authored

I think you could build that, the discussion is at: CYW43438 bringup

What is the difference?

0 Likes

Actually I am trying to port some HAL file in this repository.

But my real concern is this error .I just not understand why I am getting this .

c:\users\20118776\documents\wiced-studio-6.1.2.uccc\43xxx_wi-fi\tools\arm_gnu\lib\include\stdint.h:9:26: fatal error: stdint.h: No such file or directory

# include_next <stdint.h>

                          ^

compilation terminated

0 Likes

Hello,

I guess the file stdint.h is not the directory where gcc is looking. Try dumping out the path of each file that it #include and add the stdint.h file if it is not present at the correct location.

0 Likes