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
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
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
Gregory Nutt
19c6a82f8b
a few cosmetic changes
2016-06-19 09:52:34 -06:00
Gregory Nutt
a43cdbff0b
Add missing file header
2016-06-19 09:48:42 -06:00
Gregory Nutt
f59196247c
Merge remote-tracking branch 'origin/master' into syslog
2016-06-19 09:47:13 -06:00
Gregory Nutt
99ad3e9bcf
Need to capture return value from ramlog_syslog_initialize()
2016-06-19 09:41:35 -06:00
Gregory Nutt
0f18f3bd15
Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally
2016-06-19 09:39:21 -06:00
Gregory Nutt
de58cb6027
Some higher level SYSLOG features are disabled if the architecture-specific logic provides its own SYSLOG functionality
2016-06-19 09:21:52 -06:00
Gregory Nutt
3bd953316f
Add a hook before the existing syslog_initialize() call; rename the old syslog_initialize() to syslog_dev_initialize().
2016-06-19 09:12:33 -06:00
Gregory Nutt
12150bc6c1
Merge remote-tracking branch 'origin/master' into syslog
2016-06-19 08:48:10 -06:00
Gregory Nutt
e27491f5be
Move fs/drivers/fs_devsyslog.c to drivers/syslog/syslog_device.c
2016-06-19 08:46:46 -06:00
Gregory Nutt
668980b4fa
Merge remote-tracking branch 'origin/master' into syslog
2016-06-19 08:02:42 -06:00
Gregory Nutt
34f776dce9
Move the OS intensive part of vsyslog and vlowsyslog to drivers/syslog/vsyslog.c and vlowsyslog.c. Also move lib_syslogstrem to drivers/syslog/syslogstream.c
2016-06-19 07:56:24 -06:00
Gregory Nutt
fedf00033c
Make default interupt buffer smaller
2016-06-19 07:03:10 -06:00
Gregory Nutt
ea9565e137
SYSLOG: Flesh out interrupt buffer logic
2016-06-18 14:54:25 -06:00
Gregory Nutt
c44a011394
Add some basic SYSLOG channel selection logic
2016-06-18 12:54:55 -06:00
Gregory Nutt
3fa41c0f18
Kconfig files: Fix some dependencies that have CONFIG_ in the variable name
2016-06-17 19:30:19 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
b7f0fbc073
Centralize definitions associated with CONFIG_DEBUG_RTC
2016-06-16 07:39:23 -06:00
Gregory Nutt
37b9742189
Centralize definitions associated with CONFIG_DEBUG_TIMER
2016-06-16 07:16:25 -06:00
Gregory Nutt
6b517ed017
Centralize definitions associated with CONFIG_DEBUG_WATCHDOG
2016-06-16 06:28:04 -06:00
Gregory Nutt
03cbe671ad
Centralize definitions associated with CONFIG_DEBUG_PWM
2016-06-15 17:23:56 -06:00
Gregory Nutt
8ce929a915
Centralize definitions associated with CONFIG_DEBUG_I2S
2016-06-15 16:54:01 -06:00
Gregory Nutt
5c89b18af8
Centralize definitions associated with CONFIG_DEBUG_I2C
2016-06-15 16:30:12 -06:00
Gregory Nutt
63b1eb09e6
Centralize definitions associated with CONFIG_DEBUG_CAN
2016-06-15 15:45:27 -06:00
Gregory Nutt
027490924e
Cosmetic, fix alignment
2016-06-15 14:13:18 -06:00
Gregory Nutt
2ddd57c674
Centralize definitions associated with CONFIG_DEBUG_LEDS
2016-06-15 14:12:19 -06:00
Gregory Nutt
24c51ec1ff
Centralize definitions associated with CONFIG_DEBUG_LCD
2016-06-15 11:40:33 -06:00
Gregory Nutt
ba03134bed
Centralize definitions associated with CONFIG_DEBUG_SPI
2016-06-15 10:41:13 -06:00
Konstantin Berezenko
a13577c572
Minor fix to error messages: ncp5623c
2016-06-14 16:46:12 -07:00
Gregory Nutt
c442336bfe
cosmetic changes from review of last PR
2016-06-14 16:36:39 -06:00
Gregory Nutt
00a67b5d2b
Merged in K-man23/nuttx/ncp5623c (pull request #56 )
...
Add RGB driver NCP5623C
2016-06-14 16:15:34 -06:00
Konstantin Berezenko
787af112a2
Add RGB driver NCP5623C
2016-06-14 15:09:30 -07:00
Gregory Nutt
a308ea553b
Remove some excessive, redundant debug info per request of antin Berezenko. See Issue #8 .
2016-06-14 15:50:23 -06:00
Frank Benkert
573b1d415c
* SAMV7: SPI: SPI-Freq. 40MHz; VARSELECT; hw-features
...
This change adds the following improvements:
- Increase the allowed SPI-Frequency from 20 to 40 MHz.
- Correct and rename the "VARSELECT" option This option was included in the code as "CONFIG_SPI_VARSELECT" but nowhere defined in a Kconfig file. The patch renames it to "CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation according the datasheet of Atmel. In short, this option switches the processor from "fixed peripheral selection" (single device) to "variable peripheral selection" (multiple devices on the bus).
- Add a new Function to the interface to control the timing and delays of the chip according the ChipSelect lines. This function can control the delay between the assertion of the ChipSelect and the first bit, between the last bit and the de-assertion of the ChipSelect and between two ChipSelects. This is needed to tune the transfer according the specification of the connected devices.
- Add three "hw-features" for the SAMV7, which controls the behavior of the ChipSelect:
1. force CS inactive after transfer: this forces a (short) de-assertion of the CS after a transfer, even if more data is
available in time
2. force CS active after transfer: this forces the CS to stay active after a transfer, even if the chip runs out of data. Btw.: this is a prerequisit to make the LASTXFER bit working at all.
- escape LASTXFER: this suppresses the LASTXFER bit at the end of the next transfer. The "escape"-Flag is reset automatically.
2016-06-14 13:12:16 -06:00
Gregory Nutt
0f249016a0
Eliminate some warnings
2016-06-13 14:01:32 -06:00
Gregory Nutt
eac916c907
Fix some warnings
2016-06-13 11:48:20 -06:00
Gregory Nutt
0665c7e06c
drivers/: Change some nerr() ERRORS to ninfo() and nwarn() WARNINGS.
2016-06-12 09:26:12 -06:00
Gregory Nutt
efb02f2ef1
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
2016-06-12 08:31:22 -06:00
Gregory Nutt
7d0950bb22
net/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network events are not errors.
2016-06-12 07:09:37 -06:00
Gregory Nutt
e18e2b351b
Need a info() macro mapping
2016-06-11 19:05:32 -06:00
Gregory Nutt
f12da847d8
drivers/wireless: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-11 19:03:57 -06:00
Gregory Nutt
27bc1a2221
drivers/sensors: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-11 18:21:49 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
86b79b33cf
Reserver the name 'err' for other purposes
2016-06-11 14:40:07 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
9c4b604074
Button upper half driver: Add definitions needed for compilation with the poll() interface is not disabled.
2016-06-11 07:22:31 -06:00
Gregory Nutt
5f9bcfd5bf
Trivial changes from review of last PR
2016-06-09 09:36:06 -06:00
Gregory Nutt
03c44c3583
Merged in marten_svanfeldt/nuttx-public/for_upstream/is25 (pull request #44 )
...
Added driver of IS25xP SPI flash devices
2016-06-09 09:30:34 -06:00
Marten Svanfeldt
edeb2eed4e
Added driver of IS25xP SPI flash devices
...
Based on sst25xx driver
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:13:06 +02:00
Gregory Nutt
d76d889efd
Restore FLASH_ERASALL in configurations where it was previously selected
2016-06-03 09:10:21 -06:00
Pierre-noel Bouteville
7e2aed942a
Correct conditioinal compilation in ST7565 driver
2016-06-03 08:42:32 -06:00
Gregory Nutt
a18dbfda6e
Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call.
2016-06-02 10:44:13 -06:00
Gregory Nutt
44353f320c
Replace confusing references to uIP with just 'the network'
2016-05-30 09:37:34 -06:00
Gregory Nutt
22044edd12
Merged in ziggurat29/nuttx/stm32l4_i2c_lcd_mjkdz_001 (pull request #35 )
...
correct bugs and add enhancements to pcf8574 lcd backpack driver
2016-05-29 14:02:39 -06:00
ziggurat29
bb7a579681
fleshed out rest of fileops interface; read now takes into consideration current file position (so the display can be read in multiple operations, and indiate EOF correctly), seek (really just to facilitate rewind), and unlink (to facilitate dropping from system at runtime).
2016-05-29 14:53:37 -05:00
Manuel Stühn
5c6c7bd60d
Fix recently introduced problem with build of ADC driver with analog debug enabled.
2016-05-29 13:45:40 -06:00
ziggurat29
4643fcdfd8
correct logic hazard in latch and load nybble; was transitioning control lines at the same time as enable, causing spurious behaviour on less-tolerant displays
...
improve timing parameters in init sequences for better display compatibility
correct (row,col) -> address calculation; affects 4-line displays
update comments in header and readme
2016-05-29 11:09:00 -05:00
Gregory Nutt
7d538d19bf
Costmetic changes to comments and style
2016-05-27 10:53:27 -06:00
Pierre-noel Bouteville
41412d0ce9
* fix a bug in crc computation for ms583730
...
* implement POSIX read.
2016-05-27 07:05:20 -06:00