SiliconLabs / tflite-micro-efr32-examples

Apache License 2.0
3 stars 2 forks source link

build efr32xg24_dev_kit hello_world example fail #1

Open machinemoon opened 1 year ago

machinemoon commented 1 year ago

I encountered the following error after executing make file. How can I solve it? Thank you.

make -f tflite_micro_hello_world.Makefile ARM_GCC_DIR=/home/bill/gcc-arm-tool/gcc-arm-none-eabi-10.3-2021.10/ No pre-build defined Building ../../../gecko_sdk/hardware/board/src/sl_board_control_gpio.c Building ../../../gecko_sdk/hardware/board/src/sl_board_init.c Building ../../../gecko_sdk/hardware/driver/mx25_flash_shutdown/src/sl_mx25_flash_shutdown_eusart/sl_mx25_flash_shutdown.c Building ../../../gecko_sdk/platform/common/src/sl_assert.c Building ../../../gecko_sdk/platform/common/src/sl_slist.c Building ../../../gecko_sdk/platform/common/toolchain/src/sl_memory.c Building ../../../gecko_sdk/platform/Device/SiliconLabs/EFR32MG24/Source/startup_efr32mg24.c Building ../../../gecko_sdk/platform/Device/SiliconLabs/EFR32MG24/Source/system_efr32mg24.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_math.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_add.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_conv2d.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_depthwise_conv2d.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_fully_connected.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_pooling.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_ml_transpose_conv2d.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_power.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_program_area.c Building ../../../gecko_sdk/platform/driver/mvp/src/sl_mvp_util.c Building ../../../gecko_sdk/platform/driver/mvp/src/sli_mvp_ml_depthwise_conv2d.cc Building ../../../gecko_sdk/platform/driver/mvp/src/sli_mvp_ml_depthwise_conv2d_opt.c Building ../../../gecko_sdk/platform/driver/pwm/src/sl_pwm.c Building ../../../gecko_sdk/platform/emdrv/dmadrv/src/dmadrv.c Building ../../../gecko_sdk/platform/emlib/src/em_burtc.c Building ../../../gecko_sdk/platform/emlib/src/em_cmu.c Building ../../../gecko_sdk/platform/emlib/src/em_core.c Building ../../../gecko_sdk/platform/emlib/src/em_emu.c Building ../../../gecko_sdk/platform/emlib/src/em_eusart.c Building ../../../gecko_sdk/platform/emlib/src/em_gpio.c Building ../../../gecko_sdk/platform/emlib/src/em_ldma.c Building ../../../gecko_sdk/platform/emlib/src/em_msc.c Building ../../../gecko_sdk/platform/emlib/src/em_system.c Building ../../../gecko_sdk/platform/emlib/src/em_timer.c Building ../../../gecko_sdk/platform/peripheral/src/peripheral_sysrtc.c Building ../../../gecko_sdk/platform/service/device_init/src/sl_device_init_dcdc_s2.c Building ../../../gecko_sdk/platform/service/device_init/src/sl_device_init_emu_s2.c Building ../../../gecko_sdk/platform/service/device_init/src/sl_device_init_hfxo_s2.c Building ../../../gecko_sdk/platform/service/device_init/src/sl_device_init_lfxo_s2.c Building ../../../gecko_sdk/platform/service/device_init/src/sl_device_init_nvic.c Building ../../../gecko_sdk/platform/service/iostream/src/sl_iostream.c Building ../../../gecko_sdk/platform/service/iostream/src/sl_iostream_eusart.c Building ../../../gecko_sdk/platform/service/iostream/src/sl_iostream_retarget_stdio.c Building ../../../gecko_sdk/platform/service/iostream/src/sl_iostream_uart.c Building ../../../gecko_sdk/platform/service/sleeptimer/src/sl_sleeptimer.c Building ../../../gecko_sdk/platform/service/sleeptimer/src/sl_sleeptimer_hal_burtc.c Building ../../../gecko_sdk/platform/service/sleeptimer/src/sl_sleeptimer_hal_sysrtc.c Building ../../../gecko_sdk/platform/service/system/src/sl_system_init.c Building ../../../gecko_sdk/platform/service/system/src/sl_system_process_action.c Building ../../../gecko_sdk/platform/service/udelay/src/sl_udelay.c Building ../../../gecko_sdk/platform/service/udelay/src/sl_udelay_armv6m_gcc.S Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ActivationFunctions/arm_nn_activations_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ActivationFunctions/arm_relu6_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ActivationFunctions/arm_relu_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ActivationFunctions/arm_relu_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_add_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_mul_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/BasicMathFunctions/arm_elementwise_mul_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_w.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_x.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_y.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConcatenationFunctions/arm_concatenation_s8_z.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1_x_n_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_HWC_q7_fast_nonsquare.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_s8_fast.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_fast_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_basic.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q15_fast_nonsquare.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_basic_nonsquare.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_fast_nonsquare.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_HWC_q7_RGB.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_wrapper_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_wrapper_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_3x3_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_s8_opt.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_u8_basic_ver1.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_conv_wrapper_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_depthwise_separable_conv_HWC_q7_nonsquare.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_depthwise_conv_s8_core.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_s8_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_mat_q7_vec_q15_opt.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q15_opt.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_q7_opt.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/FullyConnectedFunctions/arm_fully_connected_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_accumulate_q7_to_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_add_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_padded_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_depthwise_conv_nt_t_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_1x_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_core_4x_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mul_kernel_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mat_mult_nt_t_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_mult_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nn_vec_mat_mult_t_svdf_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_nntables.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_no_shift.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_no_shift.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_reordered_with_offset.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/NNSupportFunctions/arm_q7_to_q15_with_offset.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/PoolingFunctions/arm_avgpool_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/PoolingFunctions/arm_avgpool_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/PoolingFunctions/arm_max_pool_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/PoolingFunctions/arm_max_pool_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/PoolingFunctions/arm_pool_q7_HWC.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/ReshapeFunctions/arm_reshape_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_nn_softmax_common_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q15.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_s8_s16.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_u8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SoftmaxFunctions/arm_softmax_with_batch_q7.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/cmsis/CMSIS/NN/Source/SVDFunctions/arm_svdf_s8.c Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/add.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/conv.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/debug_log.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/depthwise_conv.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/fully_connected.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/pooling.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/siliconlabs/transpose_conv.cc Building ../../../gecko_sdk/util/third_party/tensorflow_extra/src/sl_tflite_micro_init.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/c/common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/core/api/error_reporter.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/core/api/flatbuffer_conversions.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/core/api/op_resolver.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/core/api/tensor_utils.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/kernels/internal/quantization_util.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/kernels/kernel_util.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/all_ops_resolver.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/arena_allocator/recording_simple_memory_allocator.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/arena_allocator/simple_memory_allocator.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/cortex_m_generic/micro_time.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/fake_micro_context.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/flatbuffer_utils.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/activations.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/activations_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/add_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/add_n.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/arg_min_max.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/assign_variable.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/batch_to_space_nd.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/broadcast_args.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/broadcast_to.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/call_once.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/cast.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/ceil.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/circular_buffer.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/circular_buffer_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/mul.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/softmax.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/svdf.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/comparisons.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/concatenation.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/conv_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/cumsum.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/depth_to_space.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/depthwise_conv_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/dequantize.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/dequantize_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/detection_postprocess.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/elementwise.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/elu.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/ethosu.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/exp.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/expand_dims.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/fill.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/floor.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/floor_div.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/floor_mod.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/fully_connected_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/gather.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/gather_nd.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/hard_swish.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/hard_swish_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/if.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/kernel_runner.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/kernel_util.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/l2_pool_2d.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/l2norm.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/leaky_relu.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/leaky_relu_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/log_softmax.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/logical.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/logical_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/logistic.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/logistic_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/lstm_eval.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/maximum_minimum.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/micro_tensor_utils.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/mirror_pad.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/mul_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/neg.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/pack.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/pad.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/pooling_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/prelu.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/prelu_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/quantize.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/quantize_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/read_variable.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/reduce.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/reshape.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/resize_bilinear.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/resize_nearest_neighbor.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/round.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/shape.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/slice.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/softmax_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/space_to_batch_nd.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/space_to_depth.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/split.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/split_v.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/squeeze.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/strided_slice.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/sub.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/sub_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/svdf_common.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/tanh.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/transpose.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/unidirectional_sequence_lstm.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/unpack.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/var_handle.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/while.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/kernels/zeros_like.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/memory_helpers.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/memory_planner/greedy_memory_planner.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/memory_planner/linear_memory_planner.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/memory_planner/non_persistent_buffer_planner_shim.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_allocation_info.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_allocator.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_context.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_error_reporter.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_graph.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_interpreter.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_profiler.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_resource_variable.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_string.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/micro_utils.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/mock_micro_graph.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/recording_micro_allocator.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/system_setup.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/test_helper_custom_ops.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/micro/test_helpers.cc Building ../../../gecko_sdk/util/third_party/tflite-micro/tensorflow/lite/schema/schema_utils.cc Building app.c Building autogen/sl_board_default_init.c Building autogen/sl_device_init_clocks.c Building autogen/sl_event_handler.c Building autogen/sl_iostream_handles.c Building autogen/sl_iostream_init_eusart_instances.c Building autogen/sl_pwm_init.c Building hello_world/constants.cc Building hello_world/hello_world_model_data.cc Building hello_world/main_functions.cc Building hello_world/sl_output_handler.cc Building main.c Building tflite_micro_hello_world.c Linking build/debug/tflite_micro_hello_world.out /home/bill/gcc-arm-tool/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld:../../../gecko_sdk/platform/CMSIS/libs/GCC/cortex-m33/libCMSISDSPBasicMath.a: file format not recognized; treating as linker script /home/bill/gcc-arm-tool/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld:../../../gecko_sdk/platform/CMSIS/libs/GCC/cortex-m33/libCMSISDSPBasicMath.a:1: syntax error collect2: error: ld returned 1 exit status tflite_micro_hello_world.Makefile:160: recipe for target 'build/debug/tflite_micro_hello_world.out' failed make: *** [build/debug/tflite_micro_hello_world.out] Error 1

marjonz commented 2 weeks ago

Linking build/debug/tflite_micro_hello_world.out /home/bill/gcc-arm-tool/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld:../../../gecko_sdk/platform/CMSIS/libs/GCC/cortex-m33/libCMSISDSPBasicMath.a: file format not recognized; treating as linker script

here's your problem as specified by the linker. you are not linking the library properly in the makefile, try to add the compile switch -lCMSISDSPBasicMath instead of explicitly adding the libCMSISDSPBasicMath.a