Commit Graph

78 Commits

Author SHA1 Message Date
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
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Alan Carvalho de Assis
86795c797d Fix libcanard github download link to get it compiling correctly 2017-05-12 16:58:45 -03:00
Alan Carvalho de Assis
ed19c87029 Fix the new can.h header location 2017-05-12 11:58:57 -03:00
Gregory Nutt
cd6a9f8bae Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver. 2016-12-06 08:54:38 -06:00
Gregory Nutt
aaedd7c0ab Got delimiter backward in recent commit 2016-08-04 11:52:16 -06:00
Sebastien Lorquet
a58e09a8ca Add definition for APPNAME in apps/canutils/canlib 2016-08-01 17:32:16 -06:00
Gregory Nutt
256a836a23 apps/canutils/libuavcan: Under certain circumstances, DELIM make not be defined in Makefile 2016-07-28 09:56:37 -06:00
Paul A. Patience
a23d76477e apps/canutils/libcanard: Update version 2016-07-23 16:45:22 -04:00
Gregory Nutt
11ef5ac1b3 (1) Make.defs set the include path in CFLAGS, but not in CXXFLAGS, (2) canutils/libuavcan/Makefile should not use explication / delimiters. It should not use -I. I should use DELIM: command not found and nuttx/tools/incdir.sh 2016-07-21 11:35:13 -06:00
Gregory Nutt
00175d9cf3 Version b28bf6... of apps/canutils/libcanard must not be patched due to moving can.h 2016-07-21 09:13:47 -06:00
Gregory Nutt
0042366255 can.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:39:12 -06:00
Paul A. Patience
dcdf701ecf apps/canutils/libcanard: Define CANARD_ASSERT as DEBUGASSERT 2016-07-06 10:02:57 -04:00
Paul A. Patience
0fd0e5ab40 apps/canutils/libcanard: Update version 2016-07-05 08:52:00 -04:00
Gregory Nutt
da9a682647 Trivial changes from review of PR 2016-06-24 07:10:33 -06:00
Sebastien Lorquet
42039f14a0 Fix make.defs copyright 2016-06-24 10:50:16 +02:00
Sebastien Lorquet
2dbed6449e Remove useless file 2016-06-24 10:48:00 +02:00