Commit Graph

3314 Commits

Author SHA1 Message Date
Gregory Nutt aaa81ce497 Merge remote-tracking branch 'origin/master' into composite 2017-06-26 11:56:11 -06:00
Gregory Nutt 1f81b14610 Beacon logic: Damage control. Looks like something went wrong with the PR merge. 2017-06-26 11:03:44 -06:00
Anthony Merlino da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Anthony Merlino 683bd6e10e ieee802154: Adds some missing elements to start support for beacon-enabled networks 2017-06-25 18:08:00 -04:00
Gregory Nutt 2fb938202c 6LoWPAN: TCP logic was not obeying MTU packet size limitations. Other TCP-specific issues also fixed. There remains a major outstanding issue with ACK handling. 2017-06-24 09:48:41 -06:00
Gregory Nutt 328a464f99 6LoWPAN: Fix a typo in an index that prevented use with HC1 and extended addresses. 2017-06-23 10:08:03 -06:00
Gregory Nutt 1a46ea644d 6LoWPAN: Add missing IPv6 address creation to HC1 decode logic. 2017-06-23 09:45:09 -06:00
Gregory Nutt 4a517ad48d 6LoWPAN: Just adds more debug output 2017-06-22 15:19:18 -06:00
Gregory Nutt bc8ad02ee5 6LoWPAN: Various fixes from retesting on simulator with short addressing. 2017-06-22 11:42:52 -06:00
Gregory Nutt 05590a2228 6LoWPAN: Correct a few addressing issues. The apps/examples/udp test now appears to be fully functional. Also reserve two bytes at the end of the frame for the FCS. 2017-06-21 13:43:53 -06:00
Gregory Nutt 4eb548226b Merge remote-tracking branch 'origin/master' into composite 2017-06-19 17:27:00 -06:00
Anthony Merlino b1ce07deb1 Swithches IEEE 802.15.4 based code to using byte arrays instead of uint16_t values for short address and PAN ID 2017-06-19 05:55:28 -04:00
Gregory Nutt cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt 698dd6d7d1 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-18 08:23:42 -06:00
Gregory Nutt 3ad71ce4b7 rfc6775: Fix header, add references, correct naming. This is NOT ICMPv6, but part of 6LoWPAN that acts like ICMPv6. 2017-06-18 08:23:18 -06:00
Gregory Nutt f31e20753c Update TODO list; Add RFC6775 header file. 2017-06-18 08:09:33 -06:00
Anthony Merlino d5481aabf4 wireless/ieee802154: Fixes ordering of strings associated with changed enum 2017-06-17 13:50:50 -04:00
Gregory Nutt c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Gregory Nutt 2327f5a1b4 Merge remote-tracking branch 'origin/master' into composite 2017-06-16 17:30:03 -06:00
Anthony Merlino ca30b6c02a wireless/ieee802154: Fixes issue with wrong information being sent in a rejected association response frame 2017-06-15 13:01:28 -04:00
Gregory Nutt 77757410c8 Remove dangling white space at the end of lines. 2017-06-15 10:46:48 -06:00
Gregory Nutt 535ea4e0f5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 10:34:38 -06:00
Gregory Nutt 4a88d6a50a Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-15 10:32:55 -06:00
Anthony Merlino e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt a86f46bc54 MCP1515: Eliminate some warnings 2017-06-14 09:38:58 -06:00
Gregory Nutt 49cd279fc6 Merge remote-tracking branch 'origin/master' into composite 2017-06-14 09:17:49 -06:00
Gregory Nutt 23a6ff5846 pthreads: Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:59:54 -06:00
Gregory Nutt ae168bffa0 pthreads: Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS. 2017-06-14 07:48:45 -06:00
Gregory Nutt 557fd6504f pthreads: Move pthread_once from sched/pthreads to libc/pthreads. pthread_once just coordinates other OS interface calls but is not a fundamental OS interface and, hence, does not belong within the OS. 2017-06-14 07:31:10 -06:00
Gregory Nutt 8ae5450268 pthreads: Move pthread_yield from sched/pthreads to libc/pthreads. it is a simple wrapper for sched_yield and does not belong within the OS. 2017-06-14 07:31:10 -06:00
Anthony Merlino 908d438047 WIP: wireless/ieee802154: More work on association/beacon-enabled networks 2017-06-14 02:49:32 -04:00
Juha Niskanen e577072790 power: battery_charger: add ioctl for charging input current 2017-06-06 06:56:50 -06:00
Gregory Nutt 815257743d usbdev composite and SAMV7-Xult: Move board-specific USB composite configuration out of boardctl.c and into board-specific logic where it belongs. Add a configuration option to the boardctl() calls to support multiple composite device configurations dynamically. 2017-06-02 07:11:57 -06:00
Gregory Nutt ac13619dc5 Cosmetic 2017-06-01 17:03:58 -06:00
Gregory Nutt fc1438c95d Merge remote-tracking branch 'origin/master' into composite 2017-06-01 16:35:41 -06:00
Gregory Nutt 049ccbfcbe Composite: Add some structure definitions missed in first application of the patch. 2017-06-01 16:35:16 -06:00
Gregory Nutt 89f77cd91a Fix some incomplete name changes 2017-06-01 16:11:27 -06:00
Gregory Nutt 0bb7af549a It is unnecessary to pack a structure that consists only of uint8_t data fields. 2017-06-01 15:09:50 -06:00
Frank Benkert 7e6f481581 Part II of the same big commit 2017-06-01 14:58:04 -06:00
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
Jussi Kivilinna 05e5841000 include/nuttx/spi/spi/h: Use of argument to SPI_SEND should be within parentheses. 2017-05-31 09:20:14 -06:00
Juha Niskanen 80cc19d6b0 drivers/input: add Cypress MBR3108 CapSense touch button driver 2017-05-31 06:31:53 -06:00
Gregory Nutt ae17e6bcf0 Cosmetic 2017-05-30 12:04:48 -06:00
Alan Carvalho de Assis ef53800fa9 remove pcd8544_power() comment, this function doesn't exist for this driver 2017-05-26 11:38:17 -03:00
Alan Carvalho de Assis 8df5c29857 Add driver for Nokia 5110 (Philips PCD8544) 2017-05-26 10:53:13 -03:00
Gregory Nutt 38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis 001919ffe9 Add CANBUS SPIDEV definition 2017-05-23 14:33:52 -03:00
Alan Carvalho de Assis eb7373cedf Add Microchip MCP2515 CAN Bus controller driver 2017-05-23 14:28:52 -03:00
Taras Drozdovsky 4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt 679a08e371 Merge remote-tracking branch 'spiriou/wapi_scan' 2017-05-21 09:25:02 -06:00