Versão limpa em 04/09/2014. Telnet funcionando.

Dependencies:   EthernetInterface mbed-rtos mbed NTPClient

Committer:
rebonatto
Date:
Mon Jan 18 18:26:03 2016 +0000
Revision:
43:69afea5f5a4d
Parent:
0:66d8bd1f9d4c
Aquisi??o sem DMA, 256 amostras.; Buffer simples com  copia de buffer para calculo da FFT.; Com telnetr e TFTP ativos. Telnet funcionando sem travar.; Vers?o com WhatDog.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rebonatto 0:66d8bd1f9d4c 1 /*
rebonatto 0:66d8bd1f9d4c 2 * limites.c
rebonatto 0:66d8bd1f9d4c 3 *
rebonatto 0:66d8bd1f9d4c 4 * Created on: 20/07/2014
rebonatto 0:66d8bd1f9d4c 5 * Author: rebonatto
rebonatto 0:66d8bd1f9d4c 6 */
rebonatto 0:66d8bd1f9d4c 7
rebonatto 0:66d8bd1f9d4c 8 #include "limites.h"
rebonatto 0:66d8bd1f9d4c 9
rebonatto 0:66d8bd1f9d4c 10
rebonatto 0:66d8bd1f9d4c 11 // These external symbols are maintained by the linker to indicate the
rebonatto 0:66d8bd1f9d4c 12 // location of various regions in the device's memory. They will be used by
rebonatto 0:66d8bd1f9d4c 13 // DisplayRAMBanks() to dump the size of each RAM bank to stdout.
rebonatto 0:66d8bd1f9d4c 14
rebonatto 0:66d8bd1f9d4c 15 extern unsigned int Image$$RW_IRAM1$$Base;
rebonatto 0:66d8bd1f9d4c 16 extern unsigned int Image$$RW_IRAM1$$ZI$$Limit;
rebonatto 0:66d8bd1f9d4c 17 extern unsigned int Image$$RW_IRAM2$$Base;
rebonatto 0:66d8bd1f9d4c 18 extern unsigned int Image$$RW_IRAM2$$ZI$$Limit;
rebonatto 0:66d8bd1f9d4c 19 extern unsigned int Image$$RW_IRAM3$$Base;
rebonatto 0:66d8bd1f9d4c 20 extern unsigned int Image$$RW_IRAM3$$ZI$$Limit;
rebonatto 0:66d8bd1f9d4c 21
rebonatto 0:66d8bd1f9d4c 22
rebonatto 0:66d8bd1f9d4c 23 // Displays the size of static allocations for each RAM bank as indicated by
rebonatto 0:66d8bd1f9d4c 24 // ARM linker to stdout.
rebonatto 0:66d8bd1f9d4c 25 void DisplayRAMBanks(void)
rebonatto 0:66d8bd1f9d4c 26 {
rebonatto 0:66d8bd1f9d4c 27 printf("Static RAM bank allocations\r\n");
rebonatto 0:66d8bd1f9d4c 28 printf(" Main RAM = %u\r\n", (unsigned int)&Image$$RW_IRAM1$$ZI$$Limit -
rebonatto 0:66d8bd1f9d4c 29 (unsigned int)&Image$$RW_IRAM1$$Base);
rebonatto 0:66d8bd1f9d4c 30 printf(" RAM0 = %u\r\n", (unsigned int)&Image$$RW_IRAM2$$ZI$$Limit -
rebonatto 0:66d8bd1f9d4c 31 (unsigned int)&Image$$RW_IRAM2$$Base);
rebonatto 0:66d8bd1f9d4c 32 printf(" RAM1 = %u\r\n", (unsigned int)&Image$$RW_IRAM3$$ZI$$Limit -
rebonatto 0:66d8bd1f9d4c 33 (unsigned int)&Image$$RW_IRAM3$$Base);
rebonatto 0:66d8bd1f9d4c 34 }