projects/echo/r_bsp/board/grsakurarx63n/sbrk.c
int8_t  *sbrk(size_t size)                      
{
    int8_t  *p;

    if ((brk + size) > (heap_area.heap + BSP_CFG_HEAP_BYTES))
    {
        /* Empty area size  */
        p = (int8_t *)-1;
    }
    else
    {
        /* Area assignment */
        p = brk;  

        /* End address update */                           
        brk += size;                           
    }

    /* Return result */
    return p;
}
/***********************************************************************************************************************
* Function name: sbrk
* Description  : This function configures MCU memory area allocation.
* Arguments    : size - 
*                    assigned area size
* Return value : Start address of allocated area (pass)
*                -1 (failure)
***********************************************************************************************************************/
Function name: sbrk
Description  : This function configures MCU memory area allocation.
Arguments    : size
assigned area size
Return value : Start address of allocated area (pass)
1 (failure)
Function name : sbrk Description : This function configures MCU memory area allocation . Arguments : size assigned area size Return value : Start address of allocated area ( pass ) 1 ( failure )
int8_t  *sbrk(size_t size)                      
{
    int8_t  *p;
    if ((brk + size) > (heap_area.heap + BSP_CFG_HEAP_BYTES))
    {
        p = (int8_t *)-1;
    }
    else
    {
        p = brk;  
        brk += size;                           
    }
    return p;
}
int8_t * sbrk ( size_t size ) { int8_t * p ; if ( ( brk + size ) > ( heap_area . heap + BSP_CFG_HEAP_BYTES ) ) { p = ( int8_t * ) -1 ; } else { p = brk ; brk += size ; } return p ; }
Function name: sbrk
Description  : This function configures MCU memory area allocation.
Function name : sbrk Description : This function configures MCU memory area allocation .
/* Empty area size  */ /* Area assignment */ /* End address update */ /* Return result */