Memory Allocation
“ram” is not real, but an array existing in the memory.
Memory is allocated through the array rather than the fixed
memory block in μC/OS-II. So drives for the storage devices
must be rewritten when this system is transplanted to a
particular processor, and the start address of the ram array
should be set to the non-volatile storage start address, so as to
save the data in SQLite database.