Ubiquitous/RT-Thread_Fusion_XiUOS/:add xidatong-riscv64 bsp

This commit is contained in:
chunyexixiaoyu
2022-07-12 17:29:41 +08:00
parent a6a50a06a0
commit 229749707f
35 changed files with 5102 additions and 0 deletions
@@ -0,0 +1,11 @@
#include <rtthread.h>
#include <stdlib.h>
size_t get_free_heap_size(void)
{
rt_uint32_t total, used, max;
rt_memory_info(&total, &used, &max);
return total - used;
}