Gregory Nutt
52aeabb4b2
Cosmetic changes
2015-01-02 13:59:47 -06:00
Gregory Nutt
51b220c6d5
Ethernet skeleton: Add some more example logic
2014-12-31 13:45:19 -06:00
Gregory Nutt
2317da4192
Minor corrections to Ethernet driver skeleton
2014-12-31 13:02:30 -06:00
Gregory Nutt
6d1a79ed40
Minor updated to Ethernet driver skeleton
2014-12-31 12:26:18 -06:00
Gregory Nutt
09446f7d27
Update drivers/net/skeleton.c
2014-12-31 06:37:14 -06:00
Gregory Nutt
157916ba4c
Uses DEBUASSERT, mut include assert.h
2014-12-30 16:58:02 -06:00
Gregory Nutt
3666af88d4
drivers/net/skeleton.c: Add outline for support with CONFIG_NET_NOINTS
2014-12-30 14:56:37 -06:00
Gregory Nutt
5ee81c0d50
Serial: Allow serial console selection even if /dev/console is disabled: There can still be a serial console with no file system at all
2014-12-28 15:23:05 -06:00
Gregory Nutt
089578319a
STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David Sidrane
2014-12-27 18:58:18 -06:00
Gregory Nutt
33f7151cd9
Remove STM32-specific RX flow control logic from the upper level serial driver to the lower level STM32 serial driver
2014-12-27 09:45:45 -06:00
Gregory Nutt
32fd858dc6
Serial RX Flow Control: Fix a bunch of compile problems introduced into unbuilt, conditioned out logic
2014-12-27 08:15:41 -06:00
Gregory Nutt
2fadd0da4b
Eliminate an unnecessary calculation in the serial RX flow control logic
2014-12-27 08:00:48 -06:00
Gregory Nutt
aefde565d3
Serial Upper Half: Add watermarks to RX flow control logic
2014-12-27 07:43:06 -06:00
Gregory Nutt
1c39b67e32
STM32: Fix some incorrectly placed conditional logic
2014-12-26 12:41:35 -06:00
Gregory Nutt
33bcb5dbca
Back out some incorrect conditional compilation
2014-12-26 10:26:52 -06:00
Gregory Nutt
6daa9468f6
More RAMTRON related fixes from David Sidrane
2014-12-26 08:15:59 -06:00
Gregory Nutt
996d6c9d55
Most superstitous updates to the RAMTROM driver make it more compatibile with the version used by PX4. From David Sidrane
2014-12-26 07:59:09 -06:00
Gregory Nutt
64ce7563f2
CC3000: Fix yet another typo in last two commitsgit diff I should not be doing this when I have the flugit diff
2014-12-18 16:27:46 -06:00
Gregory Nutt
49a22f1ccb
CC3000: Oops. Fix an error in the last commit
2014-12-18 07:39:55 -06:00
Gregory Nutt
2fe506d70c
CC3000 Fix: Data can be unaligned. When dereferences as an input ntosh(), a bad value is returned. Reported by Alan Carvalho de Assis
2014-12-18 07:18:00 -06:00
Gregory Nutt
8e4f7230f9
ADXL345: Don't select device if only change SPI settings
2014-12-17 12:01:18 -06:00
Gregory Nutt
34609141b0
ADXL345: Free allocations on failure
2014-12-16 17:27:09 -06:00
Gregory Nutt
d818ab5e35
Update the ADXL345 interface following the current interface scheme
2014-12-16 11:45:28 -06:00
Gregory Nutt
c9ca51fc8a
Minor clean-up associated with the ADX345 driver
2014-12-16 10:18:44 -06:00
Gregory Nutt
ae18f9dacd
Unify sensor debug. ADX driver was using input debug; LM75 and QENCODE that their own custom debug. Now all use CONFIG_DEBUG_SENSOR, sndbg()
2014-12-16 09:54:32 -06:00
Gregory Nutt
10863af628
Add ADXL345 accelerometer driver. From Alan Carvalho de Assis
2014-12-16 08:16:53 -06:00
Gregory Nutt
ece6963c21
Update a README file
2014-12-16 07:51:50 -06:00
Gregory Nutt
4aa9320da9
Update README files
2014-12-15 19:01:40 -06:00
Gregory Nutt
623757d77c
Update TODO list and add REVISIT comment
2014-12-13 08:44:28 -06:00
Gregory Nutt
d09bb13833
In case a thread is doing a blocking operation (e.g. read()) on a serial
...
device, while it is being terminated by pthread_cancel(), then
uart_close() gets called, but the semaphore (dev->recv.sem in the above
example) is still blocked.
This means that once the serial device is opened next time, data will
arrive on the serial port (and driver interrupts handled as normal), but
the received characters never arrive in the reader thread.
This patch addresses the problem by re-initializing the semaphores on the
last uart_close() on the device.
2014-12-13 08:07:21 -06:00
Gregory Nutt
a84bd3f433
M25P serial flash driver: Add subsector size of the M24P16 part. From Lazlo
2014-12-10 18:48:36 -06:00
Gregory Nutt
cdc8fc52d1
SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit
2014-12-09 14:11:15 -06:00
Gregory Nutt
8bd5556b47
Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected
2014-12-08 07:14:31 -06:00
Gregory Nutt
c0c108d5e2
Add support for ST Micro EEPROM device geometries. From Sebastien Lorquet
2014-12-05 09:13:34 -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
e42f7b552f
This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
...
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.
07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.
08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.
09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().
10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.
Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.
All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
Gregory Nutt
5f0343bed9
Use usleep instead of usdelay as CONFIG_BOARD_LOOPSPERMSEC might not be calibrated correctly and CC3000 is fine with longer wait.
...
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:16:30 -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
57e57bba36
LPC4357 EVB: Ooops got sense of the LED GPIO backward
2014-11-27 12:38:04 -06:00
Gregory Nutt
f2603866e0
Widen the name space: Rename CONFIG_SPI_EEPROM to CONFIG_EEPROM so that I2C EEPROMs can live there too
2014-11-27 11:08:27 -06:00
Gregory Nutt
e3898a7911
Update README
2014-11-27 10:40:51 -06:00
Gregory Nutt
d5c808c1fe
EEPROM: Add a README file
2014-11-27 09:14:19 -06:00
Gregory Nutt
bc3212d70e
EEPROM: Add a README file
2014-11-27 09:14:00 -06:00