ARM CPU_STACK_MINIMUM_SIZE for a short-memory bsp

Marcos Díaz marcos.diaz at tallertechnologies.com
Tue May 27 15:08:11 UTC 2014


Hi,
We are developing a bsp for a board with very little memory (32k) when
we tried to run tmtest (and others) we encounter that couldnt allocate
more RAM, and one of the things that we saw we could improve is the
stack size passed for each task.
For this there exists the CPU_STACK_MINIMUM_SIZE macro, but
unfortunately it is defined to 4k, which is too much for us
(http://git.rtems.org/rtems/tree/cpukit/score/cpu/arm/rtems/score/cpu.h#n176)
The question is:
Can we change this macro like for the m68k boards:
http://git.rtems.org/rtems/tree/cpukit/score/cpu/m68k/rtems/score/cpu.h#n384
and
http://git.rtems.org/rtems/tree/cpukit/score/cpu/m68k/rtems/score/m68k.h#n160
Is this the correct way to do this?
Thanks!

-- 
______________________________


Marcos Díaz

Software Engineer


San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina


Phone: +54 351 4217888 / +54 351 4218211/ +54 351 7617452

Skype: markdiaz22




More information about the devel mailing list