rt-thread-official/bsp/stm32h743-nucleo/applications/sram.h

25 lines
645 B
C
Raw Normal View History

/*
* File : sram.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2015 RT-Thread Develop Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2015-08-03 xiaonong The first version for STM32F7
* 2017-08-25 LongfeiMa transplantation for stm32h7xx
*/
#ifndef __SRAM_H__
#define __SRAM_H__
void sram_init(void);
void *sram_malloc(unsigned long nbytes);
void sram_free(void *ptr);
void *sram_realloc(void *ptr, unsigned long nbytes);
#endif