nuttx-apps/system/ramtest
chenrun1 fd38b95467 system/ramtest.c:New automatic memory acquisition function.
In this change, we have added a malloc from the heap to get the address when the user does not pass an address.
We took into account that the user would be testing the memory after the device was started, but this required them to focus on how to get a piece of address available. To improve the experience of tool users, we can simply ask them to get a size for testing purposes, while also keeping the ability to test for a given address
This change is mainly in the 'parse_commandline' function, so there are a few changes in the way it is used, see usage for details.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-06-26 13:57:11 +08:00
..
Kconfig system/ramtest: Change the default of stack size to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
ramtest.c system/ramtest.c:New automatic memory acquisition function. 2023-06-26 13:57:11 +08:00