Gregory Nutt
0fb035f76b
Standardize some naming in code section comments
2016-02-21 18:09:04 -06:00
Gregory Nutt
2244ed46bc
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
2016-02-14 07:32:58 -06:00
Gregory Nutt
bf8120d51d
Fix some odd logic in CC3000 semaphore handling. Noted by Vladimir Komendantskiy
2016-02-10 09:50:28 -06:00
Gregory Nutt
216eea4543
Net: Fix some errors introduced into the ENC28J60 driver; fix type of wd_start arguments.
2016-02-04 08:55:10 -06:00
Gregory Nutt
cea3854dea
PCA5555: Add logic to make the driver thread safe. Problem noted by Stefan Kolb.
2016-02-03 12:39:11 -06:00
Gregory Nutt
dea24c503a
Networking: Remove the HSEC argument from devif_timer.
2016-02-03 12:12:41 -06:00
Gregory Nutt
ff1e057364
Missed one EMAC driver in the last commit
2016-02-03 10:55:51 -06:00
Gregory Nutt
42c365aab1
Duplicate Manuel's EMAC driver fix to every other driver that supports CONFIG_NET_NOINTS
2016-02-03 10:34:10 -06:00
Gregory Nutt
8fa9b99e7c
I2C driver should support the RESET method as well
2016-02-03 07:32:25 -06:00
Gregory Nutt
be3e86ec89
Fix a typo in a DEBUGASSERT statement
2016-02-02 14:41:25 -06:00
Gregory Nutt
e5d86dd3fc
Oops. Apparently a copy'n'paste was accidentally a cut'n'paste
2016-02-02 12:53:32 -06:00
Gregory Nutt
9ce58ad5b7
I2C: up_i2creset should not be a global function; Now it is an I2C interface method
2016-02-02 11:21:48 -06:00
Gregory Nutt
4a34a199dd
I2C: Add an I2C character driver
2016-02-02 08:30:54 -06:00
Gregory Nutt
009e9f76cb
I2C: Fixes/improvements from last massive I2C commits
2016-02-02 07:13:03 -06:00
Gregory Nutt
456b5f06dc
Clean up some comments
2016-02-01 19:52:16 -06:00
Gregory Nutt
4cfbe50c0d
I2C: Fix some compile time issues found with tools/testbuild.sh
2016-02-01 18:02:56 -06:00
Gregory Nutt
69ce24c70c
I2C: Remove the setfrequency method from the interface
2016-02-01 16:31:13 -06:00
Gregory Nutt
6ad641888b
Add I2C frequency to the i2c_msg_s structure
2016-02-01 14:17:20 -06:00
Gregory Nutt
f9053182d3
I2C: Remove setaddress method
2016-02-01 12:14:31 -06:00
Gregory Nutt
8c9bddf998
I2C: Eliminate the I2C_WRITE and I2C_READ macros
2016-02-01 08:57:22 -06:00
Gregory Nutt
10000841a8
The I2C_TRANSFER method is no longer optional
2016-01-31 14:16:05 -06:00
Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:16 -06:00
Vladimir Komendantskiy
19feab1bd6
drivers/modem/u-blox.c and include/nuttx/drivers/u-blox.h: Add an upper half driver for the U-Blox Modem. From Vladimir Komendantskiy
2016-01-30 07:37:43 -06:00
Gregory Nutt
ca792558bf
Update ChangeLog; add ADS1242 driver to build system; fix some typos; eliminate some warning
2016-01-29 07:55:39 -06:00
Entinger Alexander
dc8c14aa53
Driver for the 24-Bit Differential Input ADC ADS1242 that communicates via SPI with a MCU. Reading the ADC conversion result as well as configuring the ADC, setting the input channel, etc. is implemented via ioctl calls. However, it does not yet implement the standard ADC interface.
2016-01-29 07:41:23 -06:00
Gregory Nutt
fd896330d8
Remove the final vestiges of up_spiinitialize()
2016-01-27 09:27:56 -06:00
Gregory Nutt
efb5674742
drivers/ioexpander/pca9555: Now uses i2c_read and i2c_write instead of I2C_READ and I2C_WERITE
2016-01-26 11:07:47 -06:00
Gregory Nutt
b6b3c2be3e
Add I2C_TRANSFER based wrappers for I2C_TRANSFER as well
2016-01-26 10:57:51 -06:00
Gregory Nutt
d4a53ee131
I2C: Eliminate the I2C_WRITEREAD method
2016-01-26 10:26:16 -06:00
Gregory Nutt
67f38169b2
drivers/i2c: Move wrapper that implements I2C_WRITEREAD using I2C_transfer from pc9555.c to a new, comon i2c directory
2016-01-26 09:58:18 -06:00
Gregory Nutt
f74fbecf52
PCA9555 I/O expander: Fix an error in addressing noted by Stefan Kolb; convert to use I2C_TRANSFER instead of I2C_WRITEREAD which is not thread safe
2016-01-26 07:59:36 -06:00
xuhang
26d40fa80c
drivers/usbhost/hid_parser.c: Wrong size used in memcpy()
2016-01-25 20:00:11 -06:00
Gregory Nutt
b6e128a4ce
Merge branch 'master' of bitbucket.org:patacongo/nuttx
2016-01-24 09:15:29 -06:00
Gregory Nutt
564a1ce606
Cosmetic clean-up of comments
2016-01-24 08:21:55 -06:00
Gregory Nutt
31cf7e0900
Fix missing semicolon
2016-01-23 21:21:15 -06:00
Gregory Nutt
d87f7e99d2
NOkia LCD needs to initialize SPI before using it
2016-01-23 19:45:30 -06:00
Gregory Nutt
7ee6c5bcfc
Minor clean-up for last big commit
2016-01-23 19:18:55 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Gregory Nutt
accd99db25
Add an optional hwfeatures method to the SPI interface
2016-01-23 15:12:45 -06:00
Stefan Kolb
2b05f3e830
I/O Expander: Fix some bad macros, make naming consisted
2016-01-22 07:08:59 -06:00
Gregory Nutt
f348e68069
Update to use 64-bit timer when available
2016-01-21 11:54:26 -06:00
Gregory Nutt
3986f6cdee
Part of last change was still in the editor
2016-01-20 13:09:03 -06:00
Frank Benkert
da33ec6b2e
CAN: Add more extensive error reporting information
2016-01-18 12:22:27 -06:00
Gregory Nutt
b54cf004f3
Update ChangeLog
2016-01-17 15:15:01 -06:00
Gregory Nutt
9844036a74
Merged in paulpatience/nuttx/lsm9ds1 (pull request #48 )
...
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 15:06:37 -06:00
Paul A. Patience
57b8a9526d
Add LSM9DS1 accelerometer, gyroscope and magnetometer
2016-01-17 16:01:14 -05:00
Gregory Nutt
63301fe213
Cosmetic changes from review of last pull request
2016-01-17 14:52:11 -06:00
Janne Rosberg
fb1bf10a3d
add pn532 support
...
Signed-off-by: Janne Rosberg <janne.rosberg@offcode.fi>
2016-01-17 22:17:49 +02:00
Gregory Nutt
c6d967e632
OVR2640: Reverse frequency/address
2016-01-16 09:05:39 -06:00
Alexander Entinger
75d6c4cee3
drivers/sensors/mcp9844: Driver for the MCP9844 I2C digital temperature sensor with a selectable resolution
2016-01-15 07:25:58 -06:00
Gregory Nutt
51ee01255b
ENC28J60: Missing semicolon causes error in some configurations. Noted by Maciej Wójcik
2016-01-09 19:56:47 -06:00
Gregory Nutt
ce2a0b6b51
Eliminate a warning
2016-01-06 10:05:39 -06:00
Vladimir Komendantskiy
ae71c9b447
Fix a compile time error in drivers/net/tun.c.
2016-01-05 10:58:58 -06:00
Gregory Nutt
426eb61e47
Fix an error introduced in the last big set of header file renaming
2015-12-29 18:29:24 -06:00
Gregory Nutt
695a8890a6
Rename pm_internal.h to pm.h
2015-12-29 18:19:03 -06:00
Gregory Nutt
b682190f52
Rename all head files in main NuttX repository with names like *internal.h, removing the internal
2015-12-29 17:31:17 -06:00
Gregory Nutt
a2e1ece873
RTC: Handle RTC failures. If mktime is called with garbage, it may crash
2015-12-21 14:39:40 -06:00
Gregory Nutt
a696b807fb
PCF65263: Correct readback verification of seconds register
2015-12-21 14:00:25 -06:00
Gregory Nutt
b1a0171d0f
Fix a missed name change in a Kconfig file
2015-12-15 08:43:18 -06:00
Gregory Nutt
8ab93fdf98
Change name of drivers/discrete back to drivers/ioexpander
2015-12-15 08:40:34 -06:00
Gregory Nutt
78f2ce05f8
drivers: Move discrete user LED drivrs from drivers/discrete to drivers/leds
2015-12-15 08:23:53 -06:00
Gregory Nutt
d62a626703
Adds a driver for the PCA9635PW I2C LED driver IC which can be used to control the intensity of up to 16 LEDs. From Alexander Entinger
2015-12-15 08:05:10 -06:00
Gregory Nutt
4a7e28ba96
CDC/ACM: Fix a bad default value in last commit
2015-12-08 07:33:49 -06:00
Gregory Nutt
513cc08c7f
change default size of CDC/ACM serial buffer sizes
2015-12-07 17:18:14 -06:00
Gregory Nutt
8fdb173090
drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions.
2015-12-07 13:48:06 -06:00
Gregory Nutt
057b6aef2c
drivers/net: Move the Telnet driver from apps/netutils/netnetd to drivers/net
2015-12-07 09:26:57 -06:00
Gregory Nutt
59b912477e
Fix some warnings: Mismatched prototypes
2015-12-05 10:36:00 -06:00
Gregory Nutt
2726f0ac7c
USB serial driver Kconfig: Select default sizes for serial buffers so that the can hold even multiples of the max packet size.
2015-12-03 14:17:41 -06:00
Gregory Nutt
08213f830d
poll() and select() should not be built if poll() is disabled
2015-12-02 05:30:52 -06:00
Gregory Nutt
c16648b3fd
Most cosmetic but also includes a fix for a compile problem from Ken Pettit
2015-12-01 12:54:57 -06:00
Gregory Nutt
96f57eb0d9
Merged in karim_keddam/nuttx (pull request #39 )
...
Fixed error with temperature computation
2015-11-30 06:13:24 -06:00
Karim Keddam
190772edc5
Fixed error with temperature computation
2015-11-30 03:50:58 -05:00
Gregory Nutt
3af1def49a
Fix an error in a function prototype
2015-11-29 14:42:56 -06:00
Gregory Nutt
11afff74dc
Kconfig change for improved usability
2015-11-29 12:13:24 -06:00
Ken Pettit
5821af1bbe
drivers/mtd: Add support for /dev/smart loop device. From Ken Petit
2015-11-28 09:00:26 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
603f3afd6d
Some minor clean-up from last changes
2015-11-25 17:52:47 -06:00
Gregory Nutt
ed35eb0f8d
drivers/loop: Add a loop character device that can be used to setup and teardown loop devices
2015-11-25 17:13:56 -06:00
Gregory Nutt
b84da6e696
drivers/loop: Move drivers/loop.c to drivers/loop/losetup.c
2015-11-25 16:23:19 -06:00
Gregory Nutt
6ff67d3061
Minor changes from code review
2015-11-25 14:57:25 -06:00
Ken Pettit
d4a58af380
drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
...
drivers/mtd/filemtd.c: New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device. This is useful for testing on the simulation using the hostfs.
From Ken Petit
2015-11-25 14:46:28 -06:00
Marco Krahl
b1b97e89c8
drivers/lcd/ili9432.c: Fixed errors in orientation. Portrait, RPortrait, and RLandscript should work correly now. They were displayed mirrored. From Marco Krahl
2015-11-25 13:01:37 -06:00
Gregory Nutt
289b3e281f
drivers/mtd/smart.c: Fix a compile error when CONFIG_MTD_SMART_MINIMIZE_RAM=y
2015-11-22 17:18:43 -06:00
Gregory Nutt
891589b307
drivers/mtd/smart.c: Add some run-time geometry tests
2015-11-22 17:10:42 -06:00
Gregory Nutt
54549ef082
Revert "Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'"
...
This reverts commit 96faf0fa3251ca10a17daddc728d931be5a206e0.
2015-11-22 10:15:06 -06:00
Gregory Nutt
64e8f12e2b
Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'
...
directory and build.
2015-11-22 10:07:35 -06:00
Gregory Nutt
006528b144
Add support for freopen()
2015-11-22 08:39:17 -06:00
Gregory Nutt
dcb85af387
Add logic to automatically wrap a block device as a BCH device with no visible character device
2015-11-21 10:14:01 -06:00
Gregory Nutt
f03e435e43
drivers/bch: Add support for delayed unlinking of BCH driver
2015-11-21 09:15:12 -06:00
Gregory Nutt
8914400750
PCF85163: Correct I2C address
2015-11-21 07:14:36 -06:00
Gregory Nutt
294950ea3d
PCF85263: Need to clear the 100ths of second register when setting the time
2015-11-20 17:39:41 -06:00
Gregory Nutt
38c9d42e21
drivers/timers/pcf85263.c: Add a driver for the NXP PCF85263 I2C RTC
2015-11-20 17:36:10 -06:00
Gregory Nutt
3cff8a725b
Add a missing comment
2015-11-20 16:13:28 -06:00
Gregory Nutt
11c0f5be6f
Clear some trailing whitespace
2015-11-20 16:10:01 -06:00
Gregory Nutt
26cbdd8939
Completes PCF85263 RTC register definition header file.
2015-11-20 16:09:23 -06:00
Gregory Nutt
eb4c2f9c41
PCF85263 RTC register definition header file. Incomplete on initial commit
2015-11-20 14:51:43 -06:00
Gregory Nutt
db2fe45666
Update some comments
2015-11-20 09:55:18 -06:00
Ken Pettit
d30b73be82
W25: Add support for byte write mode. From Ken Petit
2015-11-20 07:34:07 -06:00