Commit Graph

9587 Commits

Author SHA1 Message Date
Gregory Nutt
1c4a4b9029 Update README 2014-12-03 15:31:33 -06:00
Gregory Nutt
69fcd1c048 SAMA5D3 Xplained: A few fixes for the AJoystick driver (still not working) 2014-12-03 14:33:00 -06:00
Gregory Nutt
0d4b40f5e2 Update ChangeLog 2014-12-03 12:28:37 -06:00
Gregory Nutt
1f2447502f SAMA5D3 Xplained: Add support for the Itead Joystick shield 2014-12-03 12:24:23 -06:00
Gregory Nutt
1117041564 Refresh configuration 2014-12-03 09:37:37 -06:00
Gregory Nutt
dcc7e27fea Update ChangeLog 2014-12-02 10:21:42 -06:00
Gregory Nutt
56a5d59a96 STM32: Add MCO configuration for the STM32L1xx. From Jussi Kivilinna 2014-12-02 10:19:37 -06:00
Gregory Nutt
4016ca3495 STM32L15: Fix typo in MCO pin definition. From Jussi Kivilinna 2014-12-02 10:18:02 -06:00
Gregory Nutt
76906110b0 Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee 2014-12-01 06:41:30 -06:00
Gregory Nutt
9edbc5a8f5 Use tabs in Kconfig file 2014-11-30 09:35:07 -06:00
Gregory Nutt
7ad7163bd3 Updated comments 2014-11-29 17:39:40 -06:00
Gregory Nutt
1fa790cf8e Update comments 2014-11-29 15:28:28 -06:00
Gregory Nutt
575ee829f5 Update ChangeLog 2014-11-29 13:39:51 -06:00
Gregory Nutt
dc4c66c2f1 STM32 F4 I2C: Port Tridge's I2C noise resiliance logic from the PX4 repository. 2014-11-29 13:37:45 -06:00
Gregory Nutt
ba58b37e46 Re-arrange the AJOYSTICK data structure so that it matches the mouse structure 2014-11-29 13:26:26 -06:00
Gregory Nutt
4657f5c870 Update some Documentation and comments associated with the last ioctl change 2014-11-29 13:25:29 -06:00
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