sram.h 645 B

123456789101112131415161718192021222324
  1. /*
  2. * File : sram.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2015 RT-Thread Develop Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2015-08-03 xiaonong The first version for STM32F7
  13. * 2017-08-25 LongfeiMa transplantation for stm32h7xx
  14. */
  15. #ifndef __SRAM_H__
  16. #define __SRAM_H__
  17. void sram_init(void);
  18. void *sram_malloc(unsigned long nbytes);
  19. void sram_free(void *ptr);
  20. void *sram_realloc(void *ptr, unsigned long nbytes);
  21. #endif