nuttx/include
Frank Benkert dcc9b07715 [[This is part 1 or several commits]]
We developed a huge Changeset over a year ago to make USB Composite configuration dynamical and be able to instanciate the CDCACM multiple times inside this device.  We use this feature to switch between one in normal and up to three CDCACMs in maintenance boot.

The control path starts in “boardctl.c” where the configuration for the device is constructed.  There are still a few issues which I’ll ask you to have a look at before this beast can be merged.

1. To be able to construct the data dynamically I have changed some USB-Structs to be packed. Maybe there are additional structs to change (just for completeness – not for current functionality).

2. I’ve added the Macro “COMPILE_TIME_ASSERTION” two times (in usbmsc_desc.c and in cdcacm_desc.c) to stay private. Maybe you’ll find a better place. It’s used to check the size of the structs against the assumptions.

3. I’ve changed the interface for some USB-Functions to receive also the dynamic configuration. Maybe this can be done more elegant.

4. The original NuttX (without the patch) seems to have problems with a Composite device holding a CDCACM and an MSC. The “USB SET CONFIGURATION” request does not to work at all. This makes the test fail under Windows and under Linux. Applying this patch doesn’t change anything – because it only changes the configuration – not the behavior. Maybe you’ll have a look at this problem before applying the patch.
2017-06-01 14:08:22 -06:00
..
arpa
cxx locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
net Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
netinet Add a definition and a comment 2016-09-07 09:38:33 -06:00
netpacket
nuttx [[This is part 1 or several commits]] 2017-06-01 14:08:22 -06:00
sys wireless/ieee802154: Updates configuration settings 2017-05-14 17:59:19 -04:00
.gitignore
aio.h
assert.h assert: Don't define static_assert in C++ 2016-06-21 07:17:29 -04:00
crc8.h
crc16.h
crc32.h
crc64.h crc64: fix error 2016-06-10 12:30:45 -04:00
ctype.h Costmetic changes 2016-10-24 16:18:30 -06:00
debug.h Add option to enable wireless debug output. 2017-03-15 14:31:01 -06:00
dirent.h Remove some unnecessary (and inappropriate) soft link logic 2017-02-03 15:50:41 -06:00
dllfcn.h Shared libraries: Add a non-standard dllfnc.h function to set the symbol table. 2017-01-23 08:20:24 -06:00
elf32.h
errno.h Update errno values. Add new values; remove obsolete values 2017-03-26 09:22:00 -06:00
fcntl.h Add support for freopen() 2015-11-22 08:39:17 -06:00
fixedmath.h fixedmath: add square root and b32_t conversion operators 2017-05-04 06:50:08 -06:00
hex2bin.h libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:22:38 -06:00
inttypes.h C library: Add strtoimax and strtoumax. 2017-02-16 15:12:37 -06:00
libgen.h In dlopen(), use the basename of the file as the module name 2017-01-22 16:01:03 -06:00
limits.h stat(): Add logic to avoid infinite recursive in circular paths containing soft links. 2017-02-07 12:32:45 -06:00
locale.h locale.h: Add a bogus definition of locale_t 2017-05-12 10:13:18 -06:00
mqueue.h Clean-up/standardize a few header files 2015-08-03 11:01:41 -06:00
netdb.h Move the DNS server from apps/netutils/dnsclient to nuttx/libc/netdb. Move netdb functions from libc/net to libc/netdb. Fix up naming to reflect the repartitioning 2015-07-10 12:11:40 -06:00
nxflat.h
poll.h Standardize naming used for public data and function groupings 2015-10-02 16:30:35 -06:00
pthread.h pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
queue.h Add utilities to count the number of nodes in a queue 2016-04-23 13:25:46 -06:00
sched.h Add task_testcancel() 2016-12-10 16:34:14 -06:00
semaphore.h Small changes from review of last PR. Plus spacing and typo fix. 2017-03-22 17:32:52 -06:00
signal.h include/cxx: Update some C++ header files due to recent changes to C hader files 2016-08-25 15:06:46 -06:00
spawn.h Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
stdbool.h
stddef.h Remove comments that no longer apply. clocale should not do anyting if CONFIG_LIBC_LOCALE is not defined. 2016-10-19 07:06:43 -06:00
stdint.h
stdio.h C Library: Add setbuf() which is a trivial wrapper around setvbuf(). 2017-02-09 15:04:53 -06:00
stdlib.h libc/Kconfig: Break big Kconfig up into separate Kconfig files in each libc subdirectory. 2017-02-10 09:32:55 -06:00
string.h Add entropy pool and strong random number generator 2017-03-30 07:38:37 -06:00
strings.h Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's __builtin_ctz/__builtin_clz for faster implementation of these 2017-03-24 09:41:31 -06:00
syscall.h
syslog.h Add a file that I forgot in the last commit; Also update some comments. 2016-06-21 13:33:17 -06:00
termios.h termios.h: Fix CRTSCTS define to include input and output flow 2016-12-26 07:41:44 -06:00
threads.h
time.h 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
unistd.h C library: Add swab() 2017-02-16 14:42:27 -06:00
wchar.h Add wcstoull function 2017-03-08 13:28:50 -06:00
wctype.h wctype.h needs extern C 2017-02-17 09:48:55 -06:00