Created
March 16, 2017 20:56
-
-
Save wdwalker/121c80ca4d7613e66d8b477965311649 to your computer and use it in GitHub Desktop.
Bare Bones Blinky Memory Map (built with mbed tools with the release profile and a hardcoded "default_lib": "small" in the targets.json file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wwalker$ python mbed-os/tools/memap.py -d -t GCC_ARM BUILD/LPC1768/GCC_ARM/BBB.map | |
+----------------------------------------+-------+-------+------+ | |
| Module | .text | .data | .bss | | |
+----------------------------------------+-------+-------+------+ | |
| Fill | 35 | 0 | 5 | | |
| Misc/crt0.o | 116 | 0 | 0 | | |
| Misc/crtbegin.o | 108 | 8 | 28 | | |
| Misc/crtend.o | 4 | 0 | 0 | | |
| Misc/crti.o | 8 | 0 | 0 | | |
| Misc/crtn.o | 16 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-abs.o) | 8 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-closer.o) | 32 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-errno.o) | 12 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-fflush.o) | 392 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-findfp.o) | 440 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-fwalk.o) | 60 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-impure.o) | 4 | 100 | 0 | | |
| Misc/libc_nano.a(lib_a-init.o) | 72 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-lseekr.o) | 36 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-memcpy-stub.o) | 22 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-memset.o) | 16 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-nano-freer.o) | 152 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-nano-mallocr.o) | 188 | 0 | 8 | | |
| Misc/libc_nano.a(lib_a-readr.o) | 36 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-reent.o) | 0 | 0 | 4 | | |
| Misc/libc_nano.a(lib_a-sbrkr.o) | 32 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-stdio.o) | 134 | 0 | 0 | | |
| Misc/libc_nano.a(lib_a-writer.o) | 36 | 0 | 0 | | |
| Misc/main.o | 144 | 0 | 4 | | |
| features/FEATURE_LWIP/lpc17_emac.o | 60 | 0 | 0 | | |
| features/FEATURE_LWIP/lwip_sys_arch.o | 20 | 0 | 0 | | |
| hal/mbed_gpio.o | 120 | 0 | 0 | | |
| hal/mbed_pinmap_common.o | 212 | 0 | 0 | | |
| hal/mbed_ticker_api.o | 70 | 0 | 0 | | |
| hal/mbed_us_ticker_api.o | 40 | 0 | 8 | | |
| platform/mbed_alloc_wrappers.o | 8 | 0 | 0 | | |
| platform/mbed_board.o | 120 | 0 | 0 | | |
| platform/mbed_critical.o | 56 | 0 | 5 | | |
| platform/mbed_error.o | 10 | 0 | 0 | | |
| platform/mbed_interface.o | 34 | 0 | 0 | | |
| platform/mbed_retarget.o | 548 | 4 | 264 | | |
| platform/mbed_semihost_api.o | 58 | 0 | 0 | | |
| platform/mbed_wait_api_rtos.o | 58 | 0 | 0 | | |
| rtos/Thread.o | 20 | 0 | 4 | | |
| rtos/rtos_idle.o | 20 | 4 | 0 | | |
| rtos/rtx/HAL_CM.o | 162 | 0 | 0 | | |
| rtos/rtx/HAL_CM3.o | 296 | 0 | 0 | | |
| rtos/rtx/RTX_Conf_CM.o | 321 | 20 | 4952 | | |
| rtos/rtx/rt_CMSIS.o | 1586 | 0 | 28 | | |
| rtos/rtx/rt_Event.o | 208 | 0 | 0 | | |
| rtos/rtx/rt_List.o | 492 | 0 | 48 | | |
| rtos/rtx/rt_Mailbox.o | 276 | 0 | 0 | | |
| rtos/rtx/rt_MemBox.o | 140 | 0 | 0 | | |
| rtos/rtx/rt_Mutex.o | 332 | 0 | 0 | | |
| rtos/rtx/rt_OsEventObserver.o | 0 | 0 | 4 | | |
| rtos/rtx/rt_Robin.o | 96 | 0 | 8 | | |
| rtos/rtx/rt_Semaphore.o | 110 | 0 | 0 | | |
| rtos/rtx/rt_System.o | 302 | 0 | 6 | | |
| rtos/rtx/rt_Task.o | 1208 | 0 | 72 | | |
| rtos/rtx/rt_Time.o | 6 | 0 | 4 | | |
| targets/TARGET_NXP/cmsis_nvic.o | 64 | 0 | 0 | | |
| targets/TARGET_NXP/gpio_api.o | 104 | 0 | 0 | | |
| targets/TARGET_NXP/pinmap.o | 140 | 0 | 0 | | |
| targets/TARGET_NXP/serial_api.o | 1916 | 0 | 240 | | |
| targets/TARGET_NXP/sleep.o | 36 | 0 | 0 | | |
| targets/TARGET_NXP/startup_LPC17xx.o | 272 | 0 | 0 | | |
| targets/TARGET_NXP/system_LPC17xx.o | 164 | 4 | 0 | | |
| targets/TARGET_NXP/us_ticker.o | 168 | 0 | 4 | | |
| Subtotals | 11956 | 140 | 5696 | | |
+----------------------------------------+-------+-------+------+ | |
Allocated Heap: 2048 bytes | |
Allocated Stack: 3072 bytes | |
Total Static RAM memory (data + bss): 5836 bytes | |
Total RAM memory (data + bss + heap + stack): 10956 bytes | |
Total Flash memory (text + data + misc): 12096 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment