Gregory Nutt
63b24bc686
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-13 09:57:26 -06:00
Gregory Nutt
55c95442e1
drivers/net/skeleton.c: Add support for IOCTL handling.
2017-04-13 09:53:38 -06:00
Gregory Nutt
8288f53d4e
ieee802154 radio: Implement IOCTL decode and dispatch in all radio drivers.
2017-04-13 09:13:16 -06:00
Gregory Nutt
56c5970b5b
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-13 06:57:45 -06:00
Gregory Nutt
ad9321b7b7
Trivial changes from review of last PR
2017-04-13 06:16:03 -06:00
Thomas Keh
7e293b28ee
TUN driver: Implement TAP (OSI layer 2) mode.
...
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Gregory Nutt
c3a9c7eda6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-09 10:16:57 -06:00
Gregory Nutt
a1aca89d61
drivers/net/skeleton.c: Use more common 'Name:' vs. 'Function:'
2017-04-08 13:55:23 -06:00
Gregory Nutt
8b8ddd05c2
Fix some old-style interrupt handling logic in drivers/net/skeleton.c
2017-04-08 13:30:30 -06:00
Gregory Nutt
11ad71a2e6
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-06 10:01:02 -06:00
Jussi Kivilinna
e3b3e57e56
RTC: add interface for check if RTC time has been set
...
New interface allows checking if RTC time has been set. This allows to application to detect if RTC has valid time (after
reset) or should application attempt to get real time by other means (for example, by launching ntpclient or GPS).
2017-04-06 09:53:11 -06:00
Jussi Kivilinna
e2702cbe4e
STM32F7: fix UART7 and UART8 IFLOWCONTROL options
2017-04-06 08:46:24 -06:00
Simon Piriou
e5c4a28c3a
photon: wlan support
2017-04-05 21:55:21 +02:00
Gregory Nutt
cdd3cb2201
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-05 13:18:52 -06:00
Gregory Nutt
cb70ce7d3c
6loWPAN: Correct some IPv6 addresses and operations on IPv6 addresses.
2017-04-05 12:11:09 -06:00
Gregory Nutt
e7f9d14118
Merge branch 'master' of bitbucket.org:nuttx/nuttx into ieee802154
2017-04-04 14:29:00 -06:00
Juha Niskanen
d64d4e02b4
sensors: lis2dh: fix hardfault when reading from unconfigured sensor
2017-04-04 07:38:49 -06:00
Gregory Nutt
1b3cb3752a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-03 08:12:04 -06:00
Juha Niskanen
dfe6a672c1
drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo Voutilainen <time.voutilainen@haltian.com> et al.
2017-04-03 07:28:22 -06:00
Gregory Nutt
6d55ef0a08
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-01 09:08:35 -06:00
Gregory Nutt
52ead055fd
6loWPAN: Beginning of IEEE802.15.4 frame input logic.
2017-04-01 09:07:49 -06:00
Gregory Nutt
a43c0c9efb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-31 06:41:11 -06:00
Juha Niskanen
9d13a2463f
drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C controller.
...
From Harri Luhtala <harri.luhtala@haltian.com>. Tested with earlier
version of NuttX; with current version checked that it compiles.
2017-03-31 06:35:36 -06:00
Juha Niskanen
b5b148fef8
drivers/sensors: Add driver for ST LPS25H pressure sensor
2017-03-31 05:53:43 -06:00
Gregory Nutt
916bd8a48f
HTS221 driver: Modify to use new interrupt parameter passing hooks.
2017-03-31 05:31:35 -06:00
Gregory Nutt
916bd80f9f
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-30 16:30:43 -06:00
Juha Niskanen
9e2b3da3e8
drivers/sensors: Add driver for ST HTS221 humidity sensor
2017-03-30 12:17:23 -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
Anthony Merlino
8f67ec30a7
wireless/ieee802154: Removes ieee802154.h and makes other minor changes
2017-03-29 12:39:52 -04:00
Gregory Nutt
0fec3f9541
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-28 15:02:54 -06:00
Martin Lederhilger
91f96b6ecb
drivers/analog: Add driver for the LTC1767L ADC.
2017-03-28 06:34:37 -06:00
Gregory Nutt
b0204909b2
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-27 18:16:19 -06:00
Gregory Nutt
6c4dac459a
lcd/: PCF8574 backpack logic needs to include poll.h CONFIG_DISABLE_POLL is not set.
2017-03-27 12:28:34 -06:00
Gregory Nutt
3fbf59e2bc
MRF24J40: Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:48:58 -06:00
Gregory Nutt
b315f0d851
AT86RF23x: Clean-up, standardize lower half interface. Take advantage of new OS features for interrupt parameter passing.
2017-03-27 10:28:03 -06:00
Gregory Nutt
a3304d206e
Merge remote-tracking branch 'origin/master' into ieee802154
2017-03-26 15:47:16 -06:00
Gregory Nutt
7d57a2b2bd
Trivial changes from review of last PR.
2017-03-25 10:38:41 -06:00
raiden00pl
be8207d493
drivers/analog: Add basic COMP driver
2017-03-25 16:50:11 +01:00
Gregory Nutt
e97a13ea90
MRF24J40/Clicker2: Add an MRF24J40 device configuration to the Clicker2 STM32 board. Fix a few errors discovered during build.
2017-03-24 13:49:40 -06:00
Anthony Merlino
7388816629
drivers/ieee802154: Moves defines to MAC layer and adjusts some addressing functionality
2017-03-24 11:10:35 -04:00
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
Simon Piriou
1f71c8ced8
bcm: update driver
2017-03-20 22:40:25 +01: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
Simon Piriou
bf9391a1fe
photon: porting wlan device
2017-03-14 21:13:36 +01: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
Gregory Nutt
8ee2e8d8b0
Most Ethernet drviers: Check if the poll timer is running before restarting it at the end of each TX.
2017-02-24 15:58:17 -06:00
Maciej Wójcik
29b4b00068
drivers/spi/Kconfig: There is too much SPI in the configuration menu; SPI Driver Support menu is empty
2017-02-23 14:39:13 -06:00
Gregory Nutt
5e09de3703
drivers/tone.c: 50% duty needs to be expressed a a fixed precision number
2017-02-22 06:35:20 -06:00
Gregory Nutt
ae86d7a8c8
Fix mismatched function prototype.
2017-02-21 07:48:00 -06:00
Gregory Nutt
c776407f64
This should resolve issue #30 : Audio Tone Generator and PWM Multiple Output Channel options. I don't actually have a setup to verify it, however.
2017-02-20 17:26:56 -06:00
Gregory Nutt
a92a865be6
TABs instead of spaces in Kconfig
2017-02-20 14:29:56 -06:00
Gregory Nutt
6e32d74b33
Cosmetic changes from review of the last PR
2017-02-19 11:49:42 -06:00
raiden00
82cb38c824
drivers/sensors: Add driver for the ST L3GD20 3 axis gyro
2017-02-19 17:43:44 +01:00
Gregory Nutt
e29b50e00a
Fix recurring naming problem: KXTJ9 vs KXJT9.
2017-02-18 08:08:41 -06:00
David Sidrane
11d1b2e636
Typo mmcsd/mmcsd_sdio.c
2017-02-13 13:24:47 -10:00
Marc Rechté
d501ffc563
Kinetis SDHC driver fixes.
2017-02-09 11:28:30 -06:00
Alan Carvalho de Assis
248d5d3185
MMC/SD SDIO: Some drivers need to start DMA before sending CMD24 and some AFTER
2017-02-09 11:13:05 -06:00
Gregory Nutt
0df1c556dc
drivers/lcd: ssd1306_configspi() must have global scope.
2017-02-09 07:45:25 -06:00
Wolfgang Reißnegger
cfe7c4012e
USBMSC: Always set LUN readonly flag.
2017-02-08 17:17:19 -08:00
Gregory Nutt
9f859774a1
setvbuf: Add support for configuration of line buffering.
2017-02-08 11:28:24 -06:00
Gregory Nutt
764f503150
Remove duplicate setting for SDIO_DMA from drivers/mmcsd/Kconfig
2017-02-06 13:16:52 -06:00
Gregory Nutt
3dbdb3bb31
CONFIG_SDIO_DMA: Was been defined in several low-level architecute Kconfig files, but used at the highest levels in the code. Both are bad and both are fixed with this commit
2017-01-31 11:52:00 -06:00
Gregory Nutt
2a4791f4ee
Removed dmasupported() method from the SDIO interface. That is now a bit in the cpapability set.
2017-01-31 09:51:15 -06:00
Gregory Nutt
9ac00a355f
Add capabilities() method to SDIO interface. Remove CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but rather a capability/limitation of single slot when there may be multiple slots.
2017-01-31 09:16:01 -06:00
Gregory Nutt
a70ea9d3bc
Typos withim mtd/ with Macronix MX25L. In NuttX/drivers/mtd/Make.defs letters X between M and 25 are missing. Noted by Oleg Evseev.
2017-01-30 07:26:38 -06:00
Alan Carvalho de Assis
c482437325
MMCSD_SDIO: Only wait for card ejected if card detection is supported
2017-01-26 07:44:17 -06:00
Gregory Nutt
ba2b345990
Remove a few remaining use of the obsolteted 'Compilation Switches' program section
2017-01-22 08:57:18 -06:00
Gregory Nutt
5e0c18b535
Merged in david_s5/nuttx/upstream_2_greg_ramtron (pull request #198 )
...
Adding missing CONFIG_ prefix
2017-01-20 20:48:22 +00:00
David Sidrane
ca895b978b
Adding missing CONFIG_ prefix
2017-01-20 10:45:50 -10:00
Gregory Nutt
08c001196b
drivers/: Remove all explicit use of 'hidden' macro _info. Code must never use this directly. Code must always use a debug macro such as info which is basic on _info but can be appropriately filtered.
2017-01-15 13:00:50 -06:00
Gregory Nutt
2d9668fbd2
Fix a typo in a comment
2017-01-12 16:24:41 -06:00
Aleksandr Vyhovanec
bf528f2071
packed_struct replaced by begin_packed_struct and end_packed_struct
2017-01-09 14:17:49 +03:00
David Sidrane
548108764a
BugFix:uart_ops_s portion of cdcacm will not be initalized with correct functions if CONFIG_SERIAL_DMA is lit.
...
This fixes the issses in a C99 compatible way
2016-12-17 04:29:41 -10:00
Gregory Nutt
4795d58e03
Back out most of 46dbbe837e
. The order is correct -- or, rather, the order is the same as the order that response data is provided. Change the order will break all other drivers.
2016-12-15 07:16:24 -06:00
Gregory Nutt
ca92ecafa7
MMC/SD: Format changed from %d to %lu. Must cast argument to unsigned long to avoid crash on 64-bit machine.
2016-12-14 17:44:12 -06:00
Gregory Nutt
f4f32bc740
MMC/SD SDIO (again): This is really an endian-ness issue. Behavior should be different on big- vs little-endian machines.
2016-12-14 17:04:27 -06:00
Alan Carvalho de Assis
3c4a8d05b0
MMC/SD SDIO driver: Change the endianess order to read the return of long response command
2016-12-14 14:17:52 -06:00
Gregory Nutt
f063e4c5ac
Remove Calypso architecture support and support for Calypso SERCOMM driver.
2016-12-13 18:35:52 -06:00
Gregory Nutt
d9e040d76b
Remove all Calypso board configurations
2016-12-13 18:24:49 -06:00
Gong Darcy
44b7975a5e
SSD1306: Fix errors in SPI mode configuration
2016-12-04 10:07:46 -06:00
Gregory Nutt
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
2016-12-03 16:28:19 -06:00
Gregory Nutt
ad3897531f
C5471 Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 12:17:55 -06:00
Gregory Nutt
43459fe75e
DM09x0 Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 11:42:15 -06:00
Gregory Nutt
eba1e076ec
PIC32MX/Z Ethernet: Now supports CONFIG_NET_NOINT
2016-12-03 09:50:14 -06:00
Gregory Nutt
bfa1da14e2
LM3S Ethernet now supports CONFIG_NET_NOINTS
2016-12-03 08:32:49 -06:00
Gregory Nutt
c0cbea2550
Remove RGMP and RGMP drivers.
2016-12-02 09:49:33 -06:00
Janne Rosberg
8442bf66b9
usbhost_cdcacm: add CDC_SUBCLASS_ACM and CDC_PROTO_ATM to supported class and proto
2016-11-30 12:20:23 -06:00
Janne Rosberg
4b282f219a
usbhost_composite: fix end offset in usbhost_copyinterface()
2016-11-30 12:18:23 -06:00
Gregory Nutt
96be43b270
drivers/net/: Adapt all Ethernet drivers to work as though CONFIG_NET_MULTIBUFFER were set. Remove all references to CONFIG_NET_MULTIBUFFER
2016-11-29 16:44:23 -06:00
Gregory Nutt
1793c1f8e1
Trivial, cosmetic change
2016-11-29 15:03:51 -06:00
Gregory Nutt
9ee3f3b933
sched_note: Permit spinlock and critical section notes in in-memory buffer iff sched_not_get() interfaces is disabled.
2016-11-28 18:36:26 -06:00
Gregory Nutt
d65be718c2
sched_note: Extend OS instrumentation to include some SMP events.
2016-11-27 17:14:57 -06:00
Gregory Nutt
0804286ad3
arch/: Add option to use low-priority work queue to all Ethernet drivers in arch that support CONFIG_NET_NOINTS.
2016-11-19 09:20:01 -06:00
Wolfgang Reißnegger
88539a7497
USBMSC: Fix length of mode6 sense reply packet.
2016-11-18 17:23:21 -08:00
Gregory Nutt
cdbc66addd
Merge branch 'master' of bitbucket.org:nuttx/nuttx
2016-11-18 09:30:40 -06:00
Gregory Nutt
936b55f608
drivers/net: Add option to use low-priority work queue to all drivers in drivers/net. Not yet added to all architecture-specific network drivers.
2016-11-18 09:22:49 -06:00
Gregory Nutt
175ec43628
Merged in slorquet/nuttx/timerfixes (pull request #171 )
...
Timerfixes
2016-11-18 14:45:36 +00:00
Gregory Nutt
52560bba37
ENC28J60: Allow either HP or LP work queue to be used.
2016-11-18 08:41:27 -06:00
Sebastien Lorquet
5363d0619a
Fix warnings
2016-11-18 15:26:08 +01:00
Gregory Nutt
47b52a2633
Fix an error in manually bringing in Sebastien's changes; Update some comments.
2016-11-17 16:15:06 -06:00
Gregory Nutt
9acd57c819
Fix up some naming and update some comments.
2016-11-17 15:50:39 -06:00
Gregory Nutt
19c1c9d78b
All timer lower half drivers. Port Sebastien's changes to all all other implementations of the timer lower half. Very many just and untested. Expect some problems.
2016-11-17 15:03:31 -06:00
Sebastien Lorquet
197cec58d2
timer driver: Use signal to notify of timer expiration. Add generic argument so that there can be additional usage.
2016-11-17 14:38:21 -06:00
Gregory Nutt
d4a048c0c6
Timer driver: Add hooks to support signal notification of timer expiration. Commented out because invasive interface changes would also be required to complete the implementation.
2016-11-17 12:41:11 -06:00
Gregory Nutt
ecb2d4cbc1
drivers/timer: Remove the TIOC_SETHANDLER IOCTL call. This calls directly from the timer driver into application code. That is non-standard, non-portable, and cannot be supported
2016-11-17 11:52:42 -06:00
Alan Carvalho de Assis
a6b7730f8c
Add Vishay VEML6070 driver and support for STM32F103-Minimum board
2016-11-13 11:44:28 -06:00
Marc Rechté
58c2cd2843
drivers/ioexpander: Add some debug output.
2016-11-08 07:46:25 -06:00
Gregory Nutt
b0dffdc2ca
Fix a number of header files with mismatched 'extern C {' and '}'
2016-11-05 07:25:05 -06:00
Gregory Nutt
6ff6cca1a0
Fix some mispellings of semaphore
2016-11-03 17:48:36 -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
47b043df1e
drivers/serial.c: Make sure that priority inheritance is not enabled for the signaling semaphores used in the serial driver.
2016-11-03 08:16:59 -06:00
Paul A. Patience
d89765e1d0
spi: Fix Kconfig warning
...
This commit moves the ARCH_HAVE_SPI options outside the check
for SPI. Those options don't depend on SPI, and Kconfig files
in arch/ enable them even if SPI isn't enabled.
Sourcing the driver's Kconfig in drivers/Kconfig only if
support for the driver is enabled prevents us from defining
these ARCH_HAVE options in the driver's Kconfig. We should
probably remove the other checks in drivers/Kconfig and check
if the drivers are enabled only in their Kconfig.
2016-11-02 13:16:12 -04:00
Gregory Nutt
8dd2494407
Review of last PR: Fix return value (ERROR is not a value return value in this context). Fix some spacing.
2016-11-01 15:13:09 -06:00
Aleksandr Vyhovanec
be1626ad7b
Added EEPROM timeout
2016-11-02 00:03:16 +03:00
Gregory Nutt
de6db52b52
Oops... Last commit had some garbage in the file
2016-10-24 15:36:11 -06:00
Gregory Nutt
3d4ce55ebd
Oops.. a couple of hunks failed in the last patch. Hope I got them fixed correctly.
2016-10-24 15:25:40 -06:00
Max Nekludov
146d7e7921
drivers/net/tun.c: Fix bug in TUN interface driver
2016-10-24 15:17:01 -06:00
Max Kriegleder
77e5115e23
syslog: Fixes required for file syslog output
2016-10-19 08:27:20 -06:00
Janne Rosberg
847d2b4218
usbhost/composite: fix compile; missing semicolons
2016-10-18 11:52:23 -06:00
Janne Rosberg
72f13db4bf
usbhost/enumerate: fix possible buffer overwrite
2016-10-18 08:15:19 -06:00
Gregory Nutt
6a0917ae7f
Eliminate warnings
2016-10-06 07:44:17 -06:00
Gregory Nutt
2da3da7fd6
Costmetic changes from review of last commit
2016-09-25 17:24:39 -06:00
Gregory Nutt
0908a6c6b9
Fix calculations using MSEC_PER_TICK. If USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It will be inaccurate in any case.
2016-09-25 08:17:33 -06:00
Alan Carvalho de Assis
61980caee5
drivers/sensors: Adds support for the Sensixs XEN1210 3D-boar. This sensor is used on NANOSATC-BR2 a Brazillian CUBESAT project.
2016-09-16 12:45:53 -06:00
Gregory Nutt
de3e35f00a
include/nuttx/modem: Move all modem-related IOCTL commands to a common file to assure that they will be unique
2016-09-16 09:39:51 -06:00
Aleksandr Vyhovanec
b0f973d901
MTD: SPI-based driver for Macronix MX25L3233F or MX25L6433F.
2016-09-02 11:00:04 -06:00
Aleksandr Vyhovanec
3f40541b21
MTD: Fixed cloned typos in several FLASH drivers.
2016-09-02 07:27:57 -06:00
Gregory Nutt
7f6a403b96
USB host composite is at least partially functional. No longer depends on CONFIG_EXPERIMENTAL
2016-09-02 07:26:29 -06:00
Gregory Nutt
e958c32e4d
USB host composite: Using wrong interface number from interface descriptor.
2016-08-31 13:29:38 -06:00
Gregory Nutt
ebe829c4b9
USB host composite: A test should be <= not just <
2016-08-31 13:24:38 -06:00
Gregory Nutt
7ea9632592
Change the way that contactless IOCTL commands are defined. All IOCTL commands must be unique.
2016-08-31 11:30:22 -06:00
Gregory Nutt
4b0e8e56cf
Add contactless/ directory to Documentation
2016-08-31 10:58:08 -06:00
Gregory Nutt
7b75a32ca1
Improve some comments
2016-08-31 08:16:12 -06:00
Gregory Nutt
cb7c1c1f14
USB host composite: Add an option to permit support only a subset of the composite intefaces.
2016-08-31 07:56:27 -06:00
Sebastien Lorquet
1d1affdd2b
fix mfrc522
2016-08-31 13:46:27 +02:00
Sebastien Lorquet
d4048f3eeb
CL fixes
2016-08-31 13:41:49 +02:00
Sebastien Lorquet
90568f9e8f
Add CL make.defs
2016-08-31 13:25:21 +02:00
Sebastien Lorquet
e5ba71caf8
add cl kconfig
2016-08-31 13:24:19 +02:00
Sebastien Lorquet
3bf11c7203
Add contactless drivers, with renames
2016-08-31 13:20:53 +02:00
Sebastien Lorquet
3654b841bc
Move contactless drivers to their own directory
2016-08-31 13:08:58 +02:00
Gregory Nutt
aa0d1868f5
USB host composite: Fix places where the wrong pointer was used; Add a test for an error condition.
2016-08-30 13:58:01 -06:00
Gregory Nutt
ac623abc7d
USB host composite: Reosolves last remaining REVISIT design issues. Compiles clean with no errors and warning and is fully ready for testing.
2016-08-30 10:52:41 -06:00
Gregory Nutt
ee83e49f75
Update a comment
2016-08-29 15:43:11 -06:00
Gregory Nutt
1ce4db8008
USB host composite: Save some information that will be needed to create a class-specific configuration.
2016-08-29 15:02:15 -06:00
Gregory Nutt
f4f807100b
Update comment
2016-08-29 14:55:03 -06:00
Alpo Leinonen
7d5173ca09
USB host composite: Several syntactic errors fixed
2016-08-29 07:53:57 -06:00
Gregory Nutt
43abb7cb3a
Mark USB host compsite feature EXPERMENTAL; update ChangeLog
2016-08-28 14:51:55 -06:00
Gregory Nutt
31c364457a
CLASS_CONNECT needs to be called for each member of the composite.
2016-08-28 08:48:40 -06:00
Gregory Nutt
58b45d64d7
Fix composite connect method.
2016-08-28 08:33:38 -06:00
Gregory Nutt
5d4428be93
Add check of class ID in device scriptor header
2016-08-27 10:53:43 -06:00
Gregory Nutt
c973e0d3ba
Add the logic necessary to abstract the register lookup information for each candiate class
2016-08-27 10:31:18 -06:00
Gregory Nutt
2460d41ae0
Add more logic to the USB host composite wrapper.
2016-08-26 17:03:16 -06:00
Gregory Nutt
0860621e60
Fill one more case of 'Missing logic' in the USB host composite wrapper.
2016-08-26 12:34:58 -06:00