Frank Benkert
5d3cdff16b
drivers/pipes/Kconfig: Add missing configuration for pipe ring buffer size.
2016-07-08 06:32:58 -06:00
ziggurat29
2cadf783fd
cdcacm_unbind leaks write request objects. This arises due to freeing the
...
bulk IN endpoint before the loop that frees the requests via cdcasm_freereq.
That function checks the parameters and skips the freeing if either is NULL.
Freeing the bulk IN enpoint will cause the first param to be NULL, thereby
bypassing the free operation. To fix, I moved the release of the bulk IN
endpoint until after to loop (much as was the case for the OUT and read
requests, which did not exhibit the problem).
2016-07-07 12:02:23 -05:00
Paul A. Patience
0690391d42
ioexpander/gpio: Add missing argument to gpin_read and gpout_read
2016-07-05 15:55:16 -04:00
Gregory Nutt
02b91d9880
Add a SYSLOG character device that can be used to re-direct output to the SYSLOG
2016-07-05 12:58:18 -06:00
Gregory Nutt
a39ce80add
SYSLOG logic should use existing file interfaces, not re-invent them.
2016-07-05 12:12:44 -06:00
Gregory Nutt
3b825b3e00
Improve a debug assertion
2016-07-05 09:50:54 -06:00
Gregory Nutt
5b6fafb3f5
Several MTD FLASH drivers nullify the freed 'priv' structure and failed to return NULL as stated in the comments. Result, will operate on a NULL pointer later. Noted by David Sidrane.
2016-06-30 17:49:53 -06:00
Gregory Nutt
a897fd4ccf
Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.
2016-06-30 13:09:22 -06:00
Gregory Nutt
7c34a77b54
Move apps/system/usbmonitor to nuttx/drivers/usbmonitor
2016-06-30 12:24:33 -06:00
Gregory Nutt
cbb36416ab
Need to use back- not forward-slash in character constant
2016-06-27 09:52:50 -06:00
Michael Spahlinger
3d5e690977
Shadow-Mode: The output- and configuration registers of the IO-Expander
...
are held in the microcontrollers memory and only written to the IO-Expander.
This reduces bus traffic and is more error-proof than the normal read-
modify-write operation.
Retry Mode: If enabled and an error occurs while writing to the IO-Expander the
current transmission is automatically repeated once.
2016-06-27 08:11:54 -06:00
Gregory Nutt
b16fdaf155
Some small improvements to GPIO driver
2016-06-26 11:24:35 -06:00
Gregory Nutt
db50f13511
Correct some typos in DEBUGASSERT statements
2016-06-24 14:34:21 -06:00
Gregory Nutt
20708c7c5e
GPIO driver: Fix inconsistency in naming; beef up a debug assertion.
2016-06-24 11:32:24 -06:00
Gregory Nutt
ae19ca45e0
drivrs/ioexpander: Add support for a very simple GPIO drivers. It supports only pre-conrigured input and output pins and only basic input and output operations.
2016-06-24 09:43:49 -06:00
Wolfgang Reissnegger
d27ebee070
[sam34][timer] Fix ops check in TCIOC_STOP.
2016-06-23 17:12:24 -07:00
Gregory Nutt
acf3b14fe2
Trivial typo fix in README and document
2016-06-22 16:17:57 -06:00
Gregory Nutt
31b8e52267
Update README and documentatino
2016-06-22 14:47:40 -06:00
Gregory Nutt
0cb137d021
SYSLOG device flush logic not meaningful if SYSLOG file channels not supported
2016-06-22 13:35:53 -06:00
Gregory Nutt
1774ff2ed9
Add SYSLOG documentation to the porting guide
2016-06-22 12:26:54 -06:00
Gregory Nutt
b3acebd292
Update/replace drivers/syslog/README.txt
2016-06-22 10:47:27 -06:00
Gregory Nutt
9c87749afc
SYSLOG device channel: Pre-pending CR to LF is now a configuration option
2016-06-22 10:08:20 -06:00
Gregory Nutt
91b82dcae3
SYSLOG character device channel will now expand LF to CR-LF
2016-06-22 08:36:50 -06:00
Gregory Nutt
82c890db23
syslog_dev_flush() needs to check if the inode is a mountpoint before calling the flush() method. Noted by David Sidrane.
2016-06-22 05:58:33 -06:00
Gregory Nutt
35cb2fb87d
Eliminate a warning
2016-06-21 16:59:46 -06:00
Gregory Nutt
cb55c06153
sched_file_channel(): Comments say that we need to lock the scheduler, but we do not.
2016-06-21 16:39:28 -06:00
Gregory Nutt
8a9bd9af9d
SYSLOG: Some rather complex conditional compilation missed a case.
2016-06-21 15:08:09 -06:00
Gregory Nutt
0e1e3bc404
Add a file that I forgot in the last commit; Also update some comments.
2016-06-21 13:33:17 -06:00
Gregory Nutt
e6a1d53869
Extend SYSLOG logic so that we can send SYSLOG output to a file. Not verified on initial commit.
2016-06-21 12:54:47 -06:00
Paul A. Patience
2f76f6e848
can: Add support for poll
2016-06-21 13:02:46 -04:00
David Sidrane
205a4b8498
Missing EXTERN on global variable declaration
2016-06-21 10:09:09 -06:00
Gregory Nutt
8f0c2cdd13
SYSLOG: Change configuration selections to assure that one and only one SYSLOG device can be selected. Also add a check to assure that it is appropriate to use up_putc as the low-level syslog device. Adds CONFIG_SYSLOG_CONSOLE and CONFIG_SYSLOG_SERIAL_CONSOLE.
2016-06-21 09:59:09 -06:00
Gregory Nutt
5118264e6c
Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG
2016-06-21 09:35:51 -06:00
Gregory Nutt
485aa6b231
SIM: Comment out skip scheduler debug output that can hang the simulation.
2016-06-21 08:59:01 -06:00
Gregory Nutt
c5ac473bc0
SYSLOG: Remove an obsolete, unused configuration item from Kconfig file
2016-06-21 07:58:42 -06:00
Gregory Nutt
62d8f839c7
SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup
2016-06-21 07:52:24 -06:00
Gregory Nutt
5385266756
SYSLOG: Fix a compile problem with assertions enabled.
2016-06-21 07:24:14 -06:00
Sebastien Lorquet
9a22ed1095
Trivial but required change to build SPI EEPPROM driver.
2016-06-21 06:29:26 -06:00
Gregory Nutt
29a99bef0f
serial/Kconfig: Oops put SERIAL_CONSOLE definition within if-endif condition. Better outside
2016-06-20 17:49:16 -06:00
Gregory Nutt
cf1375daf7
Break syslog_channel.c up into syslog_channel.c, syslog_putc.c, syslog_force.c and syslog_flush.c to limited what is brought into the link. Separate syslog_emergstream.c from syslog_stream.c. Didn't help in the case I was looking at.
2016-06-20 17:10:52 -06:00
Gregory Nutt
505ca542e8
Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly
2016-06-20 16:11:50 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
43eb04bb8f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:59:15 -06:00
Gregory Nutt
d40a473f72
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
2016-06-20 09:37:08 -06:00
Gregory Nutt
2b445ddccc
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
2016-06-20 08:57:08 -06:00
Gregory Nutt
5002e27e84
Since syslog_add_intbuffer can now be called from the IDLE thread, it must use a critical section. Also fix an error in circular buffer index handling.
2016-06-20 07:50:07 -06:00
Gregory Nutt
f4c47636e7
SYSLOG: Debug output from the IDLE task should be forced like interrupt level output
2016-06-20 07:35:38 -06:00
Gregory Nutt
fa365e85f5
Update some cmoments
2016-06-20 06:11:22 -06:00
Stefan Kolb
a68232863e
Fix missing implementation of static function
2016-06-20 06:11:21 -06:00
Gregory Nutt
9a19d64610
Reanem syslogstream.c to syslog_steam.c for consistency
2016-06-19 18:19:34 -06:00