Hello,
I try to use the opus codec on an 52840-DK. The Build and Flash with ARMGCC woks fine (with gcc-arm-none-eabi-8-2019-q3-update) but I'd like to use the debugger from the Segger Studio. When I build the code inside Segger I got these failures.
Generating linker script 'i2s_pca10056.ld'
Linking i2s_pca10056.elf
../../../../../../external/opus/lib/libopus.a(celt.o): in function `celt_fatal':
undefined reference to `_impure_ptr'
../../../../../../external/opus/lib/libopus.a(bands.o): in function `quant_all_bands':
undefined reference to `__memcpy_chk'
../../../../../../external/opus/lib/libopus.a(PLC.o): in function `silk_PLC_conceal':
undefined reference to `__memcpy_chk'
../../../../../../external/opus/lib/libopus.a(decode_core.o): in function `silk_decode_core':
undefined reference to `__memcpy_chk'
Build failed
I found it could be related to the newlib-nano or stdlib. Which lib and where can I change it in Segger Studio or .emProject?