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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

78 Views
Contributor IV

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

0 Kudos
1 Reply

9 Views
NXP TechSupport
NXP TechSupport

Hi Bruce:

I downloaded the latest SDK_2.7_FRDM-K64F, and tried  qca_demo, it can work on my side.

Please see below picture.

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

pastedImage_1.png

Regards

Daniel

0 Kudos