Gregory Nutt
aefad739c5
Merged master into composite
2016-08-28 09:41:03 -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
1500a50057
Add missing prototype for btn_lower_initialize()
2016-08-27 11:32:47 -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
23504d313f
Merge branch 'composite' of https://bitbucket.org/nuttx/nuttx into composite
2016-08-27 08:57:30 -06:00
Gregory Nutt
2460d41ae0
Add more logic to the USB host composite wrapper.
2016-08-26 17:03:16 -06:00
Gregory Nutt
269ea15c51
Merged in david_s5/nuttx-2/david_s5/stm32_otgfsdevc-edited-online-with-bitbu-1472231999710 (pull request #126 )
...
stm32_otgfsdev.c edited online with Bitbucket
2016-08-26 12:49:43 -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
Gregory Nutt
3c0b287fe9
Fill in a little of the 'Missing logic' in the USB host composite wrapper.
2016-08-26 12:24:35 -06:00
David Sidrane
f2809d52d3
stm32_otgfsdev.c edited online with Bitbucket
...
dup SOF removed as noted by Sébastien Lorquet
2016-08-26 17:20:38 +00:00
Gregory Nutt
ea8ce7acb6
Trivial rename
2016-08-26 11:05:50 -06:00
Gregory Nutt
a228b0cc36
Add a little more meat to the still very USB host composite skeleton. Not quite so boney now.
2016-08-26 10:33:41 -06:00
Gregory Nutt
fa4e9e3c1c
Add a little more meat to the still very bony USB host composite skeleton.
2016-08-26 10:13:35 -06:00
Gregory Nutt
579e338cd3
Add a little more meat to the USB host composite skeleton. Still pretty bony.
2016-08-26 09:47:38 -06:00
Gregory Nutt
8a1d6c9ed8
Basic framework that might be used to add USB host support
2016-08-26 09:07:52 -06:00
Gregory Nutt
644335a39c
Fix C99 style comment
2016-08-26 08:28:54 -06:00
Gregory Nutt
440d535360
include/cxx: Update some C++ header files due to recent changes to C hader files
2016-08-25 15:06:46 -06:00
Gregory Nutt
55a325bcd4
system() is not available from within the OS
2016-08-25 12:36:38 -06:00
Gregory Nutt
1c115adfb8
Merged in david_s5/nuttx/master_usb_fix (pull request #125 )
...
BugFix:Lost first word from FIFO
2016-08-25 11:40:50 -06:00
Gregory Nutt
e07a02bf29
Add system() to stdlib.h
2016-08-25 11:28:09 -06:00
David Sidrane
87f4a8033a
BugFix:Lost first word from FIFO
...
1) Do not overwrite Reserved Bits in GINTSTS (per ref manual)*
2) Acknowledge all pending int on entry to ISR that are Only rc_w1*
3) Do not disable RXFVL*
4) Loop until RXFVL is cleared*
5) Only clear the NAK on the endpoint on the OTGFS_GRXSTSD_PKTSTS_SETUPDONE to
not loose the first WORD of FIFO all the data (Bug Fix)
Changed marked *are just driver clean up and ensure ints are not lost.
The bug fix is #5
Test case open putty and observer the Set/Get LineCoding
Without this fix #5 the Get will not match the Set, and
infact the data might be skewed by 4 bytes, that are lost
from the FIFO if the OTGFS_DOEPCTL0_CNAK bit is set in the
OTGFS_GRXSTSD_PKTSTS_SETUPRECVD as opposed to the OTGFS_GRXSTSD_PKTSTS_SETUPDONE
Set Line Coding DATA1: 4B | 00 c2 01 00 00 00 08 | c8 1B
Get Line Coding DATA1: 4B | .. .. .. .. 00 00 08 c8 .. 00 00 07 | 7a 72
2016-08-25 06:51:52 -10:00
Sebastien Lorquet
aed8a602b8
stdio: Add support for remove()
2016-08-25 08:40:34 -06:00
Gregory Nutt
6a58f046e6
CONFIG_LIBC_DIFFTIME is no longer used, but was still in Kconfig file. Noted by Sebastien Lorquet
2016-08-25 08:09:23 -06:00
Sebastien Lorquet
51596dc457
Updata difftime. Add a version of difftime for the case where the platform does not support type double
2016-08-25 08:00:50 -06:00
Gregory Nutt
c51b642f81
Fix some driver return values. If sem_wait fails, the errcode is in errno, not the return value.
2016-08-25 07:15:59 -06:00
Sebastien Lorquet
a626ba5b70
libc/time: This commit adds the difftime() function. Since the function returns a double, I have isolated it in a CONFIG_LIBC_DIFFTIME option (It also depends on the toolchain-dependent CONFIG_HAVE_DOUBLE so is not available on tiny platforms).
2016-08-24 15:43:57 -06:00
Gregory Nutt
4f22af9547
Grrr.. fix another typo.
2016-08-24 13:20:46 -06:00
Gregory Nutt
4c045d3fcd
Fix an error in the 'Prefferred' example
2016-08-24 13:17:57 -06:00
Gregory Nutt
909486da47
Update to NuttX C coding style document with additions discussing long comments on the right side of a statement or data definition.
2016-08-24 13:07:40 -06:00
Gregory Nutt
4ebace37a9
Fix typos in LPC43 serial driver. Found by Vytautas Lukenskas
2016-08-24 10:34:56 -06:00
Sebastien Lorquet
c8c4575139
isatty() should be prototypes in unstid.h, not termios.h.
2016-08-24 10:25:09 -06:00
Sebastien Lorquet
7021b143ce
Add POSIX type sig_atomic_t
2016-08-24 10:16:41 -06:00
Aleksandr Vyhovanec
6bc952a2cc
STM32: Add IAR-style STM32F1xx vectors. Tested on STM32F103RB and STM32F107RC.
2016-08-24 10:10:33 -06:00
Alexander Entinger
221fcfd8f1
drivers/sensors: Add driver for the Bosch BMG160 3 axis gyroscop.
2016-08-24 09:41:04 -06:00
Alexander Entinger
0044910e33
drivers/sensors: Add driver for the LIS3DSH 3 axis accelerometer.
2016-08-24 08:28:45 -06:00
Gregory Nutt
595f00e271
Add include/sensors/ioctl.h; make sure that all IOCTL values are unique to avoid all misuse.
2016-08-23 13:08:12 -06:00
Gregory Nutt
fab80037aa
Merged in bkueng/nuttx-1/bkueng/mtd-add-fujistu-mb85rs256b-ramtron-suppo-1471976814505 (pull request #124 )
...
mtd: Add Fujistu MB85RS256B ramtron support
2016-08-23 12:44:29 -06:00
Beat Küng
dd1f679891
mtd: Add Fujistu MB85RS256B ramtron support
...
contributed by flatlevel from https://github.com/PX4/NuttX/pull/79
2016-08-23 18:27:04 +00:00
Entinger Alexander
b29287b022
drivers/sensors: Add driver for the MLX90393 3 axis magnetometer.
2016-08-23 10:48:08 -06:00
Entinger Alexander
338bf8c9e3
drivers/sensors: Add drvier for the LIS3MDL 3 axis magnetometer
2016-08-23 08:22:47 -06:00
Gregory Nutt
3b6befcd16
tools/mkfsdata.pl was still generating the old-style apps/include inclusion paths
2016-08-23 08:01:11 -06:00
Gregory Nutt
31b777a98d
Merged in bkueng/nuttx/add_fcheck-new (pull request #122 )
...
CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
2016-08-23 07:33:50 -06:00
Gregory Nutt
67851849da
Upate ChangeLog
2016-08-22 10:31:52 -06:00
Beat Küng
c7da88e383
CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
...
This is to avoid GCC to optimize null-pointer checks away, in case the
default operator new is used together with -fno-exceptions.
2016-08-22 08:35:01 +02:00
Gregory Nutt
60b70f7dbb
Make xorshift128 re-entrant so that we do do have to suffer the overhad of serialization controls.
2016-08-21 07:47:53 -06:00
Gregory Nutt
757023a909
XorShift128: Add some protection to handle the case where this logic could be called from the interrupt level.
2016-08-20 17:27:41 -06:00
Gregory Nutt
53b2de18eb
Trivial typo fix
2016-08-20 13:23:41 -06:00
Gregory Nutt
300361539a
sched/sched_cpuload_oneshot: Use the oneshot timer with optional entropy to measuer cPU load if so configured.
2016-08-20 12:47:07 -06:00