nuttx-apps/system
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
..
adb system/adb: Replace adb special reset cause with boardctl.h's value 2023-04-23 10:44:43 -07:00
argtable3 [system/argtable3] Add test suite for argtable3 2023-01-25 23:45:29 +02:00
cachespeed apps/system/cachespeed/Make.defs: Fix mistakes in comments 2023-03-07 21:45:12 +02:00
cdcacm Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL 2021-08-06 11:04:35 +02:00
cfgdata Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
cle system/cle: Remove cle_getcursor() 2023-03-17 12:08:04 -03:00
composite Indent the define statement by two spaces 2023-05-21 07:39:53 +03:00
coredump system/coredump: add coredump tool to capture system status 2023-05-25 11:46:22 +08:00
critmon system/critmon: fix warning 2023-04-25 20:00:54 +08:00
cu system/cu: disable error print if SYSTEM_CUTERM_DISABLE_ERROR_PRINT enabled 2023-06-10 02:29:47 +08:00
dhcpc dhcp: Make the option dependence work for usrsock case 2022-11-21 01:02:14 +08:00
dumpstack apps/system/dumpstack/Makefile: fix style 2023-03-21 20:37:38 -03:00
flash_eraseall system: nxstyle fixes 2021-06-11 02:42:05 -05:00
gcov system/gcov: add show usage 2022-09-27 19:39:31 +08:00
hex2bin Rename LIB_ to LIBC_ for all libc Kconfig 2021-08-05 16:42:32 +02:00
hexed change strcpy to strlcpy 2023-02-22 23:09:55 +08:00
hostname system/hostname: Add an option to read the hostname from a file 2022-07-18 12:29:51 +08:00
i2c Indent the define statement by two spaces 2023-05-21 07:39:53 +03:00
input apps: Use MIN/MAX definitions from "sys/param.h" 2023-02-02 00:35:14 +02:00
iptables apps/system: Call arg_freetable before iptables/tcpdump exit 2023-04-24 23:47:45 +08:00
libuv system/libuv: check GCC version before set special flags 2023-02-21 13:57:43 +08:00
lm75 fsutils/examples: Include unistd.h explicitly 2023-02-05 08:46:59 +02:00
lzf Replace all strcat with strlcat 2023-05-08 21:35:16 +03:00
mdio net: fix compiler warning 2023-02-08 00:35:39 +08:00
netdb system: nxstyle fixes 2021-06-11 02:42:05 -05:00
nsh system/nsh: Include missing "unistd.h" header 2023-03-06 18:52:31 +02:00
ntpc Fix the nxstyle warning 2023-05-08 21:35:16 +03:00
nxcamera system/nxcamera: fix sscanf overflow 2023-02-16 19:00:29 +08:00
nxdiag system/nxdiag: Fix issues introduced by #1776 2023-06-03 02:26:33 +08:00
nxlooper system/audio: check if channels are valid 2023-05-26 02:24:28 +08:00
nxplayer system/audio: check if channels are valid 2023-05-26 02:24:28 +08:00
nxrecorder system/audio: check if channels are valid 2023-05-26 02:24:28 +08:00
ping system/ping: remove depends since NETUTILS_PING already contains this check 2022-11-20 19:35:13 +08:00
ping6 system/ping: remove depends since NETUTILS_PING already contains this check 2022-11-20 19:35:13 +08:00
popen Rename task_spawnattr_setstacksize to posix_spawnattr_setstacksize 2022-11-01 09:51:08 +09:00
psmq move embedlog from system to logging 2023-01-05 21:42:15 +08:00
ramspeed system/ramspeed: Allow read and write buffers to be allocated from the heap. 2023-06-23 17:06:09 +08:00
ramtest system/ramtest.c:New automatic memory acquisition function. 2023-06-26 13:57:11 +08:00
readline Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
sched_note system: Fix nxstyle errors 2023-05-10 15:40:06 +02:00
setlogmask apps/system/setlogmask/Make.defs: Fix mistakes in comments 2023-03-07 21:45:12 +02:00
spi Indent the define statement by two spaces 2023-05-21 07:39:53 +03:00
stackmonitor Fixes in asprintf usage. 2023-04-23 17:16:34 +08:00
system Rename task_spawnattr_setstacksize to posix_spawnattr_setstacksize 2022-11-01 09:51:08 +09:00
taskset Replace all strcat with strlcat 2023-05-08 21:35:16 +03:00
tcpdump apps/system: Call arg_freetable before iptables/tcpdump exit 2023-04-24 23:47:45 +08:00
tee Makefile: Uros Platise: update licenses to Apache 2021-06-07 21:35:33 -05:00
telnet netutils: Support telnetd in the kernel mode 2022-11-07 15:24:08 +09:00
telnetd telnetd/Kconfig: cosmetic change 2023-05-13 10:15:02 -03:00
termcurses system: Fix nxstyle errors 2023-05-10 15:40:06 +02:00
trace apps: fix style issues in code 2023-06-11 18:47:50 +08:00
ubloxmodem Replace all strncpy with strlcpy 2023-05-08 21:35:16 +03:00
uniqueid Replace all sprintf with snprintf 2023-05-08 21:35:16 +03:00
uorb apps: correct print specifiers to fix compilation warnings 2023-06-23 12:05:54 +08:00
usbmsc Indent the define statement by two spaces 2023-05-21 07:39:53 +03:00
vi system/vi: Replace strncat with strlcat 2023-05-08 21:35:16 +03:00
ymodem support ymodem transfer on a custom blocksize 2023-04-29 21:23:55 +08:00
zmodem Indent the define statement by two spaces 2023-05-22 11:57:40 +02:00
.gitignore Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06: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