Commit Graph

9571 Commits

Author SHA1 Message Date
Gregory Nutt 1a22ede31c Add some comments 2014-11-29 10:59:41 -06:00
Gregory Nutt b0c20df791 Update ChangeLog 2014-11-29 10:55:03 -06:00
Gregory Nutt e31d5125ae Add support for a variadic ioctl() function. The ioctl() interface is a non-standard, Unix interface. NuttX has always used the older, three-parameter version. Most contemporary systems now, however, use a variadic form of the ioctl() function. Added an option to insert a shim layer to adapt the three-parameter ioctl() to use the variadic interface form. Internally, the ioctl handling is the same three-parameter logic. The only real complexity to the shim is in how the system calls must be handled. 2014-11-29 10:53:22 -06:00
Gregory Nutt 19d31412f7 Update/correct some comments 2014-11-29 07:08:30 -06:00
Gregory Nutt ff626d4945 Update ChangeLog 2014-11-28 20:00:29 -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 36ac0d2cf4 Add an interface definition header file for an analog joystick device 2014-11-28 19:27:42 -06:00
Gregory Nutt 9bd9b5ad78 Update README 2014-11-28 18:17:49 -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 de153c8f7b Update ChangeLogs 2014-11-28 15:41:47 -06:00
Gregory Nutt 7c29a1ebb2 STM3210E-EVAL: Add missing initialization for the joystick driver 2014-11-28 15:41:37 -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 27226eba0e Update ChangeLog 2014-11-28 13:32:30 -06:00
Gregory Nutt 421c81b315 STM3210E-EVAL: Add a DJoystick driver 2014-11-28 13:31:09 -06:00
Gregory Nutt 33cfa5d8ba STM3210E-EVAL: Don't treat joystick as buttons if the DJOYSTICK driver is enabled 2014-11-28 12:05:08 -06:00
Gregory Nutt 997fa4b749 Fix one warning. There are a couple of others that look like real problems 2014-11-28 11:49:24 -06:00
Gregory Nutt c5cb99d04e Refresh configuration 2014-11-28 11:48:48 -06:00
Gregory Nutt b4a85739ef STM3210E-EVAL: Rename files for compatibility with current standards 2014-11-28 11:35:47 -06:00
Gregory Nutt 1aafbbdc97 STM3240G-EVAL: Rename files for compatibility with current naming conventions 2014-11-28 11:06:43 -06:00
Gregory Nutt f2f2d8a7e7 Fix typo 2014-11-28 11:06:00 -06:00
Gregory Nutt a92b01e9fb Refresh configuration 2014-11-28 11:05:39 -06:00
Gregory Nutt 0d04a4e9ba Fix missing quote in Kconfig 2014-11-28 10:16:58 -06:00
Gregory Nutt bd93ba55c5 Cosmetic change to comment 2014-11-28 09:06:05 -06:00
Gregory Nutt 75699eb306 Update ChangeLog 2014-11-28 09:04:36 -06:00
Gregory Nutt 5ddfdb2d8d cctype: Undefined macros defined ctype.h so that builtin C++ implementations will be used 2014-11-28 09:02:52 -06:00
Gregory Nutt e16000e83d Update ChangeLog 2014-11-28 08:59:42 -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 3909f28060 Update ChangeLog 2014-11-27 19:15:57 -06:00
Gregory Nutt 50285b91fe EFM32 Serial: Add support for termios TCGET and TCSET. For the moment, only set/get speed is implemetned. From Pierre-noel Bouteville 2014-11-27 19:14:10 -06:00
Gregory Nutt 08b2f80de0 Update TODO 2014-11-27 19:05:40 -06:00
Gregory Nutt 0d010fd981 Update ChangeLog 2014-11-27 17:44:48 -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 5268a1e4bb LPC4357-EVB: Fix LEDs; comment out old unimplemented button stuff 2014-11-27 10:28:32 -06:00
Gregory Nutt a2af380641 Update ChangeLog 2014-11-27 09:15:05 -06:00
Gregory Nutt 17fe02eac3 Minor change to README file 2014-11-27 09:14:58 -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
Gregory Nutt d8107d2b97 Loop device should return -EINTR is interrupt by a signal 2014-11-27 09:12:15 -06:00
Gregory Nutt b29925a63b EEPROM: prevent writes past end of device. From Sébastien Lorquet 2014-11-27 07:59:43 -06:00
Gregory Nutt 084fe072fc Fix minor typos in C comments 2014-11-27 07:57:32 -06:00
Gregory Nutt 3f2c90c1e9 Fix minor typo in C comments 2014-11-27 06:49:07 -06:00
Gregory Nutt 7395cba77d Update ChangeLog 2014-11-27 06:16:55 -06:00
Gregory Nutt 2021130e35 Forgot too add file before last commit 2014-11-27 06:14:09 -06:00
Gregory Nutt a1c8e97c12 Enable support for STM32F102. https://github.com/PX4/NuttX/pull/28.diff 2014-11-27 06:12:35 -06:00
Gregory Nutt 6e6435d438 Fix replicated typo in most of the newly added lpc4357-evb files 2014-11-26 18:34:00 -06:00