Commit Graph

62 Commits

Author SHA1 Message Date
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
Sebastien Lorquet
c048da320c Basic CAN utility library 2016-06-24 10:45:45 +02:00
Paul A. Patience
0ad9aa35d4 apps/canutils/libcanard: update version 2016-06-22 08:09:32 -04:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
Sebastien Lorquet
880661a284 merge upstream 2016-06-06 11:25:29 +02:00
Gregory Nutt
a442f52a1e apps/canutils/libuavcan: Fix for recent change to STM32 timer frequency definiitions 2016-06-05 09:18:04 -06:00
Sebastien Lorquet
a9aa753fa4 Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
Sebastien Lorquet
bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Sebastien Lorquet
bfff7dc4ca add kmenu files 2016-06-02 15:23:50 +02:00
Paul A. Patience
ff8f175cd2 libuavcan: Delete directories before unpacking 2016-05-25 09:58:43 -04:00
Paul A. Patience
6a0bb1374a libuavcan: Delete libuavcan directory on distclean 2016-05-25 09:44:06 -04:00
Paul A. Patience
1df46096ff libuavcan: Rename uavcan to libuavcan 2016-05-25 09:14:03 -04:00
Gregory Nutt
c663c11764 Merged in paulpatience/nuttx-apps/makefiles (pull request #35)
Simplify some Makefiles
2016-05-12 12:52:26 -06:00
Gregory Nutt
9d972226d7 Merged in paulpatience/nuttx-apps/libcanard (pull request #34)
libcanard: Add libcanard UAVCAN library
2016-05-12 12:51:06 -06:00
Paul A. Patience
6fded1a8e1 Simplify some Makefiles 2016-05-12 14:17:40 -04:00
Paul A. Patience
1556424b92 libcanard: Add libcanard UAVCAN library 2016-05-12 13:13:22 -04:00
Paul A. Patience
aa2bcd0a52 UAVCAN: Fix typo in Makefile 2016-05-09 09:10:04 -04:00