Gregory Nutt
834e01ea7c
can.c: Fix a couple of missed DLC conversions
2015-08-07 11:41:31 -06:00
Gregory Nutt
007e258c2b
Update some function headers
2015-08-05 16:22:40 -06:00
Gregory Nutt
4b58990362
CAN: Add CAN FD mode as a configuration option
2015-08-05 13:56:48 -06:00
Gregory Nutt
36d4559ee8
CAN: Define IOCTL commands that manage filters
2015-08-05 13:00:31 -06:00
Gregory Nutt
e3decca82c
Cosmetic update to some comments
2015-08-05 08:07:58 -06:00
Gregory Nutt
bf1adc1e55
Another CAN driver fix: From inspection, it appears that RTR counter was not being handled correctly
2015-07-15 19:52:08 -06:00
Gregory Nutt
f41df38b0b
More CAN driver fixes: remove and unused semaphore. Looks to me that waiter counts are not being initialized
2015-07-15 19:27:36 -06:00
Gregory Nutt
048d338808
Another oops. I introduced a but in a previous commit. The CAN read method nees to return an error if sem_wait() fails for any reason
2015-07-15 18:51:31 -06:00
Gregory Nutt
621fef2c31
Some trivial clean up associated with the last commit
2015-07-15 18:43:53 -06:00
Gregory Nutt
320c584888
CAN driver: Fix a problem where the rx_sem count can grow without bounds
2015-07-15 18:20:08 -06:00
Gregory Nutt
1c4863c24e
Trivial update to some comments
2015-02-24 06:41:28 -06:00
Gregory Nutt
4320b1b1a3
CAN driver: Another Ooops... Cannot save the updated driver open count if the we fail to initialize the CAN driver, causing the open to fail
2015-02-23 20:14:39 -06:00
Gregory Nutt
f4a2ebc220
CAN driver: Oop. unlink method does not exist if there operaions on the pseudo filesystem are disabled
2015-02-23 19:49:19 -06:00
Gregory Nutt
ebe289725b
in nuttx/drivers/can.c can_open function:
...
this line "dev->cd_ocount = tmp;" needs to be moved a few lines down otherwise the open count will only be incremented from 0 to 1. This causes problems when trying to open the can bus from two different tasks.
SourceForge Patch #46 from Anonymous
2015-02-23 19:28:52 -06:00
Gregory Nutt
b37c0a832a
Fixes to avoid some hang conditions using STM32 CAN
2014-09-17 08:35:03 -06:00
Gregory Nutt
98cf3b06e5
nuttx/drivers: Remove explicity references to errno. That is a problem from within the kernel for certain configurations
2014-08-28 16:59:06 -06:00
Gregory Nutt
4d25119e62
Fix various typos in comments. From Alan Carvalho de Assis
2014-04-06 09:02:02 -06:00
patacongo
2fe4ad52f8
Move file-system header files to include/nuttx/fs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
ce5f4e643e
Add support for extended (29-bit) CAN IDs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4319 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 21:52:35 +00:00
patacongo
bfc5c3280c
Fix last change; the change was good but will prevent queuing multiple outgoing CAN packets
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4293 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 05:03:51 +00:00
patacongo
f5efcf0cb4
Fix LPC17 CAN driver; TX must be interrupt driven
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4290 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 22:29:39 +00:00
patacongo
c3bf42b97b
Fix buffer full test in generic CAN driver (plus fixes to comments)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4259 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 20:49:47 +00:00
patacongo
93c3e9f7af
Fixes for STM32 ADC driver on the F4; LC17xx LED initial state
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4257 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 23:25:49 +00:00
patacongo
ebafb025a4
STM32 CAN debug fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4214 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 18:28:13 +00:00
patacongo
b0bf66456c
Add the beginning of an STM32 CAN driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4209 42af7a65-404d-4744-a932-0658087f49c3
2011-12-21 15:50:06 +00:00
patacongo
b2f3e916ef
Fix a semphore overflow problem in the CAN driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3890 42af7a65-404d-4744-a932-0658087f49c3
2011-08-18 14:07:52 +00:00
patacongo
f204ed65fe
Correct errors in LPC17xx CAN register defines
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3773 42af7a65-404d-4744-a932-0658087f49c3
2011-07-12 13:29:44 +00:00
patacongo
e385b1074b
Clean-up from big switch to stdint/stdbool
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2362 42af7a65-404d-4744-a932-0658087f49c3
2009-12-16 23:23:46 +00:00
patacongo
9634f25391
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
2009-12-15 14:25:14 +00:00
patacongo
9535a28d7a
Eliminate some hcs12 compile errors/warnings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2329 42af7a65-404d-4744-a932-0658087f49c3
2009-12-13 15:13:37 +00:00
patacongo
aa22bbeb39
All file_operations vtables should be static const
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1871 42af7a65-404d-4744-a932-0658087f49c3
2009-06-10 15:22:49 +00:00
patacongo
17edec8443
Needs conditional compilation for POLL disabled
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1273 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:58:46 +00:00
patacongo
dbda581f26
Add infrastructure to support poll()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 18:48:29 +00:00
patacongo
875ea61fa6
Fix list empty checks
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1159 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:08:41 +00:00
patacongo
da700355ed
Clean compilation with console enabled
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@712 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 20:44:30 +00:00
patacongo
432da54d46
Fix DM320 serial configuration problem
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@661 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 17:25:29 +00:00
patacongo
0fca25b777
Add a generic CAN driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@660 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 00:56:16 +00:00