rt-thread/bsp/stm32f7-disco/applications/sram.h

24 lines
584 B
C
Raw Normal View History

2015-08-07 13:30:13 +08:00
/*
* 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
*/
#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