ARM-software / CMSIS_5

CMSIS Version 5 Development Repository
http://arm-software.github.io/CMSIS_5/index.html
Apache License 2.0
1.31k stars 1.08k forks source link

CMSIS-DSP: arm_sin_cos_example_f32.c, How to disable unused functions? #1606

Open Rimatara opened 1 year ago

Rimatara commented 1 year ago

I try to compile arm_sin_cos_example_f32.c in the MPLAB X IDE, XC32, Harmony 3 but I get an error:

commontables.o: Link Error: Could not allocate section .rodata, size = 920376 bytes, attributes = code Link Error: Could not allocate program memory

How and where I can disable unused functions to fit program to ATSAMD21J18 (Cortex-M0+), Data/Program 32k/256k?

Sin_Cos_Example_f32.zip

JonatanAntoni commented 1 year ago

Hi @Rimatara,

please take note that CMSIS-DSP has move off into its own repository at https://github.com/ARM-software/CMSIS-DSP. You might want to raise your question over there.

Cheers, Jonatan

Rimatara commented 1 year ago

Hi Jonatan,

Thank you for letting me know. I posted it there.

Have a nice day, Dan