I have a project with several large byte arrays. Each array is in a separate file and takes the form:
const uint8_t GAS_8S22[] = {0x80,
0x80, 0x80, 0x80, 0x80, 0x82, 0x7F, 0x73, 0x63, 0x53, 0x47, 0x3F, 0x3D,
.................
0x41, 0x4A, 0x59, 0x65, 0x68, 0x5C, 0x44, 0x2F, 0x2D, 0x45, 0x69};
The array sizes are 73,310, 13,808, 68244, 21,332, and 91,649, but with six characters per byte and a couple of thousand linefeeds the file sizes are 442KB, 84KB, 412KB, 129KB, and 553KB.
I create each file using an off-line editor, and import the files into the project. The import function will only let me import one file per mbed session. (I have to log out, close the browser, open the browser, and log in to load another file.)
I have all five loaded and the program compiles OK gives me a 290K .bin file that seems to work OK, but in the project I cannot open any of the array files to view the data. If I try I get a 'timeout' message and everything hangs. I have to close the browser and start over.
I have a project with several large byte arrays. Each array is in a separate file and takes the form:
const uint8_t GAS_8S22[] = {0x80, 0x80, 0x80, 0x80, 0x80, 0x82, 0x7F, 0x73, 0x63, 0x53, 0x47, 0x3F, 0x3D, ................. 0x41, 0x4A, 0x59, 0x65, 0x68, 0x5C, 0x44, 0x2F, 0x2D, 0x45, 0x69};
The array sizes are 73,310, 13,808, 68244, 21,332, and 91,649, but with six characters per byte and a couple of thousand linefeeds the file sizes are 442KB, 84KB, 412KB, 129KB, and 553KB.
I create each file using an off-line editor, and import the files into the project. The import function will only let me import one file per mbed session. (I have to log out, close the browser, open the browser, and log in to load another file.)
I have all five loaded and the program compiles OK gives me a 290K .bin file that seems to work OK, but in the project I cannot open any of the array files to view the data. If I try I get a 'timeout' message and everything hangs. I have to close the browser and start over.