You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2016/03/03 02:58:37 UTC

[jira] [Commented] (MYNEWT-186) move sbrk to MCU

    [ https://issues.apache.org/jira/browse/MYNEWT-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176964#comment-15176964 ] 

Marko Kiiskila commented on MYNEWT-186:
---------------------------------------

BSP currently owns data about how things are laid out in memory (linker script + particular version of MCU). Sometimes heap is not even contiguous, and can come from different regions. You'd need to take this into account when implementing generic _sbrk().

I recommend keeping it in BSP.


> move sbrk to MCU
> ----------------
>
>                 Key: MYNEWT-186
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-186
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Paul Dietrich
>
> Seems like this is not necessary to implement for each bps since its pretty standard.  This should probably be moved to the MCU or even to the OS



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)