AnsweredAssumed Answered

FRDM-K64F a_osapi.h error "Either A_BIG_ENDIAN or A_LITTLE_ENDIAN must be #defined"

Question asked by Bruce Graham on May 4, 2020
Latest reply on May 11, 2020 by Daniel Chen

Board: FRDM-K64F

MCUXpresso IDE v11.1.1 [Build 3241] [2020-03-02]

SDK_2.x_FRDM-K64F 2.7.0 3.6.0

Middleware

  QCA400x WiFi

  shields

  wifi10click

   wifi_qca

 

When compiling, I get the error

arm-none-eabi-gcc -D__NEWLIB__ -DCPU_MK64FN1M0VLL12 -DCPU_MK64FN1M0VLL12_cm4 -DFSL_RTOS_FREE_RTOS -DSDK_OS_FREE_RTOS -DSERIAL_PORT_TYPE_UART=1 -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DDEBUG -I"C:\Users\bruce.graham\Documents\MCUXpressoIDE_11.1.1_3241\workspace\MK64FN1M0xxx12_Project\drivers" -I"C:\Users\bruce.graham\Documents\MCUXpressoIDE_11.1.1_3241\workspace\MK64FN1M0xxx12_Project\CMSIS" -I"C:\Users\bruce.graham\Documents\MCUXpressoIDE_11.1.1_3241\workspace\MK64FN1M0xxx12_Project\amazon-freertos\libraries\freertos_plus\standard\tls\include" -

...

  from C:\Users\bruce.graham\Documents\MCUXpressoIDE_11.1.1_3241\workspace\MK64FN1M0xxx12_Project\wifi_qca\common_src\include/driver_cxt.h:32,
from ../wifi_qca/port/boards/frdmk64f/freertos/wifi_shield.c:13:
C:\Users\bruce.graham\Documents\MCUXpressoIDE_11.1.1_3241\workspace\MK64FN1M0xxx12_Project\wifi_qca\custom_src\include/a_osapi.h:108:5: error: #error "Either A_BIG_ENDIAN or A_LITTLE_ENDIAN must be #defined"
# error "Either A_BIG_ENDIAN or A_LITTLE_ENDIAN must be #defined"
^~~~~

 

How should I correct this?

 

Thanks,

Bruce

Outcomes