Fail to build wireless examples of SDK_2.2_FRDM-KW41Z in MCUXpressoIDE v10.0.2

cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to build wireless examples of SDK_2.2_FRDM-KW41Z in MCUXpressoIDE v10.0.2

988 Views
simonxian
Contributor II

Hi, I am using MCUXpresso Integrated Development Environment (IDE) v10.0.2(free edition). I have imported several wireless examples from SDK_2.2_FRDM-KW41Z, following the guidance of  FRDM-KW41Z website. But the same error occured when I built them in MCUXpresso IDE v10.0.2, as shown in the screenshot below,('BD_ADDR' undeclared here)

sdk2.2.jpg

bdaddr error.JPG

However, they are successfully built in MCUXpresso IDE v10.0.0 if I import them from SDK again, but it fails if I just open the projects which have been imported and created by IDE v10.0.2. 

buildsuccess.jpg

So, what's wrong with the IDEv10.0.2? And how to solve the problem?

Thanks.

0 Kudos
11 Replies

321 Views
holgerkelch
Contributor I

Same here,

10:55:04 **** Build of configuration Debug for project frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos ****
make -r -j8 all
Building file: ../utilities/fsl_debug_console.c
Building file: ../startup/startup_MKW41Z4.S
Building file: ../source/common/gatt_db/gatt_database.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"utilities/fsl_debug_console.d" -MT"utilities/fsl_debug_console.o" -MT"utilities/fsl_debug_console.d" -o "utilities/fsl_debug_console.o" "../utilities/fsl_debug_console.c"
Invoking: MCU Assembler
arm-none-eabi-gcc -c -x assembler-with-cpp -D__REDLIB__ -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -g3 -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -o "startup/startup_MKW41Z4.o" "../startup/startup_MKW41Z4.S"
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/gatt_db/gatt_database.d" -MT"source/common/gatt_db/gatt_database.o" -MT"source/common/gatt_db/gatt_database.d" -o "source/common/gatt_db/gatt_database.o" "../source/common/gatt_db/gatt_database.c"
Building file: ../source/common/ApplMain.c
Building file: ../source/common/ble_conn_manager.c
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/ApplMain.d" -MT"source/common/ApplMain.o" -MT"source/common/ApplMain.d" -o "source/common/ApplMain.o" "../source/common/ApplMain.c"
Building file: ../source/common/ble_controller_task.c
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/ble_conn_manager.d" -MT"source/common/ble_conn_manager.o" -MT"source/common/ble_conn_manager.d" -o "source/common/ble_conn_manager.o" "../source/common/ble_conn_manager.c"
Invoking: MCU C Compiler
Building file: ../source/common/ble_host_tasks.c
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/ble_controller_task.d" -MT"source/common/ble_controller_task.o" -MT"source/common/ble_controller_task.d" -o "source/common/ble_controller_task.o" "../source/common/ble_controller_task.c"
Building file: ../source/common/ble_init.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/ble_host_tasks.d" -MT"source/common/ble_host_tasks.o" -MT"source/common/ble_host_tasks.d" -o "source/common/ble_host_tasks.o" "../source/common/ble_host_tasks.c"
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/common/ble_init.d" -MT"source/common/ble_init.o" -MT"source/common/ble_init.d" -o "source/common/ble_init.o" "../source/common/ble_init.c"
Finished building: ../startup/startup_MKW41Z4.S
Finished building: ../utilities/fsl_debug_console.c
Finished building: ../source/common/gatt_db/gatt_database.c
 
 
 
Building file: ../source/app_config.c
../source/common/ble_controller_task.c:101:34: error: 'BD_ADDR' undeclared here (not in a function)
 const uint8_t gBDAddress_c[6] = {BD_ADDR};
                                  ^~~~~~~
make: stat: source/mtb.o: Bad file number
make: *** [source/common/ble_controller_task.o] Error 1
make: *** Waiting for unfinished jobs....
Building file: ../source/heart_rate_sensor.c
Invoking: MCU C Compiler
Finished building: ../source/common/ApplMain.c
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/app_config.d" -MT"source/app_config.o" -MT"source/app_config.d" -o "source/app_config.o" "../source/app_config.c"
Finished building: ../source/common/ble_conn_manager.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=1 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4_cm0plus -DCPU_MKW41Z512VHT4 -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\board" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\OSAbstraction\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\freertos" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Flash\Internal" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\GPIO" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Keyboard\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\TimersManager\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LED\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MemManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Lists" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Messaging\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\LowPower\Source\MKW41Z" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\Panic\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\RNG\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\NVM\Source" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\ModuleInfo" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\FunctionLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\SecLib" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\host\config" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\controller\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\hci_transport\interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db\macros" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\source\common\gatt_db" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\battery" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\device_info" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\bluetooth\profiles\heart_rate" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\MWSCoexistence\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\drivers" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\utilities" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\DCDC\Interface" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\framework\XCVR\MKW41Z4" -I"C:\NXP_workspace\frdmkw41z_wireless_examples_bluetooth_heart_rate_sensor_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/heart_rate_sensor.d" -MT"source/heart_rate_sensor.o" -MT"source/heart_rate_sensor.d" -o "source/heart_rate_sensor.o" "../source/heart_rate_sensor.c"
 
 
Finished building: ../source/common/ble_host_tasks.c
Finished building: ../source/common/ble_init.c
 
 
../source/app_config.c:110:20: error: 'gAppUseBonding_d' undeclared here (not in a function)
     .withBonding = gAppUseBonding_d,
                    ^~~~~~~~~~~~~~~~
make: *** [source/app_config.o] Error 1
Finished building: ../source/heart_rate_sensor.c
 

10:55:12 Build Finished (took 8s.475ms)

2017-12-21 10_57_11-About MCUXpresso IDE.png2017-12-21 10_59_00-Dashboard _ MCUXpresso SDK Builder.png

With Version  10.0.2 Build 411 2017-07-11... all OK!

0 Kudos

321 Views
kaiserbhatti
Contributor I

I have same issues, I cannot compile any of wireless example. I did everything as suggested above. I was able to compile wireless example with MCUXpress 1.0.0 but not with MCUXpresso IDE v10.1.0 [Build 589] [2017-11-14] 

below is complie errors I getting with frdmkw41z_wireless_examples_thread_router_eligible_device_freertos example.

20:22:51 **** Build of configuration Debug for project frdmkw41z_wireless_examples_thread_router_eligible_device_freertos ****
make -r -j4 all
Building file: ../startup/startup_MKW41Z4.S
Building file: ../source/mtb.c
Building file: ../utilities/fsl_debug_console.c
Building file: ../source/router_eligible_device_app.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4 -DCPU_MKW41Z512VHT4_cm0plus -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\board" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\OSAbstraction\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\source\App" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\GPIO" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Keyboard\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LED\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Flash\Internal" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MemManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Lists" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Messaging\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Panic\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\RNG\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SecLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FunctionLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\ModuleInfo" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MWSCoexistence\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Shell\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\base\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\config" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\drivers" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\utilities" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\DCDC\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\XCVR\MKW41Z4" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/mtb.d" -MT"source/mtb.o" -MT"source/mtb.d" -o "source/mtb.o" "../source/mtb.c"
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4 -DCPU_MKW41Z512VHT4_cm0plus -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\board" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\OSAbstraction\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\woInvoking: MCU C Compiler
Invoking: MCU Assembler
rkspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\source\App" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\GPIO" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Keyboard\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LED\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Flash\Internal" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MemManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Lists" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Messaging\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Panic\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\RNG\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SecLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FunctionLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\ModuleInfo" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MWSCoexistence\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Shell\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\base\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\config" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\drivers" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\utilities" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\DCDC\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\XCVR\MKW41Z4" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"utilities/fsl_debug_console.d" -MT"utilities/fsl_debug_console.o" -MT"utilities/fsl_debug_console.d" -o "utilities/fsl_debug_console.o" "../utilities/fsl_debug_console.c"
arm-none-eabi-gcc -D__REDLIB__ -DFRDM_KW41Z -DPRINTF_FLOAT_ENABLE=0 -DFSL_RTOS_FREE_RTOS -DCR_INTEGER_PRINTF -DFREEDOM -DDEBUG -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -D__USE_CMSIS -DSDK_OS_FREE_RTOS -DCPU_MKW41Z512VHT4 -DCPU_MKW41Z512VHT4_cm0plus -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\board" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\OSAbstraction\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\source\App" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\GPIO" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Keyboard\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LED\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Flash\Internal" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MemManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Lists" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Messaging\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Panic\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\RNG\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SecLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FunctionLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\ModuleInfo" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MWSCoexistence\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Shell\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\base\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\config" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\drivers" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\utilities" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\DCDC\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\XCVR\MKW41Z4" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\CMSIS" -O0 -fno-common -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/router_eligible_device_app.d" -MT"source/router_eligible_device_app.o" -MT"source/router_eligible_device_app.d" -o "source/router_eligible_device_app.o" "../source/router_eligible_device_app.c"
arm-none-eabi-gcc -c -x assembler-with-cpp -D__REDLIB__ -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\board" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\OSAbstraction\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\freertos" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\source\App" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\mac\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\GPIO" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Keyboard\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\TimersManager\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LED\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\SPI_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\UART_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Source\I2C_Adapter" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Flash\Internal" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MemManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Lists" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Messaging\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Panic\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\RNG\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SerialManager\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\SecLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FunctionLib" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\ModuleInfo" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\MWSCoexistence\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\Shell\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\NVM\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\FSCI\Source" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Interface\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\LowPower\Source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\base\interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\config" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\common" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\drivers" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\utilities" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\DCDC\Interface" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\framework\XCVR\MKW41Z4" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\ieee_802.15.4\phy\source\MKW41Z" -I"C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\CMSIS" -g3 -mcpu=cortex-m0plus -mthumb -D__REDLIB__ -specs=redlib.specs -o "startup/startup_MKW41Z4.o" "../startup/startup_MKW41Z4.S"
In file included from C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules/ip_if_management.h:49:0,
from ../source/router_eligible_device_app.c:49:
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules/ip.h:61:2: error: #error "Cannot disable both IPv6 and IPv4"
#error "Cannot disable both IPv6 and IPv4"
^~~~~
In file included from C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules/stack_manager_if.h:47:0,
from C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread/thread_types.h:54,
from C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\base\interface/shell_ip.h:45,
from ../source/router_eligible_device_app.c:54:
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\modules/nd.h:876:5: error: unknown type name 'routePrefFlags_e'
routePrefFlags_e defaultRoutePref;
^~~~~~~~~~~~~~~~
In file included from ../source/router_eligible_device_app.c:58:0:
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread/thread_app_callbacks.h:78:34: error: unknown type name 'dhcp6ClientStartParams_t'
nwkStatus_t (*pfClientStart)(dhcp6ClientStartParams_t *pDhcp6ClientStartParams);
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread/thread_app_callbacks.h:80:34: error: unknown type name 'dhcp6ServerStartParams_t'
nwkStatus_t (*pfServerStart)(dhcp6ServerStartParams_t *pDhcp6StartParams);
^~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\core\interface\thread/thread_app_callbacks.h:88:37: error: unknown type name 'dhcp6ClientSetAddrCb_t'
void (*pfClientRegisterSetAddr)(dhcp6ClientSetAddrCb_t pfDhcp6ClientSetAddr);
^~~~~~~~~~~~~~~~~~~~~~
Finished building: ../startup/startup_MKW41Z4.S
In file included from ../source/router_eligible_device_app.c:60:0:
C:\Users\Kaiser\Documents\MCUXpressoIDE_10.1.0_589\workspace\frdmkw41z_wireless_examples_thread_router_eligible_device_freertos\nwk_ip\app\config/app_stack_config.h:65:6: error: #error "Please select one configuration."
Finished building: ../utilities/fsl_debug_console.c
#error "Please select one configuration."
^~~~~
../source/router_eligible_device_app.c: In function 'APP_CoapTempCb':
../source/router_eligible_device_app.c:1307:17: warning: implicit declaration of function 'shell_printf' [-Wimplicit-function-declaration]
shell_printf((char*)temp);
^~~~~~~~~~~~
make: *** [source/router_eligible_device_app.o] Error 1
make: *** Waiting for unfinished jobs....


Finished building: ../source/mtb.c

20:22:52 Build Finished (took 1s.365ms)

0 Kudos

321 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Can you please log in to mcuxpresso.nxp.com and try to download a new version of the KW41 SDK

Then within the IDE, delete the projects that you previously imported (inside the Project Explorer view), and within the "Installed SDKs" view, delete your existing SDK install.

Then install your freshly downloaded SDK, and then try importing multiple examples. If you continue to see problems when you build these examples, can you please confirm the exact examples you have imported and which fail?

Regards,

MCUXpresso IDE Support

321 Views
lukaskrupp
Contributor II

I recognized that there was an old version of MCUXpresso IDE additionally installed on my computer.

By uninstalling this old version, the new version and the SDK and reinstalling the current IDE I was able to solve the problem.

Regards and thanks for your help,

Lukas Krupp

0 Kudos

321 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Can you clarify exactly what the errors you see in the build log are? [See section 16.8, "The Console View" of the MCUXpresso IDE v10.1.0 User Guide for details of how to capture these].

In addition, can you confirm if you imported one example or multiple examples from the IDE's "Import SDK Example(s)..." wizard? If you imported only one, does imported several examples at the same time then allow those examples to build?

Regards,

MCUXpresso IDE Support

0 Kudos

321 Views
lukaskrupp
Contributor II

The exact error is as follows:

../source/common/ble_controller_task.c:101:34: error: 'BD_ADDR' undeclared here (not in a function)
 const uint8_t gBDAddress_c[6] = {BD_ADDR};
                                                         ^~~~~~~
make: *** [source/common/ble_controller_task.o] Error 1
make: *** Waiting for unfinished jobs....

So this is the same error as mentioned above.

In both cases, so with only one and with several imported examples I receive the error. But I recognized that I can build the examples ble_relay_proxy and ble_shell without problems although they also utilize the function ble_controller_task.c in which the undeclared BD_ADDR can be found.

 

Regards,

Lukas Krupp

0 Kudos

321 Views
lukaskrupp
Contributor II

Hello,

today I encountered the same problem. I tried to solve it via the explanation above but the error remains.

I have the latest MCUXPressoIDE 10.1.0 Build 589 and the SDK 2.2.0 from 2017-08-18.

Is there any chance to solve this problem in another way?

Thanks in advance

0 Kudos

321 Views
lpcxpresso_supp
NXP Employee
NXP Employee

When did you download your SDK? I believe that there was a new build of the KW41 SDK made available shortly before MCUXpresso IDE v10.0.2 was released that fixed an SDK issue  (exposed by changes in MCUXpresso IDE v10.0.2).

Thus a good starting point would be to log in to http://mcuxpresso.nxp.com/ and see if you have an SDK update available.

Regards,

MCUXpresso IDE Support

0 Kudos

321 Views
simonxian
Contributor II

I downloaded the SDK_2.2_FRDM-KW41Z at about July 20th, almost the same day I installed the MCUXpresso IDE v10.0.2. Is it new enough? And I dowloaded the SDK through the online SDK Builder again at July 24. Neither can be built successfully. So I had to switch to IDE v10.0.0 a few days ago. I can only try to download and install the newest SDK in future, for I must go on the project in IDE v10.0.0 recently.

Thank you!

0 Kudos

321 Views
lpcxpresso_supp
NXP Employee
NXP Employee

To explore this problem, I have downloaded the KW41z SDK  from the SDK builder and imported the example 'frdmkw41z_wireless_examples_hybrid_ble_thread_router_wireless_uart_freertos'. I see this build without error in MCUXpresso IDE 10.0.2 build 411.

Now there have been changes made to this SDK, so please can I ask you to do the following to ensure you are using the latest SDK for this part.

1 - from within MCUXpresso IDE, select the installed SDK tab. Right click on the SDK_2x_FRDM-KW41z entry and select Delete SDK

2 - go to the the SDK builder page at:

Welcome to MCUXpresso | MCUXpresso Config Tools 

From here go to Manage -> Manage Existing Configurations and ensure that there is no KW41 SDK present in your list of configurations. If one is present, please delete the entry.

Then request a new SDK build of the KW41 SDK and install that into MCUXpresso IDE 10.0.2 and import and build the above example. I believe you will see this build without error.

Yours,

MCUXpresso IDE support

321 Views
simonxian
Contributor II

Well, this problem has been solved following the way you mentioned. I uninstalled the IDE v10.0.0 and installed the IDE v10.0.2 again, then requested and re-downloaded the SDK from the SDK builder page. The examples imported from the SDK have been built without any error now. But error still remains for the SDK downloaded from the link marked in the following picture of page(FRDM-KW41Z|Freedom Development Kit|NXP ), so maybe you should update it. 

Thank you very much for help.

sdkdown1.JPG

0 Kudos