Marko Kiiskila created MYNEWT-530:
-------------------------------------

             Summary: 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


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)

Reply via email to