qianchen
2014-May-27 15:08 UTC
[Speex-dev] How to compile speex on STM32F10xxx controller with arm-none-eabi-gcc
Hi I am cpmpile speex using arm-none-eabi-gcc. All files are from STM32F10xxx Speex library firmware provided by ST. The following files I using is under "STM32F10x_Speex_Lib/STM32/libspeex/gcc": filters_cortexM3.h, filters_cortexM3.s, ltp_cortexM3.h, ltp_cortexM3.s, vq_cortexm3.s. When files were compiled, many errors occurred: many functions are undefined, such as "filter_mem16". The stasements is like this: #ifndef OVERRIDE_FILTER_MEM16 void filter_mem16( ... ) { ... } #endif But at the beginning: #ifdef __GNUC__ /* GNU Compiler */ #define OVERRIDE_FILTER_MEM16 #define OVERRIDE_IIR_MEM16 #define OVERRIDE_FIR_MEM16 #include "filters_cortexM3.h" #endif What's wrong with it? Should i modify the files?