Commit Graph

11 Commits

Author SHA1 Message Date
Xiang Xiao
054cf3b1cb Change all sizeof(arr)/sizeof(arr[0]) to nitems
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
xuxin19
24319beed3 cmake:migrate apps CMakeLists for canutils
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-09 23:46:21 +08:00
Xiang Xiao
4941182cc6 Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
to support the tristate option correctly and unify the usage

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 14:59:08 +02:00
raiden00pl
b5128c401f canutils/libcanutils: remove redundant SocketCAN error definitions, we already have them in nuttx/can.h 2022-01-23 01:34:23 +08:00
Fotis Panagiotopoulos
bc5d8034f1 Typo fixes. 2022-01-06 10:30:41 +08:00
Alin Jerpelea
1c3d08a738 canutils: libcanutils: add GPL build barrier
Exclude libcanutils from build unless the license is set to
allow GPL code in the build.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-18 13:28:17 -03:00
Alin Jerpelea
c9bee94bd7 apps: canutils: libcanutils: move error.h from NuttX
This file is used by the libcanutils and can be isolated in apps

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-16 09:45:33 -07: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
d671dcc40c canutils/libcanutils/lib.c: Fix a printf format warning 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