improved parsemap

doublebuf
Ondřej Hruška 7 years ago
parent 3bc21254c3
commit c0a4de5da9
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      Makefile
  2. 2
      User
  3. 4
      parsemap.php

@ -12,7 +12,6 @@
DISABLE_DEBUG := 0 DISABLE_DEBUG := 0
DISABLE_MSC := 0 DISABLE_MSC := 0
DISABLE_TEST_UNIT := 0
include User/gex.mk include User/gex.mk
GEX_PLAT=F072_DISCOVERY GEX_PLAT=F072_DISCOVERY

@ -1 +1 @@
Subproject commit 913f431a54cbeb56bf7027b8e84974c89b084e79 Subproject commit c58787c95d84fe1291bc7ded90e5da6a09957207

@ -49,7 +49,7 @@ usort($sections, function($a,$b) {
}); });
echo "--- FLASH ---\n"; echo "--- FLASH ---\n";
$limit = 40; $limit = 50;
foreach($sections as $s) { foreach($sections as $s) {
if ($s->type=='DATA')echo "\033[33m";else echo "\033[32m"; if ($s->type=='DATA')echo "\033[33m";else echo "\033[32m";
echo "{$s->type}\033[0m {$s->addr} \033[96m{$s->size}\033[0m\t". echo "{$s->type}\033[0m {$s->addr} \033[96m{$s->size}\033[0m\t".
@ -96,7 +96,7 @@ usort($sections, function($a,$b) {
}); });
echo "\n--- RAM ---\n"; echo "\n--- RAM ---\n";
$limit = 20; $limit = 30;
foreach($sections as $s) { foreach($sections as $s) {
if ($s->type=='DATA')echo "\033[33m";else echo "\033[32m"; if ($s->type=='DATA')echo "\033[33m";else echo "\033[32m";
echo "{$s->type}\033[0m {$s->addr} \033[96m{$s->size}\033[0m\t". echo "{$s->type}\033[0m {$s->addr} \033[96m{$s->size}\033[0m\t".

Loading…
Cancel
Save