Gregory Nutt
04ae3d51c2
drivers/mp2515.c: Remove an incorrect warning.
2017-06-14 10:13:38 -06:00
Gregory Nutt
a86f46bc54
MCP1515: Eliminate some warnings
2017-06-14 09:38:58 -06:00
Jussi Kivilinna
7b8df1b930
mtd/w25: wait for BUSY flag to clear in w25_readid and w25_unprotect. W25Q128 datasheet says that all instructions expect 'Read Status Register' and 'Erase/Program Suspend' are ignored when BUSY flag in status register is '1'. Therefore wait for busy flag to clear in w25_readid() and w25_unprotect().
2017-06-13 07:35:49 -06:00
Jussi Kivilinna
2596b14c90
mtd/w25: add missing locking and fix SPI_SELECT usage for w25_unprotect
2017-06-13 07:33:34 -06:00
Gregory Nutt
0a85a41678
MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25, is25xp, ramtron, and sst25xx.
2017-06-12 09:51:42 -06:00
Sebastien Lorquet
2851959dee
MTD M2PX: If we READ while a write/erase is pending, the command is ignored and the write/erase continues. If we dont catch this situation we will return garbage to the user because the flash will not execute the command. So READ MUST wait for write completion, and before that, the bus must be locked since it's a precondition to calling waitwritecomplete().
2017-06-12 09:34:09 -06:00
Gregory Nutt
d35a060a41
Revert "MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well."
...
This reverts commit 85645284b3
.
2017-06-12 07:23:06 -06:00
Sebastien Lorquet
85645284b3
MTD: Fix problems in SPI locking in mp25x.c driver. Same problem probably in exists in several other drivers that derive from this this driver as well.
2017-06-12 06:38:27 -06:00
Gregory Nutt
670d6a1e8d
MTD FLASH drivers: The byte write method of several drivers had a cloned error: It was not locking the bus while performing byte write operations.
2017-06-06 16:10:41 -06:00
Juha Niskanen
e577072790
power: battery_charger: add ioctl for charging input current
2017-06-06 06:56:50 -06:00
Juha Niskanen
06edfae133
mtd/config: Add some error checks for I/O errors
2017-06-01 06:22:27 -06:00
Juha Niskanen
32610b53f4
drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency
2017-06-01 06:19:54 -06:00
Jussi Kivilinna
1cc842794d
drivers/rwbuffer.c: Fix compiler warnings
2017-05-31 09:28:20 -06:00
Jussi Kivilinna
7af5cbb833
drivers/mtd/w25.c: Enable short delay after sector/chip erase
2017-05-31 09:17:58 -06:00
Jussi Kivilinna
8b006e705e
drivers/mtd/w25.c: erase sector only if it is not in erased state
2017-05-31 09:09:24 -06:00
Jussi Kivilinna
c7fcdf968d
mtd/smart: Fix use of uninitialized variable
2017-05-31 09:07:25 -06:00
Juha Niskanen
80cc19d6b0
drivers/input: add Cypress MBR3108 CapSense touch button driver
2017-05-31 06:31:53 -06:00
Gregory Nutt
ae17e6bcf0
Cosmetic
2017-05-30 12:04:48 -06:00
Alan Carvalho
2b3eb7344c
Merged in acassis/nuttx_acassis/pcd8544 (pull request #381 )
...
Pcd8544
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-26 14:44:23 +00:00
Alan Carvalho de Assis
96e1a80f99
Replace the structure initializer with C89 style
2017-05-26 11:36:36 -03:00
Alan Carvalho de Assis
8df5c29857
Add driver for Nokia 5110 (Philips PCD8544)
2017-05-26 10:53:13 -03:00
Jussi Kivilinna
7ae8173449
button_upper: fix interrupt enabling for poll-events
2017-05-24 08:06:13 -06:00
Alan Carvalho de Assis
bab5de15f6
Remove warning from MCP2515 compilation
2017-05-23 19:41:58 -03:00
Alan Carvalho de Assis
fb7866bdc8
Use the right variable name at mcp2515_txready()
2017-05-23 19:30:12 -03:00
Gregory Nutt
38ae28e978
MCP2515: Changes from review of last PR
2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
eb7373cedf
Add Microchip MCP2515 CAN Bus controller driver
2017-05-23 14:28:52 -03:00
Masayuki Ishikawa
810f9b516c
drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c
...
Jira: PDFW15IS-265
Coverity-ID: 10597
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 14:29:41 +09:00
Nobutaka Toyoshima
a862b653bd
Replace sprintf() with snprintf() in pipe.c
...
Jira: PDFW15IS-265
Coverity-ID: 10696
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-05-22 09:22:23 +09:00
Taras Drozdovsky
4ab2a3661e
STM32F4: add cs43l22 audio driver and i2s driver
2017-05-21 14:14:09 -06:00
Gregory Nutt
679a08e371
Merge remote-tracking branch 'spiriou/wapi_scan'
2017-05-21 09:25:02 -06:00
Simon Piriou
a332c4b9ce
bcmf: fix issue in AP scan event processing
2017-05-21 16:04:24 +02:00
Simon Piriou
6b15c26e56
bcmf: add SIOCGIWSCAN ioctl support
2017-05-20 22:13:15 +02:00
Gregory Nutt
bc32eaa228
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-19 07:17:37 -06:00
Gregory Nutt
5ce2ece134
syslog: Add header file inclusion to eliminate a warning; mm/iob: private function needs static storage class.
2017-05-16 12:26:23 -06:00
Jussi Kivilinna
a6e556d31c
I had to make following change to fix interrupt context syslog (INTBUFFER untested)
2017-05-16 10:56:49 -06:00
Gregory Nutt
9fb2fed90e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-16 08:05:38 -06:00
EunBong Song
5ef00f0b91
drivers/bch: BCH character driver bch_ioctl() always returns -ENOTTY for DIOC_GETPRIV command. It should returns OK if DIOC_GETPRIV command succeeds.
2017-05-16 08:01:05 -06:00
Anthony Merlino
06634afbe0
wireless/ieee802154: Restructuring of MAC notifications. Simplifes some interfaces
2017-05-15 21:44:57 -04:00
Juha Niskanen
34e68a569b
drivers: rename newly introduced up_i2creset to I2C_RESET
2017-05-15 07:22:17 -06:00
Juha Niskanen
b9a769d65d
drivers: fix some bad NULL checks
2017-05-15 07:20:32 -06:00
Gregory Nutt
fa649df52e
Photon: Small update from Simon Piriou.
2017-05-14 08:39:53 -06:00
Gregory Nutt
06db5614e7
Fix a warning about can.o appearing twice in the same rule.
2017-05-13 18:05:40 -06:00
Gregory Nutt
a52967a772
Syslog interrrupt buffer: eliminate a warning about an uninitialized variable; simply some related logic.
2017-05-13 17:40:46 -06:00
Gregory Nutt
14ae6df182
locale.h: Add a bogus definition of locale_t
2017-05-12 10:13:18 -06:00
Gregory Nutt
7698790be1
Changes from review of last PR
2017-05-12 09:04:52 -06:00
Gregory Nutt
f981191ac9
Merge branch 'can_bus' of bitbucket.org:nuttx/nuttx into can_bus
2017-05-12 08:59:57 -06:00
Gregory Nutt
fc7c3f5328
syslog: I think this might speed upt the CR-LF scan in syslog_dev_write().
2017-05-12 08:50:56 -06:00
Alan Carvalho de Assis
853d332b6c
Move CAN subsystem to its own directory and put device drivers there
...
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2017-05-12 11:48:47 -03:00
Gregory Nutt
c84a3e3519
Bitbucket Issue 47: Some of last syslog changes needed to be condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without syslog buffering enabled.
2017-05-12 07:58:11 -06:00
Gregory Nutt
1c9859520f
syslog: There is yet another place where the output can get split. That is in syslog_dev_write(): It will break up the stream to insert a CR before the LF. This can that can be avoid be generating the CR-LF sequence in the buffer and then detecting and ignoring valid CR-LF sequences, rather than expecting syslog_dev_write() to insert the CR in this case.
...
I don't like the idea that syslog_dev_write() still scans the entire output buffer to expand CR-LF sequence. This seems really wasteful, especially in this case where we can be sure that the is no CR or LF without a matching LF or CR. Bu, I think, the existing behavior in syslog_dev_write() must be retained because it is needed in other contexts.
2017-05-12 07:31:50 -06:00