I just integrated CMock which is part of my unit testing framework and i am trying to test a mocked function however i am running into RAM overflow error. Is there a way to reduce the size of CMock or increase that RAM section which is required? I am using an NRF51422 chip but i also have the NRF51822 available if that makes a difference.
Any help is greatly appreciated! Thank you in advance
c:/program files (x86)/gnu tools arm embedded/6 2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: ..\medsens_periph_build/nrf51422_xxac.out section `.bss' will not fit in region `RAM'
c:/program files (x86)/gnu tools arm embedded/6 2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region RAM overflowed with stack
c:/program files (x86)/gnu tools arm embedded/6 2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 13700 bytes
collect2.exe: error: ld returned 1 exit status
RAM: 38148 B 24448 B 156.04%
../drivers_common/Makefile.common.mk:122: recipe for target '..\medsens_periph_build/nrf51422_xxac.out' failed
make: *** [..\medsens_periph_build/nrf51422_xxac.out] Error 1