Gregory Nutt
abf6965c24
Squashed commit of the following:
...
libs/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
syscall/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
wireless/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
Documentation/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
include/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
drivers/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
sched/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
configs: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/xtensa: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/z80: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/x86: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/renesas and arch/risc-v: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/or1k: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/misoc: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/mips: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/avr: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/arm: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
2019-04-29 14:52:05 -06:00
Xiang Xiao
fb63c0a293
sched/signal and related changes to other OS subsystems.
2019-01-27 09:28:59 -06:00
Xiang Xiao
5e8ae23edc
drivers/timers/oneshot.c: Support signal notification through SIGEV_THREAD
...
drivers/timers/rtc.c: Support signal notification through SIGEV_THREAD
drivers/input/ajoystick.c: Support signal notification through SIGEV_THREAD
drivers/input/djoystick.c: Support signal notification through SIGEV_THREAD
drivers/input/button_upper.c: Support signal notification through SIGEV_THREAD
drivers/sensors/zerocross.c: Support signal notification through SIGEV_THREAD
drivers/wireless/ieee802154: Support signal notification through SIGEV_THREAD
drivers/lcd/ft80x.c: Support signal notification through SIGEV_THREAD
2019-01-27 08:53:12 -06:00
Juha Niskanen
eee6c89bfb
drivers/input/button_upper.c: Fix two bad NULL checks
2018-11-14 06:31:37 -06:00
Gregory Nutt
241ea809c7
Updates based on coding style review of PR 756
2018-11-09 08:10:40 -06:00
Petteri Aimonen
3e5a05f819
Merged in paimonen/nuttx/pullreq_max11802_updates (pull request #756 )
...
max11802: Fix compilation errors and allow setting PULL and SAMPLE registers.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-09 13:53:11 +00:00
Xiang Xiao
e1202d2ed3
Replace all ASSERT with DEBUGASSERT to save the code space
2018-08-24 06:58:30 -06:00
Gregory Nutt
10069067c1
include/nuttx/i2c/i2c_master.h: Rename I2C_M_NORESTART to I2C_M_NOSTART since it may be used in other contexts than a repeated start. Add comments to clarilfy setup for repeated start.
2018-08-03 08:51:55 -06:00
Gregory Nutt
1d70e7f4b0
Revert "drivers/input/ft5x06.c: Back out part of last PR. I think that is correct to detach the interrupt handler when the drivers is unlinked."
...
No... I was misled. The shutdown function is usually called when the
driver is unlinked. But not in this case. In this case, it is simply
called when the last reference is closed. And no, you don't want to
detach the interrupt handler in that case. My bad.
This reverts commit b79e6b9c9a
.
2018-08-01 17:41:07 -06:00
Gregory Nutt
b79e6b9c9a
drivers/input/ft5x06.c: Back out part of last PR. I think that is correct to detach the interrupt handler when the drivers is unlinked.
2018-08-01 17:38:48 -06:00
Marcin Wyrwas
18ca531b40
Merged in plwm/nuttx/stm32f746g-disco-touchscreen (pull request #701 )
...
stm32f746g-disco: touchscreen support
* fixed FT5x06 driver to correctly close (previously it unregistered interrupt handler during close)
* added LittlevGL demo for STM32F746G-DISCO
Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-01 21:31:39 +00:00
Alan Carvalho de Assis
283b73edc5
Fix lots of typos in C comments and Kconfig help text
2018-07-08 18:24:45 -06:00
Gregory Nutt
b54ffe858a
Standardization of some function headers.
2018-03-13 09:52:27 -06:00
Dmitriy Linikov
a8c58607e9
Merged in hardlulz/modem-3.0-nuttx/fix-sem-EINTR (pull request #603 )
...
Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-20 18:24:53 +00:00
Gregory Nutt
2683f713ab
Make sure that labeling is used consistently in all function headers (part 3).
2018-02-01 12:17:03 -06:00
Gregory Nutt
1567b82429
Make sure that labeling is used consistently in all function headers (part 2).
2018-02-01 12:03:55 -06:00
Gregory Nutt
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
2018-02-01 10:00:02 -06:00
Gregory Nutt
da50646bcf
sched/wdog: wd_start() is an internal OS function and should not set the errno value. Reviewed and updated every call to wd_start() to verify if return value is used and if so if the errno value is accessed.
2018-01-31 10:09:14 -06:00
Gregory Nutt
3fb0a50036
drivers/input/ft5x06.c: Remove cool logic to disable polling when there there is no client waiting for read data. That was a great idea to save CPU cycles when there is nothing reading from the touchscrren but, unfortunately, does not work with readers that open the driver in non-blocking mode. So I think we just have to eat the CPUs even when there is nothing waiting for touchscreen input.
2018-01-18 09:59:31 -06:00
Gregory Nutt
5a0963f0b0
drivers/ft5x06.x and related: Minor cleanup after completing the FT5x06 driver verification.
2017-12-19 07:14:02 -06:00
Gregory Nutt
d29de95996
drivers/input/ft5x06.c: Fix a problem was was causing missing reports when the touch ends.
2017-12-18 20:06:42 -06:00
Gregory Nutt
d9997846b6
Lpcxpresso-Lpc54618 and FT5x06 driver. Some improvements in configuration and the touchscreen driver improves the behavior some. Now I get the calibration screen and detect touches (but no un-touches).
2017-12-18 17:22:35 -06:00
Gregory Nutt
ead23dca30
configs/lpcxpresso-lpc54628: Add an NxWM configuration. Not yet functional.
2017-12-18 13:33:37 -06:00
Gregory Nutt
4a5e18a6db
drivers/ft5x06.c: Add additional configuration options: Optimize if multi-touch capability is not used. Add options to swap X/Y and thresholding to reduce the rate of false alarm reports (with no motion).
2017-12-18 10:31:49 -06:00
Gregory Nutt
23dfc0bf06
drivers/ft5x06: Add a polled mode of operation for the FT5x06 in attempt to work around the fact that the LPCXpresso-LPC54628 chose a non-interrupt pin for the FT5x06 interrupt. Driver is still not yet functional.
2017-12-18 08:58:07 -06:00
Gregory Nutt
c014400895
drivers/input/ft5x06: Fix a misconception.. WAKE is an output, not an input.
2017-12-18 06:36:44 -06:00
Gregory Nutt
91f48701ae
arch/arm/src/sam34: Fix some compile warnings that I introduced with a possibly overzealous recent change.
2017-12-17 17:43:20 -06:00
Gregory Nutt
c62a9ea727
drivers/input/ft5x06.c: Add a driver for the FT5x06 capacitive, multi-touch, touchscreen controller. configs/lpcxpresso-lpc54628: Add support for the the FT5x06. Enable the driver as well as the apps/examples touchscreen test. Untested on initial commit.
2017-12-17 15:17:06 -06:00
Gregory Nutt
87252297d6
arch/arm/src/: Fix a error in last commit that was cloned in three places.
2017-12-17 14:38:20 -06:00
Gregory Nutt
1338360ff7
Fix a few typos.
2017-11-28 13:40:07 -06:00
Gregory Nutt
0c614311af
Eliminate some warnings
2017-11-28 12:49:36 -06:00
Alan Carvalho de Assis
5a814a773d
drivers/input/nunchuck.c: Add Nintendo Wii Nunchuck driver
2017-11-28 12:10:06 -06:00
Dmitriy Linikov
61372551e9
Merged in hardlulz/modem-3.0-nuttx/fix-stmpe811-gpio (pull request #523 )
...
Fix GPIO operation of STMPE811 driver.
Fixed issues:
1. STMPE811_GPIO_DIR was defined for register name
and later was redefined to be the pin direction mask
for `stmpe811_gpioconfig`
I decided to change register name to be STMPE811_GPIO_DIR_REG,
and keep pin direction mask STMPE811_GPIO_DIR, so that any
external code that already use this driver will be unchanged.
2. The STMPE811 register GPIO_DIR uses bit value 1 for output
and 0 for input, but `stmpe811_gpioconfig` set the opposite.
3. The call to `stmpe811_gpiowrite` from inside of `stmpe811_gpioconfig`
leaded to deadlock.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-31 16:54:28 +00:00
Gregory Nutt
4810499d3a
Squashed commit of the following:
...
Replace all calls to sigqueue() in the OS proper with calls to nxsig_queue() to avoid accessing the errno variable.
sched/signal: Add nxsig_queue() which is functionally equivalent to sigqueue() except that it does not modify the errno variable.
2017-10-07 10:57:09 -06:00
Gregory Nutt
936df1bcb5
Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep().
...
Squashed commit of the following:
Change all calls to usleep() in the OS proper to calls to nxsig_usleep()
sched/signal: Add a new OS internal function nxsig_usleep() that is functionally equivalent to usleep() but does not cause a cancellaption point and does not modify the errno variable.
sched/signal: Add a new OS internal function nxsig_sleep() that is functionally equivalent to sleep() but does not cause a cancellaption point.
2017-10-06 10:15:01 -06:00
Jussi Kivilinna
7fc7cc9f8f
drivers/input/cypress_mbr3108: Add missing variable for nxsem_wait return value
2017-10-06 07:30:04 -06:00
Gregory Nutt
9568600ab1
Squashed commit of the following:
...
This commit backs out most of commit b4747286b1
. That change was added because sem_wait() would sometimes cause cancellation points inappropriated. But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.
In the OS, all calls to sem_wait() changed to nxsem_wait(). nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.
In all OS functions (not libraries), change sem_wait() to nxsem_wait(). This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.
sched/semaphore: Add the function nxsem_wait(). This is a new internal OS interface. It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
Gregory Nutt
42a0796615
Squashed commit of the following:
...
sched/semaphore: Add nxsem_post() which is identical to sem_post() except that it never modifies the errno variable. Changed all references to sem_post in the OS to nxsem_post().
sched/semaphore: Add nxsem_destroy() which is identical to sem_destroy() except that it never modifies the errno variable. Changed all references to sem_destroy() in the OS to nxsem_destroy().
libc/semaphore and sched/semaphore: Add nxsem_getprotocol() and nxsem_setprotocola which are identical to sem_getprotocol() and set_setprotocol() except that they never modifies the errno variable. Changed all references to sem_setprotocol in the OS to nxsem_setprotocol(). sem_getprotocol() was not used in the OS
2017-10-03 15:35:24 -06:00
Gregory Nutt
83cdb0c552
Squashed commit of the following:
...
libc/semaphore: Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable. Changed all references to sem_getvalue in the OS to nxsem_getvalue().
sched/semaphore: Rename all internal private functions from sem_xyz to nxsem_xyz. The sem_ prefix is (will be) reserved only for the application semaphore interfaces.
libc/semaphore: Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable. Changed all references to sem_init in the OS to nxsem_init().
sched/semaphore: Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function.
sched/semaphoate: Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
2017-10-03 12:52:31 -06:00
Juha Niskanen
0113b0db95
drivers: handle I2C_TRANSFER return value consistently. Some I2C peripherals transfers return zero on success, others number of completed transfers. Make drivers robust against this.
2017-08-04 07:31:36 -06:00
Jan Pobrislo
7999822189
I've found that the interrupts aren't enabled since nothing updates them after btn_poll() marks the file descriptor structure as being polling. I've managed to make it work with this change.
2017-07-04 14:43:19 -06:00
Juha Niskanen
80cc19d6b0
drivers/input: add Cypress MBR3108 CapSense touch button driver
2017-05-31 06:31:53 -06:00
Jussi Kivilinna
7ae8173449
button_upper: fix interrupt enabling for poll-events
2017-05-24 08:06:13 -06:00
Juha Niskanen
b9a769d65d
drivers: fix some bad NULL checks
2017-05-15 07:20:32 -06:00
Gregory Nutt
0de294a586
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:35:56 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Gregory Nutt
cb70ce7d3c
6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses.
2017-04-05 12:11:09 -06:00
Jussi Kivilinna
dffb8a67e3
Add entropy pool and strong random number generator
...
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output.
Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
2017-03-30 07:38:37 -06:00
Gregory Nutt
3872055daa
drivers/audio/wm8904: WM8904 has same problem as that fixed by Juha Niskanen in the MaxTouch driver.
2017-03-21 07:20:45 -06:00
Juha Niskanen
c3d9b86662
input/mxt: prevent overriding i2c transfer return value
...
put_reg/get_reg function was overriding i2c transfer error code with i2creset return value, that lead to OK status although actual transfer failed.
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
Reported-by: Harri Luhtala <harri.luhtala@haltian.com>
2017-03-21 07:12:07 -06:00
Gregory Nutt
02b1e1ec1a
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:57 -06:00
Gregory Nutt
704df7bd39
IRQ arguments: Fix errors discovered in build testing
2017-02-27 19:28:24 -06:00
Gregory Nutt
67de2e5f66
Add argument to STM32 EXTI interrupt handlers.
2017-02-27 14:21:30 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
f15b566254
Button interrupt handler needs argument parameter.
2017-02-27 07:35:34 -06:00
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
patacongo
4b1d8c0f2a
Add a timeout to the STMPE11 touchscreen driver to catch missing pen up events
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4758 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 17:36:26 +00:00
patacongo
1ebf20d66e
NXWidgets::CNxTkWindow must subtract the height of the toolbar (if any) when reporting the size of the window
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4741 42af7a65-404d-4744-a932-0658087f49c3
2012-05-15 20:10:32 +00:00
patacongo
239781e193
Improved thresholding logic in the STMPE11 driver; NxWM: Oops minimizing wrong application
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4737 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 21:57:38 +00:00
patacongo
776db19800
NXWidgets::CImage needs to catch mouse/touchscreen events; All touchscreen drivers need to report the last valid X/Y data when the screen is untouched.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4731 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 18:28:43 +00:00
patacongo
d704f0ca55
Fix a few STMPE11 touchscreen and NxWM touchscreen calibration bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4723 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 22:07:06 +00:00
patacongo
db6865da85
SMTPE11 and NxWM touchscreen fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4722 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 18:27:46 +00:00
patacongo
834af0f5fb
NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 00:05:25 +00:00
patacongo
f9b6a00f49
The STMPE11/touchscreen is now fully functional on the STM3240G-EVAL
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4715 42af7a65-404d-4744-a932-0658087f49c3
2012-05-08 22:10:29 +00:00
patacongo
0d6f095e1c
Integrate the STMPE11 driver into the STM3240G-EVAL board logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4714 42af7a65-404d-4744-a932-0658087f49c3
2012-05-08 15:07:53 +00:00
patacongo
83f1f2422e
Mostly cosmetic, partial fixes for STM3240G-EVAL LCD
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4705 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 01:40:39 +00:00
patacongo
2f4770305f
Add STMPE11 temperature sensor logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4704 42af7a65-404d-4744-a932-0658087f49c3
2012-05-06 16:28:43 +00:00
patacongo
30cbe29a09
Add STMPE11 touchscreen logic
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4703 42af7a65-404d-4744-a932-0658087f49c3
2012-05-06 16:00:16 +00:00
patacongo
d6f78c2f8c
Add framework for STMPE11 ADC interfaces
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4702 42af7a65-404d-4744-a932-0658087f49c3
2012-05-06 01:37:47 +00:00
patacongo
17cbf10e76
Add GPIO support to STMPE11 driver; NFS update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4701 42af7a65-404d-4744-a932-0658087f49c3
2012-05-05 23:17:25 +00:00
patacongo
a823fe5144
Beginning of an SMTPE11 touchscreen/IO expander driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4700 42af7a65-404d-4744-a932-0658087f49c3
2012-05-05 17:27:03 +00:00
patacongo
f89aa44153
More STM3240G-EVAL LCD updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4665 42af7a65-404d-4744-a932-0658087f49c3
2012-04-27 18:29:04 +00:00
patacongo
1ad8ade695
Updated Kconfig files from Lzyy
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4569 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:50:57 +00:00
patacongo
330b89ca0e
Add kconfig documentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8
Adding skeleton Kconfig files (part 1 of 2)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
2fe4ad52f8
Move file-system header files to include/nuttx/fs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
f158e56fca
STM32 fixes for F4 32-bit timers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
2012-01-13 02:49:10 +00:00
patacongo
1877006302
Adds support for the STM32F103VCT6 and for the Hy-Mini STM32v board. Contributed by Laurent Latil
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4197 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 20:07:22 +00:00
patacongo
bc29aea397
Fix a cloned error in driver poll setup
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4132 42af7a65-404d-4744-a932-0658087f49c3
2011-12-03 16:13:40 +00:00
patacongo
f1b07efc09
Add comments that indicate that tsc2007_activate is probably not needed
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4131 42af7a65-404d-4744-a932-0658087f49c3
2011-12-01 23:08:27 +00:00
patacongo
0fe0a10e9f
Add support for more FAT partitions; support for SD cards greater than 4Gb; TSC2007 touchscreen driver improvements
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4092 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 16:44:45 +00:00
patacongo
9f645b695e
Add a configuration for the lpc3152
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4043 42af7a65-404d-4744-a932-0658087f49c3
2011-10-13 17:49:11 +00:00
patacongo
43edab2dd8
ADS7843 updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4042 42af7a65-404d-4744-a932-0658087f49c3
2011-10-12 17:37:15 +00:00
patacongo
fb14c33e35
SAM3U SPI debug changes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4031 42af7a65-404d-4744-a932-0658087f49c3
2011-10-07 22:37:24 +00:00
patacongo
94a87532e2
Fix bugs in STM32 SDHC and I2C drivers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4020 42af7a65-404d-4744-a932-0658087f49c3
2011-10-05 01:22:49 +00:00
patacongo
ee04a259db
ADS7843E driver is code complete
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 17:08:59 +00:00
patacongo
43e69f745d
The ADS7843E driver skeleton at least compiles now
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4014 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 16:47:23 +00:00
patacongo
d02a44a113
Add hooks for the ADS7843E touchscreen controller
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4013 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 16:02:22 +00:00
patacongo
f23f7fa365
Bug fixes for BCH and TSC2007 drivers
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3921 42af7a65-404d-4744-a932-0658087f49c3
2011-08-29 16:07:29 +00:00
patacongo
fb35aea349
Forgot to add file in last checkin
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3832 42af7a65-404d-4744-a932-0658087f49c3
2011-07-31 14:53:57 +00:00
patacongo
488a8fa9d5
Completes first cut of TSC2007 driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3831 42af7a65-404d-4744-a932-0658087f49c3
2011-07-30 17:41:22 +00:00
patacongo
8501188ee2
More TSC2007 driver updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3830 42af7a65-404d-4744-a932-0658087f49c3
2011-07-30 15:31:23 +00:00
patacongo
607e574101
More logic added to the TSC2007 touchscreen driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3829 42af7a65-404d-4744-a932-0658087f49c3
2011-07-29 23:37:33 +00:00
patacongo
ab1634636e
Add TSC2007 register definitions
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3828 42af7a65-404d-4744-a932-0658087f49c3
2011-07-29 20:12:14 +00:00
patacongo
1c492be255
Add framework for input devices and TSC2007 touchscreen driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3827 42af7a65-404d-4744-a932-0658087f49c3
2011-07-29 18:51:56 +00:00