Commit Graph

126 Commits

Author SHA1 Message Date
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
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
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
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
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
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
fc91ded815 Add support for a general user LED lower-half driver 2015-11-01 14:57:22 -06:00
Gregory Nutt
0dea00177e Add a generic user LED upper half discrete driver 2015-11-01 14:41:40 -06:00
Gregory Nutt
a5f44cd9fc Buttons lower half: Undefine __KERNEL__ before including board.h to suppress bad included; fix some configuratin issues 2015-10-13 09:29:23 -06:00
Gregory Nutt
f0b40ba96a Add a a generic lower half button driver 2015-10-13 07:08:11 -06:00
Gregory Nutt
75fcf4e8a1 Trivial fixes to spacing 2015-10-12 14:53:47 -06:00
Gregory Nutt
613798027e Add a button upper/lower half driver 2015-10-12 14:29:43 -06:00
Gregory Nutt
cf14f8d1b5 drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
Sebastien Lorquet
c9649b5f04 STMPE811: I found that, in stmpe811_instanciate(), when CONFIG_STMPE811_MULTIPLE is enabled, and the call to stmpe811_checkid() fails, then the linked device list is not restored to its previous state. From Sebastien Lorquet. 2015-07-02 08:19:29 -06:00
Gregory Nutt
342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
a0866c0753 drivers/input/max11802.c: Fix possible unmatched IRQ restore. Noted by Juha Niskanen 2015-04-14 07:22:02 -06:00
Gregory Nutt
e4d2822af8 Make some file section headers more consistent with standard 2015-04-08 07:15:32 -06:00
Gregory Nutt
3cc6bee189 Nucleo-f4x1re: Fix some joystick pin definitions 2014-12-04 12:04:21 -06:00
Gregory Nutt
1f2447502f SAMA5D3 Xplained: Add support for the Itead Joystick shield 2014-12-03 12:24:23 -06:00
Gregory Nutt
19d31412f7 Update/correct some comments 2014-11-29 07:08:30 -06:00
Gregory Nutt
2b8fe6709b Add an analog joystick driver. Initial checkin is only a little more of a clone of the discrete joystick driver and is as-of-yet untested 2014-11-28 19:59:27 -06:00
Gregory Nutt
24d4253e1f Fixes to get the discrete joystick driver and test working 2014-11-28 15:56:18 -06:00
Gregory Nutt
544322edb9 DJoystick: Add a new ioctl to get the support joystick discrete signals 2014-11-28 15:39:57 -06:00
Gregory Nutt
0d04a4e9ba Fix missing quote in Kconfig 2014-11-28 10:16:58 -06:00
Gregory Nutt
2d9bd07525 Some additional, minor improvements to djoystick interrupt controls 2014-11-27 20:20:10 -06:00
Gregory Nutt
0ec5043a4e Add an interface definition and upper half driver for a discrete joystick device 2014-11-27 17:42:16 -06:00
Gregory Nutt
2994448d85 More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs. 2014-11-25 13:15:09 -06:00
Gregory Nutt
1a27a4d4c0 Eliminate warnings 2014-10-11 17:02:35 -06:00
Gregory Nutt
c38b81431f Cosmetic updates to comments 2014-10-11 15:20:21 -06:00
Gregory Nutt
205260d5e2 Reanem kzalloc to kmm_zalloc for consistency 2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d Rename kmalloc to kmm_malloc for consistency 2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59 Rename kfree to kmm_free for consistency with other naming conventions 2014-08-31 17:04:02 -06:00
Gregory Nutt
ad9b3f8ab8 wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide. 2014-08-21 11:16:55 -06:00
Gregory Nutt
c9661ad5a7 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
05e82d4f01 Add missing configuration option to select the MAX11802 touchscreen controller 2014-07-22 07:09:48 -06:00
Gregory Nutt
cc09d75180 MXT driver: Fix error in thread test... backward logic 2014-07-16 22:13:41 -06:00
Gregory Nutt
44e6516213 maXTouch: Add thresholding so that MOVE reports are not generated unless there is a significant change in the reported position 2014-07-12 14:00:33 -06:00
Gregory Nutt
4548ea731e maXTouch: Fix error in state machine 2014-07-12 11:23:07 -06:00
Gregory Nutt
f97113c5ef SAMA5D4-EK: The maXTouch controller and test is now enabled by default in the NSH configuration 2014-07-10 08:42:25 -06:00
Gregory Nutt
3b0a797216 MXT driver works 2014-07-10 07:16:38 -06:00
Gregory Nutt
22fbcbb852 MXT driver is now at least partially functional 2014-07-09 18:56:53 -06:00
Gregory Nutt
e9362128bd SAMA5 TWI: Add support for up_i2creset 2014-07-09 09:51:28 -06:00
Gregory Nutt
25f419d487 MXT Driver: Make sure that all return values are checked: Fix worker thread -- it must hold the MXT device semaphore to access I2C 2014-07-08 08:55:43 -06:00
Gregory Nutt
ab8506163a maXTouch: Fix some issues with interrupt handling 2014-07-07 13:25:20 -06:00
Gregory Nutt
5bbc0a0dd9 maXTouch: Check for successful memory allocation was backward 2014-07-07 09:55:39 -06:00
Gregory Nutt
09d0e2bdd2 maXTouch: Be consistent. Failure return values are not just non-zero, but negative 2014-07-06 09:08:38 -06:00