STM32 Maze Solver v1.0
Proyecto de robot autónomo que resuelve un laberinto mediante un algoritmo de llenado (*Flood Fill*), desarrollado sobre STM32.
Cargando...
Buscando...
Nada coincide
Referencia del archivo sysmem.c

STM32CubeIDE System Memory calls file. Más...

#include <errno.h>
#include <stdint.h>

Funciones

void * _sbrk (ptrdiff_t incr)
 _sbrk() allocates memory to the newlib heap and is used by malloc and others from the C library

Descripción detallada

STM32CubeIDE System Memory calls file.

Autor
Generated by STM32CubeIDE
       For more information about which C functions
       need which of these lowlevel functions
       please consult the newlib libc manual
Atención

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Documentación de funciones

◆ _sbrk()

void * _sbrk ( ptrdiff_t incr)

_sbrk() allocates memory to the newlib heap and is used by malloc and others from the C library

* ############################################################################
* #  .data  #  .bss  #       newlib heap       #          MSP stack          #
* #         #        #                         # Reserved by _Min_Stack_Size #
* ############################################################################
* ^-- RAM start      ^-- _end                             _estack, RAM end --^
* 

This implementation starts allocating at the '_end' linker symbol The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack The implementation considers '_estack' linker symbol to be RAM end NOTE: If the MSP stack, at any point during execution, grows larger than the reserved size, please increase the '_Min_Stack_Size'.

Parámetros
incrMemory size
Devuelve
Pointer to allocated memory