Mark Schulte
b3222bbc8a
irq_dispatch: Add argument pointer to irq_dispatch
...
Provide a user defined callback context for irq's, such that when
registering a callback users can provide a pointer that will get
passed back when the isr is called.
2017-02-27 06:27:56 -06:00
Gregory Nutt
4fcbe8e410
drivers: Disable priority inheritance on all semaphores used for signaling
2016-11-03 11:00:47 -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
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
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
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
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
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
Gregory Nutt
4afc23d16d
maXTouch: Fix test of I2C_TRANSFER return value
2014-07-06 08:51:38 -06:00
Gregory Nutt
b4d3cebc2f
maXTouch: Fix I2C address, errors when debug enable, reorganize some data
2014-07-06 08:03:34 -06:00
Gregory Nutt
c2fc299332
Forgot to add a file in the last commit
2014-07-05 11:57:03 -06:00
Gregory Nutt
3e9f29ba07
Add very basic support for the Atmel maXTouch touchscreen controller
2014-07-05 11:47:54 -06:00
Gregory Nutt
b732388fcb
TSC2007: Cosmetic updates
2014-07-04 15:03:41 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
0070815e87
HID mouse can now support some while mice. Problems with Microsoft mice
2014-02-10 11:53:37 -06:00
Gregory Nutt
c95cd438ef
Minor typo fixes
2014-02-09 13:43:43 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
8b68ea2f94
Add a general bit-bang SPI upper-half driver
2013-07-01 12:23:26 -06:00
Gregory Nutt
09faaccc02
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -06:00
Gregory Nutt
c9f1d1857c
SAM3U-EK: Correct polarity of the PENIRQ signal
2013-06-16 14:31:18 -06:00
Gregory Nutt
c7fd7a4e27
Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver
2013-06-16 10:09:21 -06:00
Gregory Nutt
83ecc03d17
Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup
2013-06-12 17:32:00 -06:00
Gregory Nutt
3f52b0fbb6
Yet more kconfg2html logic
2013-04-20 17:29:10 -06:00
Gregory Nutt
3e6b7a33f2
Fix some naming and comments associated with the Open1788 touchscreen
2013-04-15 11:25:08 -06:00
Gregory Nutt
b841dac0be
Minor clean-up while debugging the Open1788 touchscreen
2013-04-12 08:37:20 -06:00
patacongo
e1daee1930
Several fixes for LPC1788 GPIO
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5813 42af7a65-404d-4744-a932-0658087f49c3
2013-04-03 19:35:21 +00:00
patacongo
e1e8f4debe
SSP driver fixes for the LPC178x; Fixes for Open1788 touchscreen driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5812 42af7a65-404d-4744-a932-0658087f49c3
2013-04-02 16:36:19 +00:00
patacongo
153984b9c9
Several patches from Petteri Aimonen
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5625 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 15:28:07 +00:00
patacongo
cc022f93df
Patches from Petteri Aimonen (plus a few other things)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5448 42af7a65-404d-4744-a932-0658087f49c3
2012-12-21 20:09:32 +00:00
patacongo
2def0d877d
A few native window build updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5387 42af7a65-404d-4744-a932-0658087f49c3
2012-11-25 20:58:39 +00:00
patacongo
4ee266d94b
Centralized the definition of the INCDIR script in tools/Config.mk
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00
patacongo
3ac88b412e
Add MAX11802 touchscreeen driver from Petteri Aimonen
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5237 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 15:17:19 +00:00
patacongo
2ac7f18021
Fix ID tagging in ADS7843/XPT2046 touchscreen driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5201 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:55:15 +00:00
patacongo
09e07d6550
Fix STM32 SPI3 remap logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:15:24 +00:00
patacongo
8a0899a695
STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo
6a744b77a0
Definitions for ARMv7-M AIRCR register, Fixes for ADS7843 and SSD1289 driver, Missing build logic for examples/watchdog
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5198 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 15:29:53 +00:00
patacongo
c48a617cd2
Correct some bad parameter checking
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 03:13:50 +00:00
patacongo
41396d5960
Fixes mostly related to touchscreen on Shenzhou board (still does not work)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5196 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 01:26:47 +00:00
patacongo
7a9457bb07
Email address change in nuttx/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
561bea0899
Add support for multiple work queues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 00:54:09 +00:00
patacongo
32eb080823
PGA11x driver belongs in analog/ not input/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4978 42af7a65-404d-4744-a932-0658087f49c3
2012-07-25 18:58:45 +00:00
patacongo
cc5b31a286
Add support for the TI PGA11x amplifier/multiplexer
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4977 42af7a65-404d-4744-a932-0658087f49c3
2012-07-25 18:41:10 +00:00
patacongo
4bca971ba1
A little more cleanup after the big STMPE11->811 name change
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4783 42af7a65-404d-4744-a932-0658087f49c3
2012-05-29 01:43:51 +00:00
patacongo
26d1e5ab3f
Massive naming fix: STMPE11->STMPE811
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4782 42af7a65-404d-4744-a932-0658087f49c3
2012-05-29 00:54:22 +00:00