David Godfrey / Mbed 2 deprecated z_test_USBHostMSD

Dependencies:   test_USBHost mbed

Fork of USBHostMSD_HelloWorld by Samuel Mokrani

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ramstats.h Source File

ramstats.h

00001 #ifndef RAMSTATS_H
00002     #define RAMSTATS_H
00003 //http://mbed.org/forum/bugs-suggestions/topic/2322/
00004 
00005 // important info on reducing heap useage by converting to static and const where possible
00006 // https://mbed.org/forum/mbed/topic/2698/
00007 // http://mbed.org/handbook/Memory-Model
00008 
00009 // These external symbols are maintained by the linker to indicate the
00010 // location of various regions in the device's memory.  They will be used by
00011 // DisplayRAMBanks() to dump the size of each RAM bank to stdout.
00012 extern unsigned int Image$$RW_IRAM1$$Base;
00013 extern unsigned int Image$$RW_IRAM1$$ZI$$Limit;
00014 extern unsigned int Image$$RW_IRAM2$$Base;
00015 extern unsigned int Image$$RW_IRAM2$$ZI$$Limit;
00016 extern unsigned int Image$$RW_IRAM3$$Base;
00017 extern unsigned int Image$$RW_IRAM3$$ZI$$Limit;
00018  
00019 void DisplayRAMBanks(char * header);
00020 
00021 #endif //RAMSTATS_H