Hi,
For a project I'm working with the TMS320F28377S. So far my understanding is that embedded c++ should work on this devide. I tried to make a small programm to test the use of classes. Howerver, I do get a message that the code won't fit in the memory.
line 47: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0x3bea page 0. Available memory ranges:
I think this is due to the size of the iostream lib. Usually I would choose to go with a compiler flag such as -W1,-gc-sections. Is this also possible with ccs? or should I do a workaround and not use classes?
my test code:
/**
* testFile to see whether classes do work with the TI launchpad
*
*/
#include <iostream>
//#include <string>
#include <stdio.h>
class testClass{
public:
testClass();
~testClass();
};
testClass::testClass(void){
}
testClass::~testClass(void){
}
void main(void){
//puts("test to see if classes work\n");
//testClass first;
}
can someone help me out?