Hi,
I am wondering if I can use C++ standard library functions in my code. For example, I would like to use "vector", for example,
test_stl.cpp
-------------------------------------------
#include "DSP28x_Project.h"
#include <vector>
using namespace std;
int main()
{
vector<int> a;
}
----------------------------------------------
It looks like it compiles. However, the linker complains
warning: creating output section ".cio" without a SECTIONS specification
"C:\\tidcs\\c28\\DSP2833x\\v131\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd", line 125: error:
placement fails for object ".text", size 0x1dfb (page 0). Available ranges:
RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000
It looks like the memory is not enough to fit in the program. However, I just declare one vector variable. I am just wondering if this is normal.
I am using ccs v3.3, by the way.
Thanks a lot!!