Gregory Nutt
417236e91f
Merged in paulpatience/nuttx/can (pull request #67 )
...
can: Add support for poll
2016-06-21 11:03:12 -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
Sebastien Lorquet
8b1a607671
Here is a patch to
...
-remove a wrong comment in atmel mcan ioctl
-add ioctls to set/get bit timing in stm32l4
-add ioctl hooks to allow future management of can id filters.
2016-06-21 06:21:54 -06:00
Gregory Nutt
951c71041d
Merged in paulpatience/nuttx/assert (pull request #66 )
...
assert: Don't define static_assert in C++
2016-06-21 05:59:55 -06:00
Gregory Nutt
2f04fb63fa
Update some README files
2016-06-21 05:36:28 -06:00
Gregory Nutt
7f16548f57
Replaces last three commits. Does the same thing, but does it in a way that does not change the usage model.
2016-06-21 05:26:08 -06:00
Paul A. Patience
983ccf1b0a
assert: Don't define static_assert in C++
2016-06-21 07:17:29 -04:00
Gregory Nutt
bf0499aca3
Eliminate another warning
2016-06-20 22:58:39 -06:00
Gregory Nutt
c05da80a27
Eliminate a warning
2016-06-20 22:54:58 -06:00
Gregory Nutt
b82743612f
Even the 'unconditional' _alert() macro should be disabled if all debug features are disabled.
2016-06-20 22:38:54 -06:00
Gregory Nutt
aab77a944d
_warn(), not warn()
2016-06-20 22:32:34 -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
645603e6d1
Fix a malformed warn() statement
2016-06-20 16:28:37 -06:00
Gregory Nutt
aed4d0e198
Missed a few *llinfo() to *info() conversions
2016-06-20 16:24:09 -06:00
Gregory Nutt
ec1e1a10fd
Make system: Build the drivers/ directory even if file descriptors are disabled. There are still things that may be needed from the drivers/ director (such as SYSLOG logic or lower half drivers).
2016-06-20 16:33:20 -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
d1a62f1d24
Add a comment
2016-06-20 14:26:13 -06:00
Gregory Nutt
7ee6668178
Merged in paulpatience/nuttx/assert (pull request #65 )
...
assert: Define static_assert
2016-06-20 14:20:04 -06:00
Gregory Nutt
36e8d6f7d1
Update ChangeLog
2016-06-20 12:47:53 -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
Paul A. Patience
a96c7492ad
assert: Define static_assert
2016-06-20 10:29:41 -04: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
Jakub Łągwa
338b915008
While working with version 7.10 I discovered a problem in TCP stack that could be observed on high network load. Generally speaking, the problem is that RST flag is set in unnecessary case, in which between loss of some TCP packet and its proper retransmission, another packets had been successfully sent. The scenario is as follows: NuttX did not receive ACK for some sent packet, so it has been probably lost somewhere. But before its retransmission starts, NuttX is correctly issuing next TCP packets, with sequence numbers increasing properly. When the retransmission of previously lost packet finally succeeds, tcp_input receives the accumulated ACK value, which acknowledges also the packets sent in the meantime (i.e. between unsuccessful sending of lost packet and its proper retransmission). However, variable unackseq is still set to conn->isn + conn->sent, which is truth only if no further packets transmission occurred in the meantime. Because of incorrect (in such specific case) unackseq value, few lines further condition if (ackseq <= unackseq)is not met, and, as a result, we are going to reset label.
2016-06-20 06:55:29 -06:00
Gregory Nutt
d5b8869b10
Update ChangeLog
2016-06-20 06:23:31 -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
Gregory Nutt
8021354e01
ullinfo (vs ulinf)
2016-06-19 18:14:27 -06:00
Gregory Nutt
7dd66a4620
Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work.
2016-06-19 14:50:00 -06:00
Gregory Nutt
690a0e7a6e
Eliminate another warning
2016-06-19 13:58:39 -06:00
Gregory Nutt
b68822805f
Eliminate a warning
2016-06-19 13:56:49 -06:00
Gregory Nutt
e480b385e6
SYSLOG: syslog_initialize.c appeared twice is list of sources
2016-06-19 13:55:23 -06:00
Gregory Nutt
9e62164977
Merge branch 'syslog'
2016-06-19 14:00:24 -06:00
Gregory Nutt
5b2aa7bf99
Remove all traces of CONFIG_SYSLOG
2016-06-19 13:59:43 -06:00
Gregory Nutt
9434d3e945
There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel()
2016-06-19 13:03:20 -06:00
Gregory Nutt
d82942cf3b
Merge remote-tracking branch 'origin/master' into syslog
2016-06-19 11:20:31 -06:00
Gregory Nutt
9f260ca193
Some renaming so that future features will fit in better; If the architecture provides its only system logging (via CONFIG_ARCH_SYSLOG), then syslog_initialize() is stubbed out
2016-06-19 11:16:12 -06:00