Peter van der Perk
819c34e975
Add libcanardv1 for Cyphal, rename libcanard to libcanardv0
2022-08-02 17:01:28 +08:00
Xiang Xiao
a12707177b
Remove "| O_BINARY" or " |= O_BINARY" since O_BINARY is 0 now
...
follow nuttx kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-07 20:22:38 +03:00
Alin Jerpelea
5886bf29a1
apps: canutils: Makefiles: update licenses to Apache
...
Update Makefiles to Apache license
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-03-08 01:44:49 +08: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
raiden00pl
f4a1d28fd5
canutils/slcan: make stacksize configurable
2022-01-23 01:34:23 +08:00
raiden00pl
13fcbcb3d1
canutils/cansend: make stacksize configurable
2022-01-23 01:34:23 +08:00
raiden00pl
267d198212
canutils/candump: make stacksize configurable
2022-01-23 01:34:23 +08:00
Fotis Panagiotopoulos
bc5d8034f1
Typo fixes.
2022-01-06 10:30:41 +08:00
Eero Nurkkala
7b48a119ac
canutils: odb_decodepid: fix nxstyle issues
...
Fix the following nxstyle issue on the file:
error: Operator/assignment must be followed with whitespace
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-12-28 02:48:34 -06:00
Eero Nurkkala
2f44643704
canutils: odb_decodepid: fix two debug prints
...
Fix the following printfs, as reported by cppcheck:
canutils/libobd2/obd_decodepid.c:85:9: error: printf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum]
printf("Supported PIDs: %08X\n");
^
canutils/libobd2/obd_decodepid.c:114:9: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]
printf("Throttle position = %d\% \n", (100 * dev->data[3])/255);
^
Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-12-28 02:48:34 -06:00
Petro Karashchenko
5ac15130db
apps: remove space befone newline in logs
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-27 20:52:08 -06:00
Jari van Ewijk
7cbe2db2c9
SLCAN: Fix incorrect format identifier in print function
2021-09-17 08:20:08 -05: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
Alin Jerpelea
8ea16655a6
canutils: fix relative path CI error
...
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
04211ebd86
canutils: canlib: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 22:08:10 -05:00
Alin Jerpelea
dc888ba70f
canutils: update licenses to Apache
...
Alan Carvalho de Assis has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-08 08:43:15 -05:00
Alin Jerpelea
59c607c8dc
Makefile: Sebastien Lorquet: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Alin Jerpelea
34fd877f89
Makefile: Alan Carvalho de Assis: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Alan Carvalho de Assis has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Alin Jerpelea
ec339bc49a
Makefiles: Gregory Nutt: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Xiang Xiao
d3f8f423d5
Include debug.h for xerr/xinfo/xwarn caller
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-24 12:33:17 +09: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
Peter van der Perk
b7ef4fb513
canutils/slcan: use syslog and cleanup
2021-01-21 11:12:14 -03:00
Peter van der Perk
e12e8016f2
canutils/slcan: Add SLCAN utility
2021-01-21 11:12:14 -03:00
Huang Qi
3040c59ae9
Replace all wget with curl
...
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06: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
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
Xiang Xiao
69f013e74e
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ea135b89c6
build: Replace all -I to INCDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
41d88f06e7
Run codespell -w with the latest dictonary again
2020-02-23 07:10:14 -06:00
chao.an
f28eca9dbc
Make.defs: Use complete include path
2020-02-19 12:56:10 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Gregory Nutt
dd35a7cacc
apps/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
2019-05-21 19:08:12 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
a57610c2c4
Remove trailing spaces at the end of lines.
2018-08-13 07:47:26 -06:00
Gregory Nutt
28ce015fbb
Remove canutils/libuavcan and examples/uavcan. libuavcan has not built for a year or so. The basic problem is that as NuttX advances, the old frozen versino of libuavcan has become absolute because it violates the portable POSIX OS interface. No one is maintaining the port so there is no alternative but to remove it.
2018-03-23 07:29:06 -06:00
Alan Carvalho de Assis
a1f1f68b72
apps/canutils/libobd2: Add libobd2 for NuttX
2017-10-28 13:33:30 -06:00