Juha Niskanen
0f7210b0ae
mtd: fix some unallocated and NULL pointer issues. rwb->wrflush and rwb->wrmaxblocks in rwbuffer could get unallocated values from ftl_initialize() in some configurations. Also fixes related assert:
...
up_assert: Assertion failed at file:rwbuffer.c line: 643
that can happen with the following configuration:
CONFIG_FTL_WRITEBUFFER=y
CONFIG_DRVR_WRITEBUFFER=y
# CONFIG_FS_WRITABLE is not set
These problems are caused by CONFIG variable differences between the buffer layers. TODO: This is not a perfect solution. readahead support has similar issues.
2017-05-11 07:22:21 -06:00
Juha Niskanen
58a0b09b82
mtd/config: fix byte read interface test
2017-05-11 07:19:24 -06:00
Juha Niskanen
797e3c3ca4
mtd: build RAMTRON and AT45DB drivers only if selected
2017-05-11 07:17:29 -06:00
Gregory Nutt
b5c1dd09f5
Syslog: Need inclusion of errno.h for fix building with CONFIG_SYSLOG_TIMESTMAP=y
2017-05-11 07:15:57 -06:00
Jussi Kivilinna
ba933efd9e
When syslog message has addition characters after last new-line. With buffering those now get lost as vsyslog does not flush output after lib_sprintf. Additional trailing characters could be ANSI escape sequence to reset state that message setups. For example, macro here uses colors and resets state after actual message (including '\n'):
...
With flushing added to vsyslog, then there is problem that next syslog line might come from other task before reset sequence, causing wrong line getting color. This could be avoided by not flushing on '\n' but only if IOB is full and/or at end of vsyslog. Would this make sense?
2017-05-11 07:11:35 -06:00
Gregory Nutt
d3b9f5b37f
Syslog buffering: Use IOBs to buffer data, not an on-stack buffer
2017-05-10 17:36:08 -06:00
Gregory Nutt
d8a83f16be
Syslog buffering: Various corrections from early debug
2017-05-10 16:13:21 -06:00
Gregory Nutt
00075acada
Merge branch 'syslog' of https://bitbucket.org/nuttx/nuttx into syslog
2017-05-10 15:04:57 -06:00
Gregory Nutt
20727d17c3
SYSLOG: Add option to buffer SYSLOG output to avoid interleaving.
2017-05-10 14:42:43 -06:00
Floxx
c2096f17d6
Moved LIS3DSH from the I2C-dependent block to the SPI-block to make Make.defs consistent with the driver (SPI only) and drivers/sensors/Kconfig.
2017-05-10 20:18:48 +02:00
Juha Niskanen
4f18b40429
mtd/config: erase block between block read and write
2017-05-10 08:25:39 -06:00
Stefan Kolb
591f35be87
I discovered a problem in the file drivers/serial/serial.c concerning the function uart_close(…). In the case that a serial device is opened with the flag O_NONBLOCK the function uart_close(…) blocks until all data in the buffer is transmitted. The function close(…) called on an handle opened with O_NONBLOCK should not block. The problem occurred with a CDC/ACM device.
2017-05-10 07:59:58 -06:00
Anthony Merlino
806dcd9a47
wireless/ieee802154: Brings closer to Nuttx coding style
2017-05-09 17:20:57 -04:00
Gregory Nutt
2043e1a114
IOBs: Move from driver/iob to a better location in mm/iob
2017-05-09 07:35:30 -06:00
Anthony Merlino
3fa8e32e36
wireless/ieee802154: MRF24J40: Finishes receive functionality, supports promicuous mode, and rxonidle attributes
2017-05-08 16:23:13 -04:00
Anthony Merlino
1490599b69
wireless/ieee802154: Reworks data_ind allocation to include IOB allocation/deallocation. Hides private data.
2017-05-06 10:20:19 -04:00
Anthony Merlino
dd40014279
wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface.
2017-05-05 11:15:38 -04:00
Anthony Merlino
2c57c3f83b
wireless/ieee802154: Changes rxenable at radio layer
2017-05-05 11:15:38 -04:00
Gregory Nutt
6a45afdd75
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-04 07:11:19 -06:00
Gregory Nutt
88be413a05
Remove dangling whitespace at the end of lines.
2017-05-03 18:30:40 -06:00
Gregory Nutt
97f149a40b
Photon: Cosmetic changes to style detected by tools/nxstyle
2017-05-03 18:20:57 -06:00
Simon Piriou
b5e1ea4bef
bcmf: fix frame not freed when dropped + cleanup
2017-05-03 23:19:28 +02:00
Gregory Nutt
2ece0c57dd
Remove dangling whitespace at the end of lines
2017-05-02 14:42:40 -06:00
Gregory Nutt
e94865a317
Merge remote-tracking branch 'origin/master' into photon
2017-05-02 08:49:19 -06:00
Simon Piriou
bd5d6ce986
bcmf: implement basic wext interface for authentication
2017-05-02 08:48:13 -06:00
Anthony Merlino
f02d98d15e
wireless/ieee802154: Changes transmit data path to use IOBs and exposes function for getting size of MAC header
2017-05-02 09:58:54 -04:00
Mateusz Szafoni
1feaae7222
Merged in raiden00/nuttx (pull request #338 )
...
OPAMP support for STM32F33XX
2017-05-02 13:57:56 +00:00
Anthony Merlino
ea44684f0c
Merged in merlin17/nuttx/ieee802154 (pull request #339 )
...
Ieee802154
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-02 13:22:38 +00:00
Gregory Nutt
e87991bbdc
Merge remote-tracking branch 'origin/master' into ieee802154
2017-05-01 18:05:38 -06:00
Anthony Merlino
c4007a111c
wireless/ieee802154: Fixes semaphore logic and list logic
2017-05-01 09:27:44 -04:00
Gregory Nutt
e43b86dbd0
Merge remote-tracking branch 'origin/master' into photon
2017-04-30 17:42:37 -06:00
Simon Piriou
fe77735960
bcmf: add netdev support for Broadcom FullMAC driver
2017-04-30 20:36:35 +02:00
Gregory Nutt
193ff349ee
drivers/i2c: Fix compile issus if CONFIG_DISABLE_PSEUDOFS_OPERATIONS is enabeld.
2017-04-30 08:02:38 -06:00
raiden00pl
0b6190c1c4
drivers/analog: Add basic OPAMP driver
2017-04-30 11:11:17 +02:00
Gregory Nutt
a7901f5c4c
Merge remote-tracking branch 'origin/master' into photon
2017-04-29 12:35:01 -06:00
Gregory Nutt
c7264eb550
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:28:19 -06:00
Gregory Nutt
f826877c61
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 12:27:49 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
3482172a16
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-29 10:06:35 -06:00
Simon Piriou
0d1a79719a
bcmf: add escan ioctls support + cleanup
2017-04-28 19:44:48 +02:00
Sebastien Lorquet
0138a79028
bitbang
2017-04-28 18:15:42 +02:00
Gregory Nutt
f1aa43512a
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-27 17:00:11 -06:00
Gregory Nutt
2e6908b384
IOCTLS. Separate wireless character driver IOCTL commands from wireless network driver IOCTL commands. Move from wireless.h to ioctl.h.
2017-04-27 16:58:30 -06:00
Gregory Nutt
a134178034
Enabled wireless IOCTL commands in photon/wlan configuration
2017-04-26 12:30:18 -06:00
Anthony Merlino
b52de42d16
Merged in merlin17/nuttx/ieee802154 (pull request #336 )
...
wireless/ieee802154: Lots of little fixes and changes to get everything to build
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-04-26 16:50:56 +00:00
Gregory Nutt
7d8140708e
Merge remote-tracking branch 'origin/master' into photon
2017-04-26 10:42:19 -06:00
Gregory Nutt
feba99e99c
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-26 10:39:45 -06:00
Jussi Kivilinna
e835803166
yslog: use monotonic clock for timestamp when available
2017-04-26 10:38:15 -06:00
Anthony Merlino
9e760dcf6a
wireless/ieee802154: Lots of little fixes and changes to get everything to build
2017-04-26 11:36:06 -04:00
Simon Piriou
6bb2db8c15
bcmf: enable DMA for SDIO transfers
2017-04-26 17:23:53 +02:00
Gregory Nutt
ace460ad0e
configs/photon/src/stm32_wlan.c: Remove unused, inappropriate network driver registration.
2017-04-25 13:02:50 -06:00
Gregory Nutt
c5e636ad84
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-24 17:34:35 -06:00
Gregory Nutt
51f6ce7af3
Merge remote-tracking branch 'origin/master' into photon
2017-04-24 15:12:02 -06:00
Gregory Nutt
62fc578661
wireless/ieee80211: Add BSD license information to all files (except the Broadcom files -- need to revisit those).
2017-04-24 15:11:22 -06:00
Simon Piriou
a23ac02959
bcmf: register network driver + update defconfig file
2017-04-24 20:04:47 +02:00
Simon Piriou
d72f36948e
bcmf: fix Kconfig file
2017-04-24 20:02:20 +02:00
Gregory Nutt
a57c79e8b3
wireless/ieee80211: Add broadcom network device registration logic.
2017-04-24 10:43:57 -06:00
Gregory Nutt
e507a3f295
wiress/ieee80211: Broadcom network driver needs to register as an ieee802.11 driver, not an Ethernet driver.
2017-04-24 10:28:06 -06:00
Gregory Nutt
50fb7b0ba0
wireless/ieee80211: Add skeleton for a broadcom network driver.
2017-04-24 10:23:31 -06:00
Masatoshi Tateishi
80e22691fa
USBMSC: Fix a wrong lun number issue
...
Jira: PDFW15IS-98
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-04-24 09:48:49 +09:00
Gregory Nutt
0ac6fbb3c7
drivers/ieee80211/: Change all occurrences of _info, _warn, and _err to wlinfo, wlwarn, and wlerr.
2017-04-23 16:24:47 -06:00
Simon Piriou
c0862c862f
photon: cleanup and refactor bcmf driver
2017-04-23 23:39:17 +02:00
Gregory Nutt
62966d915c
Merge remote-tracking branch 'origin/master' into photon
2017-04-23 10:16:54 -06:00
Simon Piriou
a76266106a
photon: fix compilation errors and update wlan defconfig
2017-04-23 10:00:19 -06:00
Gregory Nutt
0ea071f7eb
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-22 11:58:07 -06:00
Gregory Nutt
79256573e1
net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment.
2017-04-22 11:10:30 -06:00
Gregory Nutt
d8e4cbcfd5
Merge remote-tracking branch 'spiriou/wlan_dev' into photon
2017-04-22 08:26:40 -06:00
Simon Piriou
22e5cec376
photon: add basic wlan scan function
2017-04-22 15:57:51 +02:00
Gregory Nutt
309f0abc14
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Anthony Merlino
b1c8f008d6
wireless/ieee802154: Simplifies TX completion interface. Documents and cleans up some functions
2017-04-21 14:57:27 -04:00
Anthony Merlino
795e70a952
wireless/ieee802154: Work on packet reception at radio layer (MRF24J40)
2017-04-21 13:06:26 -04:00
Gregory Nutt
d08b802998
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-20 16:19:42 -06:00
Gregory Nutt
356e71850b
IOB: A file needed to include iob.h
2017-04-20 16:18:57 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -06:00
Gregory Nutt
e3c9e9e0b8
UART 16550: Missing left parenthesis in function prototype. This is Bitbucket Issue #41 .
2017-04-20 06:50:11 -06:00
Anthony Merlino
a5d73e42cd
wireless/ieee802154: Fixes radio callback arguments
2017-04-19 18:15:09 -04:00
Gregory Nutt
9a1fe0b971
ieee802154: Cosmetic changes from review of last PR.
2017-04-19 14:52:45 -06:00
Anthony Merlino
1abe4ae4da
wireless/ieee802154: Starts structuring transmission completion handling
2017-04-19 16:35:02 -04:00
Anthony Merlino
37e7c67373
wireless/ieee802154: Changes radio interface to match MAC callback design
2017-04-19 13:26:44 -04:00
Gregory Nutt
35756d6295
ieee802.15.4: Cosmetic changes from review of last PR.
2017-04-18 14:25:23 -06:00
Anthony Merlino
9ad3b375e5
wireless/ieee802154: Lots of small fixes to eliminate build issues.
...
Generally cleans things up and fixes lots of small issues preventing a successful build. Does not completely build, but there are significantly less errors
2017-04-18 15:34:28 -04:00
Gregory Nutt
52cddc45de
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-18 10:38:08 -06:00
Gregory Nutt
04ebdbb336
Move: CONFIG_ADC_NO_START_CONV from drivers/adc/Kconfig to arch/arm/src/stm32[f7]/Kconfig as STM32[F7]_ADC_NO_START_CONV. Refresh all configurations with any reference to CONFIG_ADC_NO_START_CONV.
2017-04-18 07:16:35 -06:00
Gregory Nutt
6d3ec6e4a4
ieee802.15.4: Changes from review of last PR
2017-04-17 09:53:58 -06:00
Anthony Merlino
46d7a4bb03
wireless/ieee802154: Continues development on transmit structure
2017-04-17 11:34:41 -04:00
Simon Piriou
0434528732
photon: request firmware version and MAC address
2017-04-16 13:13:11 +02:00
Simon Piriou
d646bde1f8
photon: add sdpcm tx basic support
2017-04-16 11:28:08 +02:00
Anthony Merlino
d9e2139e46
wireless/ieee802154/mrf24j40: Renaming, added bind method
2017-04-15 13:20:33 -04:00
Gregory Nutt
85d97a4d74
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc
Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods.
2017-04-15 09:33:27 -06:00
Simon Piriou
11d3db5c35
photon: add sdpcm + thread support for wlan
2017-04-15 11:39:13 +02:00
Gregory Nutt
6b8a8bda35
ieee802.15.4 radio: Remove interface methods that duplicate IOCTL commands.
2017-04-13 11:14:02 -06:00
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