AnsweredAssumed Answered

Getting error while compiling mbedtls code for K82 processor using KDS

Question asked by Mohammad Gouse on May 30, 2016
Latest reply on Jun 1, 2016 by Carlos_Mendoza

Getting error while compiling mbedtls code for K82 processor using KDS.

 

The error is as follows,

 

../../../../../../../middleware/mbedtls_2.1.2/port/ksdk/ksdk_mbedtls_config.h:38:34: fatal error: fsl_device_registers.h: No such file or directory

#include "fsl_device_registers.h"

                                  ^

compilation terminated.

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -DDEBUG -DCPU_MK82FN256VDC15 -DFREESCALE_KSDK_BM -DMBEDTLS_CONFIG_FILE=\"ksdk_mbedtls_config.h\" -DFRDM_K82F -DFREEDOM -I../../../../../../../CMSIS/Include -I../../../../../../../devices -I../../../../../../../devices/MK82F25615/drivers -I../.. -I../../../../../../../middleware/mmcau_2.0.0 -I../../../../../../../devices/MK82F25615/utilities -I../../../../../../../middleware/mbedtls_2.1.2/include -I../../../../../../../middleware/mbedtls_2.1.2/port/ksdk -I../../../../.. -I../../../../../../../devices/MK82F25615 -std=gnu99 -fomit-frame-pointer  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"mbedTLS/mbedTLS_source/havege.d" -MT"mbedTLS/mbedTLS_source/havege.o" -c -o "mbedTLS/mbedTLS_source/havege.o" "C:/Freescale/mbedTLS_for_Kinetix_SDK_2.0_win/middleware/mbedtls_2.1.2/library/havege.c"

mbedTLS/mbedTLS_source/subdir.mk:373: recipe for target 'mbedTLS/mbedTLS_source/entropy_poll.o' failed

make: *** [mbedTLS/mbedTLS_source/entropy_poll.o] Error 1

Outcomes