mpu设置修改
This commit is contained in:
1 parent
72bbf093b2
commit
efc78addd9
8 files changed
+25
-24
No files matched your search
@@ -20728,9 +20728,9 @@ static malloc_zone_t* _sqliteZone_;
|
||||
** Also used by rt-thread systems if SQLITE_WITHOUT_ZONEMALLOC is defined.
|
||||
*/
|
||||
extern struct rt_memheap sdram_heap,sram_SRAM1,sram_DTCMRAM;
|
||||
//#define SQLITE_MALLOC(x) rt_memheap_alloc(&sram_DTCMRAM,(rt_size_t)x)
|
||||
//#define SQLITE_FREE(x) rt_free(x)
|
||||
//#define SQLITE_REALLOC(x,y) rt_memheap_realloc(&sram_DTCMRAM,(x),(rt_size_t)(y))
|
||||
//#define SQLITE_MALLOC(x) rt_memheap_alloc(&sram_SRAM1,(rt_size_t)x)
|
||||
//#define SQLITE_FREE(x) rt_memheap_free(x)
|
||||
//#define SQLITE_REALLOC(x,y) rt_memheap_realloc(&sram_SRAM1,(x),(rt_size_t)(y))
|
||||
#define SQLITE_MALLOC(x) rt_malloc((rt_size_t)x)
|
||||
#define SQLITE_FREE(x) rt_free(x)
|
||||
#define SQLITE_REALLOC(x,y) rt_realloc((x),(rt_size_t)(y))
|
||||
|
||||
Reference in new issue
Block a user