- uart_puts("# TOTAL MEMORY: ");
- addrtohex(MEM_SIZE);
- uart_putc('\n');
- uart_puts("# FREE MEMORY: ");
- addrtohex(mem_free);
- uart_putc('\n');
- uart_puts("# STACK USAGE: ");
- addrtohex(stack_usage);
- uart_putc('\n');
+ cputs("# TOTAL MEMORY: ");
+ cputs(regtohex(SRAM_SIZE));
+ cputchar('\n');
+ cputs("# FREE MEMORY: ");
+ cputs(regtohex(mem_free));
+ cputchar('\n');
+ cputs("# STACK USAGE: ");
+ cputs(regtohex(stack_usage));
+ cputchar('\n');