This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strange programming program

Other Parts Discussed in Thread: DM3730

Hi,

I am using DM3730 SDK in Linux.

In a single C file, the main function is at the bottom of the file.

Above the main function, there are many C functions called by the main function.

In every C function, there is a printf to show which function is being called.

There is no compilation error for the ARM program.

But when I run the program in Linux prompt,  the printfs show only the first few functions are being called.

What could be the problem ?

could it be the problem of  stack size or heap size ?

How to change the stack size or heap size in a Linux makefile ?

Thanks,

Mr Tan

  • Is the makefile using TI compiler tools or CodeSourcery gcc for the build? If it is not the TI tools you would have to look into the documentation for the toolset you are using to find the options for changing stack and heap size. The folks in the Davinci device forum might also be able to provide additional insight as they are more familiar with the Linux SDK.