[
https://issues.apache.org/jira/browse/MYNEWT-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marko Kiiskila resolved MYNEWT-530.
-----------------------------------
Resolution: Fixed
Fix Version/s: v1_0_0_beta2
We're doing this now.
> change assert() to not record filename/line number, instead use $pc
> -------------------------------------------------------------------
>
> Key: MYNEWT-530
> URL: https://issues.apache.org/jira/browse/MYNEWT-530
> Project: Mynewt
> Issue Type: Improvement
> Components: Baselibc
> Reporter: Marko Kiiskila
> Assignee: Marko Kiiskila
> Fix For: v1_0_0_beta2
>
>
> Use e.g. __builtin_return_address(0) to get the current address.
> Currently penalty is pretty high:
> strings
> bin/targets/bleprph_oic_nrf52/app/apps/bleprph_oic/bleprph_oic.elf.bin | grep
> repos | wc
> 61 61 3466
> That's 3k of flash space used for storing strings.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)