initial publsihed version, working. Tested on LPC1768 and Seed Arch BLE.

Dependencies:   AvailableMemory mbed

Fork of AvailableMemory_HelloWorld by Segundo Equipo

The purpose of this tiny application is to measure Flash and RAM allocation of mbed OS.

lightly extended from

Committer:
segundo
Date:
Tue Dec 21 22:11:25 2010 +0000
Revision:
0:804397913aa2
Child:
2:1ec7d87c70e3

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
segundo 0:804397913aa2 1 #include <stdio.h>
segundo 0:804397913aa2 2 #include "AvailableMemory.h"
segundo 0:804397913aa2 3
segundo 0:804397913aa2 4 int main() {
segundo 0:804397913aa2 5
segundo 0:804397913aa2 6 printf("Available memory (bytes to nearest 256) : %d\n", AvailableMemory());
segundo 0:804397913aa2 7 printf("Available memory (exact bytes) : %d\n", AvailableMemory(1));
segundo 0:804397913aa2 8
segundo 0:804397913aa2 9 }