gaohedong
481d4b6e23
can: Merge netpacket/can.h into nuttx/can.h
...
This patch is associated with 'https://github.com/apache/nuttx/pull/13048 ', so it cannot be verified separately by CI. Please help to associate and review it. Thank you!
Signed-off-by: gaohedong <gaohedong@xiaomi.com>
2024-08-26 05:05:41 -04:00
guoshichao
a6094d81bb
apps/canutils: fix the build warning on greenhills compiler
...
CC: stdlib/lib_srand.c "candump.c", line 231: warning #550-D: variable "ret" was set but never used
int opt, ret;
^
"candump.c", line 101: warning #550-D: variable "cmdlinename" was set but
never used
static char *cmdlinename[MAXSOCK];
^
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2024-08-18 20:05:46 +08:00
xuxin19
24319beed3
cmake:migrate apps CMakeLists for canutils
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-09 23:46:21 +08:00
Petro Karashchenko
07d229f514
canutils: fix indentation in Kconfig files
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-03-26 08:33:05 -06:00
lilei19
41f60bd669
change strcpy to strlcpy
...
Change-Id: I8b9429a3c225a82842fce136bdb14b8b135066d3
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2023-02-22 23:09:55 +08:00
Nathan Hartman
8e77b79f78
Kconfig: Make indent consistent with TABS
2023-02-10 14:11:48 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
raiden00pl
267d198212
canutils/candump: make stacksize configurable
2022-01-23 01:34:23 +08:00
Gregory Nutt
abd444f9ce
candump.c: Must not extern optind, et al
...
optined, et al, are not longer simple globals variables (after incubator-nuttx PR 3170). Redundantly externing them in application code now results in compilation errors.
2021-03-25 03:13:35 -07:00
Michal Lenc
72b3f97e24
canutils: changed print_usage function to static
...
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-02-17 02:27:27 -08:00
chao.an
b5692d8034
style/code: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
YAMAMOTO Takashi
747ca594d6
canutils/candump/candump.c: Fix printf formats
2020-11-24 00:11:33 -08:00
YAMAMOTO Takashi
a875ed2be7
Revert "Fix printf compile warning regarding time_t"
...
This reverts commit 8cde672b5b
.
NuttX's time_t is uint32_t.
It's wrong to assume it either long or int.
2020-11-24 00:11:33 -08:00
Peter van der Perk
8cde672b5b
Fix printf compile warning regarding time_t
2020-11-23 18:30:25 -08:00
YAMAMOTO Takashi
086d8db204
canutils/candump/candump.c: Fix scanf format warnings
2020-11-17 20:12:08 -08:00
YAMAMOTO Takashi
d50feaa2ef
canutils/candump/candump.c: Fix printf format warnings
2020-11-13 05:51:23 -08:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Peter van der Perk
1ae2f4a304
Ported candump & cansend apps from can-utils ( https://github.com/linux-can/can-utils )
2020-06-15 07:23:37 -06:00