Commit Graph

12 Commits

Author SHA1 Message Date
raiden00pl
ed370ec674 cmake: port nxscope and foc and add missing directories 2023-07-14 22:04:35 +08:00
raiden00pl
5eebfbb441 logging/nxscope: do not complete the stream frame if the previous send failed
In this case, the buffer already contains a frame ready to be send
2023-05-15 13:17:47 -03:00
raiden00pl
8726e530d5 logging/nxscope: add an option to disable lock in channels put interfaces
With this option enabled the user can speed up adding a large amount of data to the stream buffer
by minimizing the usage of the nxscope lock interface:

  nxscope_lock(&nxs->nxs);
  nxscope_put_vfloat(&nxs, 0, data0, 1);
  nxscope_put_vfloat(&nxs, 1, data1, 1);
  nxscope_put_vfloat(&nxs, 2, data2, 1);
  nxscope_put_vfloat(&nxs, 3, data3, 1);
  nxscope_unlock(&nxs->nxs);
2023-05-15 13:17:47 -03:00
raiden00pl
a906a76734 logging/nxscope: fix invalid zalloc size for rxbuf 2023-05-15 13:17:47 -03:00
Xiang Xiao
73701cd7cd Replace all strncpy with strlcpy
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-05-08 21:35:16 +03:00
Xiang Xiao
86080a110e apps: Remove the check of CONFIG_SERIAL_TERMIOS
If the code only change c_oflag, c_iflag and c_lflag, not c_cflag in termios.
Follow up the change from kernel: https://github.com/apache/nuttx/pull/8843

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-03-19 14:53:44 -06:00
raiden00pl
a594bbda7c logging/nxscope: add a mention of available client tools for NxScope 2023-02-27 16:04:46 +08:00
raiden00pl
220a5a2ce6 nxscope: use the entire reserved channel length when sending strings
The previous version makes stream data parser too complicated and susceptible to errors.
2023-02-08 10:29:28 +08:00
raiden00pl
3fd4ea8587 nxscope/nxscope_iser.c: wait for device if CONFIG_SERIAL_REMOVALBE=y 2023-02-08 00:34:33 +08:00
raiden00pl
705b87e7a2 logging/nxscope/nxscope_chan.c: fix printf warnings 2023-02-07 20:50:12 +08:00
raiden00pl
efdc1ebf3f move embedlog from system to logging 2023-01-05 21:42:15 +08:00
raiden00pl
cd499f9d37 add the NxScope library - a real-time data logging tool 2022-12-28 01:40:24 +08:00