Xiang Xiao
1154735ca6
Refine the preprocess conditional guard style
2020-01-31 11:04: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
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08: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
e829f047bc
apps/; Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:37:19 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Nathan Hartman
da4c2461a6
apps/README.txt: Fix typos.
2019-08-02 12:36:22 -06:00
Alan Carvalho de Assis
2973c48ca0
apps/modbus/Kconfig: Fix modbus master Kconfig. Modbus Master ASCII compiles correctly
2019-01-28 17:55:58 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Xiang Xiao
5304ec5eec
Replace all ASSERT calls to DEBUGASSERT
2018-08-24 06:19:35 -06:00
Gregory Nutt
a57610c2c4
Remove trailing spaces at the end of lines.
2018-08-13 07:47:26 -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
Daniel Agar
ecab40da6a
remove extra semicolons
2017-06-04 12:25:32 -04:00
Gregory Nutt
13911d9b17
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:40:03 -06:00
Gregory Nutt
81645fe18f
strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 15:58:15 -06:00
Vytautas Lukenskas
e3eacfe985
Modbus Master is missing many files and doesn't compile at all. I'm attaching diff with my implementation. More details in https://groups.yahoo.com/neo/groups/nuttx/conversations/topics/13734
2016-11-03 07:54:32 -06:00
Gregory Nutt
3e83aa7388
Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt.
2016-07-11 10:45:17 -06:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Gregory Nutt
515107e3e0
apps/modbus/nuttx/portserial.c: Was not returning an error on failure to open the device driver. From Olololshka kokoko
2016-03-16 06:31:48 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
e3ad56043e
Standardize naming used for public data and function groupings
2015-10-02 16:20:33 -06:00
Stefan Kolb
21a33d9b7a
Fix modbus compile error if CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED is enabled
2015-09-24 06:38:07 -06:00
Stefan Kolb
71d944a5d0
Macros PR_BEGIN_EXTERN_C and PR_END_EXTERN_C were not defined in all contexts. Remove definition and replace with explicit expansion. From Stefan Kolb
2015-09-03 07:00:39 -06:00
Gregory Nutt
74801cf38e
apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced
2015-08-11 17:49:10 -06:00
Gregory Nutt
d5b6949c9f
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:14:53 -06:00
Gregory Nutt
8475fcc11a
Add master support to modbus. From Darcy Gong
2015-04-11 09:37:31 -06:00
Gregory Nutt
108a6bf660
Add Modbus RTU master logic. From Darcy Gong
2015-04-11 08:18:47 -06:00
Gregory Nutt
5de72252a8
Add Modbus master logic. From Darcy Gong
2015-04-11 08:07:16 -06:00
Gregory Nutt
9da006f916
Minor updates to README files
2015-04-10 11:33:01 -06:00
Gregory Nutt
44d966b0a1
apps/modbus: That completes a complete pass; all of the modbus files a little closer to NuttX coding style. Still not compliant with naming conventions
2015-04-07 16:48:09 -06:00
Gregory Nutt
00a091a840
Modbus: changes to more C file to make them more compatible with NuttX coding style
2015-04-07 16:12:49 -06:00
Gregory Nutt
c36f2fd564
Modbus: changes to several C file to make them more compatible with NuttX coding style
2015-04-07 15:57:52 -06:00
Gregory Nutt
b1151ef033
Modbus: Change to more header files to make them a little more consistent with Nuttx coding stanards. Still not very close
2015-04-07 15:01:39 -06:00
Gregory Nutt
6ad0579b85
Modbus: Misc cleanup
2015-04-07 12:16:15 -06:00
Gregory Nutt
ab30957caa
Minor changes to SAMV7 USB register definition file from review
2015-04-06 13:00:48 -06:00
Gregory Nutt
5b97e23c90
apps/modbus: Fix some complile problems when TCP is enabled
2015-04-06 10:57:50 -06:00
Gregory Nutt
23dfce6275
Suffer the consequences of moving struct timeval to its correct location
2015-02-15 15:18:35 -06:00
Gregory Nutt
846dd0e45d
Fixes for more cppcheck complaints. Mostly cosmetic
2014-11-25 15:14:28 -06:00
Gregory Nutt
d6bcd1a93a
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
2014-09-06 08:00:47 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
Gregory Nutt
424fbe6583
.dSYM only needs to be in the same .gitignore files as .exe
2013-05-30 15:02:04 -06:00
Gregory Nutt
f9ab52bb5a
Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files
2013-05-30 14:45:31 -06:00
Gregory Nutt
5a6f09d791
Mostly updates and corrections to .gitignore files
2013-04-04 15:39:50 -06:00
Gregory Nutt
470a04b8f9
Clone svn:ignore directory atributed to .gitignore files
2013-04-04 14:27:29 -06:00
patacongo
5ff8bb8c4f
Minor changes to make OS test more robust in the presence of many memory allocation failures
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5672 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 00:56:59 +00:00
patacongo
b104cce86b
Remove .context kludge from apps/ directory
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5455 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 22:17:09 +00:00
patacongo
08f0823241
Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00