Gregory Nutt
0be851d339
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-22 14:26:20 -06:00
Masayuki Ishikawa
f50a075373
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #287 )
...
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 23:45:47 +00:00
Masayuki Ishikawa
e336d24898
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
2017-03-22 08:21:22 +09:00
Masayuki Ishikawa
d4e7213ddc
Merged in masayuki2009/nuttx.nuttx/lcd_aqm_1248a_support (pull request #283 )
...
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-21 13:27:42 +00: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
Masayuki Ishikawa
591f91ebd3
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
2017-03-21 15:30:23 +09:00
Heesub Shin
a10735b50d
mtd/progmem: fix incorrect target address calculation
...
progmem_read/write() is incorrectly calculating the target address,
expecting the offset argument is given in a block number. This is
completely wrong and as a result invalid flash region is accessed.
Byte-oriented read/write interfaces of mtd device accept the
target address in a byte offset, not a block number.
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
2017-03-19 01:11:37 +09:00
Gregory Nutt
175f8960cf
Cosmetic changes from review of last PR
2017-03-18 06:47:34 -06:00
Brian Webb
0a95536b85
Adds driver support for the XBox One controller. Currently only the latest version (XBox One X) controller works. The older XBox One controllers do not enumerate correctly.
2017-03-17 20:48:21 -07:00
Gregory Nutt
25e4e3c314
Bring closer to NuttX coding standard.
2017-03-15 14:57:13 -06:00
Gregory Nutt
f985b52587
Integrate use of new wireless debug macros. Replace ad hoc debug macros. Convert obsolete dbg() macros to current info(), warn(), err() macros.
2017-03-15 14:37:17 -06:00
Gregory Nutt
15b2046748
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-15 14:32:05 -06:00
Gregory Nutt
57a1360c84
Add option to enable wireless debug output.
2017-03-15 14:31:01 -06:00
Gregory Nutt
fc6405d519
Bring closer to NuttX coding standard.
2017-03-15 14:16:19 -06:00
Sebastien Lorquet
b5824d0993
Merge branch 'master' into ieee
2017-03-13 16:51:05 +01:00
Simon Piriou
e10ce5ce51
Photon: add basic support for wlan chip
2017-03-12 16:57:59 +01:00
Gregory Nutt
399f306744
A few cosmetic changes
2017-03-11 08:58:42 -06:00
Gregory Nutt
04b2964eac
drivers/wireless/nrf24l01.c: Review last PR. Also got enthused and did major re-work to file to bring it closer to the NuttX coding style. Fixed a few compile time warnings.
2017-03-10 17:29:58 -06:00
Leif Jakob
5534e0c493
multiple fixes in nrf24l01 driver
...
- signal POLLIN if there is already data in the FIFO
- send ETIMEDOUT to userspace after 2 seconds if TX IRQ was not received
- handle FIFO overflow
- handle invalid pipes/empty FIFO
- multiple cosmetics (missing static, duplicate define, missing \n)
2017-03-10 23:21:49 +01:00
Sebastien Lorquet
7e19f4014e
Merge branch 'master' into ieee
...
Conflicts (fixed):
drivers/wireless/ieee802154/mrf24j40.c
include/nuttx/fs/ioctl.h
2017-03-09 14:28:52 +01:00
Andreas Bihlmaier
c0769c9988
Merged in andreasBihlmaier/nuttx/fix-as5048b (pull request #255 )
...
fix as5048b by adding missing frequency parameter
Approved-by: Gregory Nutt
2017-03-09 12:57:47 +00:00
ahb
e1da80af5b
fix as5048b by adding missing frequency parameter
2017-03-09 12:01:01 +01:00
ahb
164546a65c
increase number of supported PWM channels from 4 to 6
2017-03-09 11:54:37 +01:00
no1wudi
6f4b8c9e60
Merged in no1wudi/nuttx (pull request #241 )
...
fixed the debug method selection of ssd1306
Approved-by: Gregory Nutt
2017-03-07 13:36:26 +00:00
Janne Rosberg
ce2845c5c3
usbhost_cdcacm: fix tx outbuffer overflow and remove now invalid assert
2017-03-07 06:59:00 -06:00
no1wudi
5528b2836c
fixed the debug method selection of ssd1306
2017-03-07 19:49:18 +08:00
Maciej Wójcik
1e6ab4763c
typos
2017-03-05 13:04:07 +00:00
Gregory Nutt
c976a66f8d
net/drivers/skeleton.c: Back out serialization changes of the last commit. They are not necessary in the skeleton.c example because the calls to net_lock() at the beginning of each worker function will enforce serialization.
2017-03-04 11:33:36 -06:00
Gregory Nutt
e2eb5f1ae0
drivers/net: Add framework for serialization in the case where multiple low-priority work queues are used.
2017-03-04 09:45:09 -06:00
Gregory Nutt
a8363528dc
net/phy_notify.c: Call to arch_phy_irq() missing new interrupt argument parameter.
2017-03-03 16:08:21 -06:00
Gregory Nutt
86239d4a73
Experimental change to STM32 Ethernet driver a success. Porting change to all other Ethernet drivers.
2017-03-03 14:45:09 -06:00
Gregory Nutt
f4bad1a280
stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t oldhandler. This value is useless and dangerous after the recent changes to interrupt argument passing.
2017-03-02 16:34:37 -06:00
Gregory Nutt
f5f9d82d5a
arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The oldhandler is useless after the changes to the interrupt argument. Also access an argument for the PHY interrupt. phy_notify.c driver changed to exploit new interrupt argument passing.
2017-03-02 08:43:33 -06:00
Maciej Wójcik
35b2448203
Merged in w8jcik/nuttx (pull request #232 )
...
some simple typos
Approved-by: Gregory Nutt
2017-03-01 15:25:42 +00:00
Mark Schulte
28226198a7
memlcd: Mark Schulte <mark@mjs.pw>
2017-03-01 08:52:58 -06:00
Maciej Wójcik
4a8aa6ae95
typos
2017-03-01 12:56:15 +01:00
Gregory Nutt
ac6e552ff7
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:37:44 -06:00
Gregory Nutt
ded155c638
Fixes for coding standard: '*' needs to 'snuggle' with following variable name
2017-02-28 18:22:58 -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
69c26cca50
Correct mimatched function prototype.
2017-02-27 12:24:34 -06:00
Gregory Nutt
7bd8da19b9
Missed some changes in the last commit.
2017-02-27 12:11:35 -06:00
Gregory Nutt
840c5935a3
Correct a typo from one of the preceding commits.
2017-02-27 11:58:20 -06:00
Gregory Nutt
a773f9412a
STMPE811 driver needs argument in interrupt handler
2017-02-27 11:41:48 -06:00
Gregory Nutt
b4ff7391f8
Convert more drivers to use use irq_attach with argument.
2017-02-27 10:44:13 -06:00
Gregory Nutt
4cd31be19d
Convert some serial drivers to use use irq_attach.
2017-02-27 08:55:21 -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