Commit Graph

21 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
23dfce6275 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
patacongo
3341e94420 Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00
patacongo
1f5e173a70 Remove BOTHER
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4972 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 15:10:21 +00:00
patacongo
713497f886 Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4970 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 15:37:13 +00:00
patacongo
6071b29253 Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4968 42af7a65-404d-4744-a932-0658087f49c3
2012-07-22 17:41:19 +00:00
patacongo
e467b61785 Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4964 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 21:23:18 +00:00
patacongo
d06e6c83b3 FreeModBus now builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4963 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 16:18:16 +00:00
patacongo
1df7b496dd Add FreeModBus to NuttX build system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4962 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 15:33:53 +00:00
patacongo
3ca48e3ae5 FreeModBus is now integrated with the Nuttx configuration system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4961 42af7a65-404d-4744-a932-0658087f49c3
2012-07-21 14:56:21 +00:00