pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef _SYS_HEAP_PSRAM_H_
#define _SYS_HEAP_PSRAM_H_
#include "sysheap.h" //主要为了共用SYSHEAP_FLAGS
int sysheap_psram_init(void *heap_start, unsigned int heap_size, unsigned int flags);
void *sysheap_psram_alloc(int size, const char *func, int line);
void sysheap_psram_free(void *ptr);
void sysheap_psram_collect_init(void);
int32 sysheap_psram_of_check(void *ptr, uint32 size);
void psram_mm_init(void *start,uint32 size);
#ifdef MPOOL_ALLOC
void sysheap_psram_status(void);
#else
#define sysheap_status()
#endif
#endif