Hello!
1-st question - how can i set preprocessor defines using SES and NRF connect options?
When i set define like: ARM_MATH_CM3 in proj.conf file, i get an error "malformed line".
2-nd question: Ok, i set ARM_MATH_CM3 define in arm_math.h file. Include lines with sources in CMakeLuists.txt
Fullscreen
1
2
3
4
5
include_directories(src/Include)
target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_f32.c)
target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_radix8_f32.c)
target_sources(app PRIVATE src/Source/CommonTables/arm_common_tables.c)
target_sources(app PRIVATE src/Source/CommonTables/arm_const_structs.c)
But i get an errors after rebuiling the project like
Fullscreen
1
2
3
4
5
6
7
8
9
#ifndef __IM /*!< Fallback for older CMSIS versions */
#define __IM __I
#endif
#ifndef __OM /*!< Fallback for older CMSIS versions */
#define __OM __O
#endif
#ifndef __IOM /*!< Fallback for older CMSIS versions */
#define __IOM __IO
#endif
"Unknown type name _I" etc
There is something wrong with my steps of including DSP lib.
How should i correctly include and use math functions in NRF9160?
Best regards.