Commit Graph

10192 Commits

Author SHA1 Message Date
Gregory Nutt
aa1708e7c0 6LoWPAN: Update README; fix duplicate and bad memcpy in loopback driver. 2017-06-26 10:53:57 -06:00
Gregory Nutt
249ab6eb18 6LoWPAN: Eliminate a global variable. 2017-06-26 10:49:02 -06:00
Anthony Merlino
da8afe9d9e ieee802154: Finishes transmission of beacon frames, and performing a passive scan 2017-06-25 18:08:00 -04:00
Gregory Nutt
5a8668b362 6LoWPAN TCP: Fix more ACK handling, fix some callback flag settings. Now the TCP test appears fully functional on 6LoWPAN. 2017-06-25 13:00:42 -06:00
Gregory Nutt
ff08f799ca IEEE802.15.4: Update RX statistics in network driver. Update README files. 2017-06-25 11:18:27 -06:00
Gregory Nutt
74c97f7e7f 6LoWPAN: Various fixes for a clean build if either TCP or UDP are disabled. Given the current state of TCP, it is recommended that you disable TCP. 2017-06-24 16:53:00 -06:00
Gregory Nutt
96af668ab8 6LoWPAN: Handle case where the local address is zero (listen socket) 2017-06-24 11:57:59 -06: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
fa1d95dee2 configs/sim/sixlowpan: Disable I2C tool. Not so useful in a simulation. 2017-06-23 19:12:52 -06:00
Gregory Nutt
f0cdb0e6b4 clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh all configurations that enable the nettest. 2017-06-23 18:11:15 -06:00
Gregory Nutt
f5856282f5 defconfigs: examples/nettest configuration name change 2017-06-23 15:50:02 -06:00
Gregory Nutt
ee74a76eca clicker2-stm: Fix naming of a configuration setting 2017-06-23 12:24:31 -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
b49c52226e Update README 2017-06-21 18:05:36 -06:00
Gregory Nutt
a12ff2836c Fixes from review of last PR 2017-06-21 10:15:23 -06:00
Gregory Nutt
a3bb6fc139 clicker2-stm32/mrf24j40-6lowpan: Network now runs on LP work queue. 2017-06-21 08:20:51 -06:00
Gregory Nutt
e7e8228b00 Missing option to select CONFIG_MAC802154_NNOTIF in Kconfig 2017-06-21 07:35:09 -06:00
Gregory Nutt
d9f549121c ieee802154_req_data: Don't modify the IOB until we are certain that no EINTR errors will occur. Otherwise, the retry will fail 2017-06-20 14:27:22 -06:00
Gregory Nutt
192bacbd7f ieee802154 network driver now retries if ieee802154_req_data() returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased the number of TX descriptors to match then number of IOBs. 2017-06-20 13:30:17 -06:00
Gregory Nutt
a82ab4b729 mac802154_req_data() can return without releasing the exclsem 2017-06-20 11:23:31 -06:00
Gregory Nutt
6dafb4f532 6LoWPAN: Add debug statements; Update configuration, need to specific 6LoWPAN compatible port numbers. 2017-06-20 10:37:32 -06:00
Gregory Nutt
4eb548226b Merge remote-tracking branch 'origin/master' into composite 2017-06-19 17:27:00 -06:00
Gregory Nutt
68a2b84277 Update a README 2017-06-19 16:01:35 -06:00
Gregory Nutt
c5ae864624 /configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and server UDP tests on the target; Update a README file. 2017-06-19 13:28:48 -06:00
Gregory Nutt
476ca8238b Update TODO list and some defconfigs. 2017-06-19 10:56:34 -06:00
Gregory Nutt
94b607bda0 Update TODO, enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other examples/udp configurations. 2017-06-19 09:59:10 -06:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Gregory Nutt
84a75996fb IEEE 802.15.4 Network Driver: Add logic to setup the network mask, update the MAC-based IPv6 addressing when the network is brought up. The idea is that addressing changes are supposed to occur only while the network is down but won't take effect until the network is up again. 2017-06-18 15:26:56 -06:00
Gregory Nutt
50df37931d ieee802.15.4: Missing one name change 2017-06-18 11:29:09 -06:00
Gregory Nutt
2d4ba3ee3f IEEE 802.15.4 MAC: Add list management and prioritization logic that will permit the MAC layer to support bound multiple clients. 2017-06-18 11:00:47 -06:00
Gregory Nutt
8d4439e683 Update some 6loWPAN configurations based on changes to NSH Kconfig 2017-06-17 11:29:25 -06:00
Gregory Nutt
c27cee2a94 configs/sim/sixlowpan: Refresh configuration. 2017-06-17 07:34:35 -06:00
Gregory Nutt
a0722750d8 clicker2-stm32: mrf24j40-6lowpan configuration needs to enabled the ieee 802.15.4 MAC network device as well. 2017-06-16 18:02:46 -06:00
Gregory Nutt
2327f5a1b4 Merge remote-tracking branch 'origin/master' into composite 2017-06-16 17:30:03 -06:00
Gregory Nutt
4588226d71 Clicker2-STM32: Enable networking and 6loWPAN in the mrf24j40-6lowpan configuration. Fix a couple of new 6loWPAN compile issues revealed by this new configuration. 2017-06-16 16:47:27 -06:00
Gregory Nutt
1f42ab7b7d Clicker2-stm32: Allow both IEEE 802.15.4 MAC character and network devices to be registered. 2017-06-16 15:40:00 -06:00
Gregory Nutt
ab2028d73e Fix a long line in a README file 2017-06-16 09:55:21 -06:00
Gregory Nutt
c8f6475749 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-16 09:34:57 -06:00
Gregory Nutt
5245cbc6f5 STM32 SPI/I2S: Back out a bad pin mapping change from 4ab2a3661e. Try to staighten out some I2C3 and SPI3 pin configuration stuff. 2017-06-16 09:34:22 -06:00
Gregory Nutt
389144412c Merge branch 'ieee802154' of bitbucket.org:nuttx/nuttx into ieee802154 2017-06-16 07:53:07 -06:00
Gregory Nutt
777964a0cf Clicker2-STM32: Enable RAMLOG in mrf24j40-6lowpan configuration. Update README. 2017-06-16 07:49:23 -06:00
Gregory Nutt
af25740ca5 Update README: 2017-06-15 16:37:18 -06:00
Gregory Nutt
0878286f71 Merge remote-tracking branch 'origin/master' into ieee802154 2017-06-15 14:29:55 -06:00
Gregory Nutt
cd54a0340f Fix a typo. And typo in Kconfig file is reflect in all defconfig files. 2017-06-15 14:29:09 -06:00
Gregory Nutt
b8e968f191 clicker2-stm32: Add a configuratino that will, eventually, be used for 6loWPAN testing. 2017-06-15 14:26:10 -06:00
Gregory Nutt
150907a9b4 Rename configs/mrf24j40-radio to mrf24j40-mac 2017-06-15 12:30:58 -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
Gregory Nutt
1bb5a74035 configs/.gitignore: Make sure that any .gdbinit, .project, or .cproject files are ignore so that they are less likely to be included in a patch or PR. 2017-06-15 10:12:02 -06:00
Anthony Merlino
e30501ebd4 wireless/ieee802154: Lots of fixes, cleanup, new functionality. Functional 2017-06-15 12:11:52 -04:00
Gregory Nutt
d8da813562 stm32f103-minimum: Fix compiler error in MCP2415 logic. 2017-06-14 14:54:07 -06:00
Gregory Nutt
78281ef8e0 configs/stm32f103-minimum/mcp2515/defconfig: Enable CONFIG_CAN_TXREADY=y to eliminate a warning. 2017-06-14 10:10:57 -06:00
Gregory Nutt
49cd279fc6 Merge remote-tracking branch 'origin/master' into composite 2017-06-14 09:17:49 -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
David Sidrane
611612c6f2 freedom-k66f:Use SPI driver.
Initalize SPI1 on connector J6. No real use, as of yet.
2017-06-13 17:46:57 -10:00
David Sidrane
fbea5abef0 freedom-k66f:Refreshed config 2017-06-13 17:46:57 -10:00
raiden00pl
fe7148dff0 nucleo-f334r8: cosmetics 2017-06-11 21:14:48 +02:00
raiden00pl
43e0c28acb nucleo-f334r8: add HRTIM initialization 2017-06-11 20:52:43 +02:00
Gregory Nutt
40f60d6da5 Update to coding standard document and to a README file. 2017-06-11 10:01:14 -06:00
Alan Carvalho de Assis
b7ca90a721 stm32f103-minimum: Use separated read_ops for GPIO interrupt pins 2017-06-11 07:20:18 -06:00
Gregory Nutt
6e0ec04084 Update README 2017-06-10 17:54:16 -06:00
Gregory Nutt
2b8abbb3c6 configs: Add readme for B-L465E-IOT01A Development kit. This port is currently under consideration (but may not actually happen) 2017-06-10 08:58:47 -06:00
Alan Carvalho de Assis
fa2c7a694f stm32f103-minimum: Fix a small BUG when reading from output pin. We need a different read_ops to read from output pin. This patch fixes the issue:
nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=1

Now:

nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
  Output pin:    Value=1
  Writing:       Value=0
  Verify:        Value=0
2017-06-09 15:09:03 -06:00
Gregory Nutt
bf6709b887 configs/: Back out many of the changes in two recent commits: Too many changes from SPIDEV_WIRELESS to SPIDEV_CONTACTLESS. Specifically NRF24L01 should still be SPIDEV_WIRELESS. 2017-06-08 15:34:13 -06:00
Gregory Nutt
44b532e648 configs/: a few more places where SPIDEV_WIRELELSS should be SPIDEV_CONTACTLESS. 2017-06-08 14:42:31 -06:00
Gregory Nutt
30cbb3059f Cosmetic: Removing trailing whitespace at the end of lines. 2017-06-08 13:12:08 -06:00
Alan Carvalho de Assis
04eefd7c8b stm32f103-minimum: dd GPIO device driver example for STM32F103-Minimum. This chang adds the initialization needed by stm32f103-minimum board to support the NuttX GPIO Subsystem. 2017-06-08 11:23:46 -06:00
Nicolas Estibals
fb8cfe857e configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has changed to SPIDEV_CONTACTLESS 2017-06-08 11:15:08 -06:00
David Sidrane
182259921f teensy-3.x:Refreshed config and made board self powered 2017-06-06 14:38:59 -10:00
David Sidrane
04a46d8d35 teensy-3.x:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
ad0cbd3f83 teensy-3.x:Removed call to khci_usbattach
The call is not need by the driver if CONFIG_USBDEV_BUSPOWERED=y
  The class register will enable the soft connect pull up. The
  khci_usbattach call only set a flag, and that  flag is only tested
  in the class register. On a USB powered device if we are running we
  are attached.
2017-06-06 14:38:59 -10:00
David Sidrane
7581cad592 teensy-3.x:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
5b07459af1 Freedom-k66f:Refreshed config 2017-06-06 14:38:59 -10:00
David Sidrane
3f4d096707 Kinetis:teensy-3.x Define USBOTG-FS Read from FLASH access in board config
Allow the board config to define the USBOTG-FS to have Read access to
   FLASH.
2017-06-06 14:38:59 -10:00
Gregory Nutt
e4d262436c SAMV71-Xult Composite: Now can switch between two different composite configurations dynamically. 2017-06-02 07:19:27 -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
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
ef33329e3a Add a warning 2017-06-01 16:14:46 -06:00
Gregory Nutt
89f77cd91a Fix some incomplete name changes 2017-06-01 16:11:27 -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
Gregory Nutt
ff2b54a5e0 nucleo-f4x1re User LEDS: Issue #51 reports compilation problems with stm32_userled.c. Reported by Gappi92. 2017-06-01 06:44:24 -06:00
Gregory Nutt
90dda9357e pthread robust mutexes: Fix memmory trashing problem: the main task may also use mutexes; need to check thread type before accessing pthread-specific mutex data structures. Problem noted by Jussi Kivilinna. 2017-05-31 10:55:37 -06:00
Gregory Nutt
dc3a7e54a9 Cosmetic 2017-05-30 11:36:54 -06:00
Gregory Nutt
f86287fd43 PIC32MXMMB: Fix a few copy-paste errors. 2017-05-27 09:23:23 -06:00
Gregory Nutt
7f9700804f Add file needed with previouis commit. 2017-05-27 09:17:46 -06:00
Gregory Nutt
90680e28d4 PIC32MX7MMB: Repartition files to match newer configurations. Add support for PROCFS file system. Default is now Pinguino toolchain. Verifty networking. 2017-05-27 09:11:50 -06:00
Gregory Nutt
e71472b508 PIC32MX7MMB: add support for the Pinquino toolchain 2017-05-27 08:04:02 -06:00
Alan Carvalho
2b3eb7344c Merged in acassis/nuttx_acassis/pcd8544 (pull request #381)
Pcd8544

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-05-26 14:44:23 +00:00
Alan Carvalho de Assis
f5732f0d15 Add board support to use the Nokia 5110 LCD display driver 2017-05-26 10:53:16 -03:00
Alan Carvalho de Assis
bab5de15f6 Remove warning from MCP2515 compilation 2017-05-23 19:41:58 -03:00
Gregory Nutt
38ae28e978 MCP2515: Changes from review of last PR 2017-05-23 12:22:49 -06:00
Alan Carvalho de Assis
607b9b5a8c Add board support to test Microchip MCP2515 driver 2017-05-23 14:29:36 -03:00
Taras Drozdovsky
0fdb000e53 Fix define CONFIG_AUDIO_CS43L22 typo 2017-05-21 17:09:53 -06:00
Taras Drozdovsky
4ab2a3661e STM32F4: add cs43l22 audio driver and i2s driver 2017-05-21 14:14:09 -06:00
Gregory Nutt
d764942e9d Update README and a Document 2017-05-20 16:36:55 -06:00
Gregory Nutt
b10d2bbc8c Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-14 16:37:10 -06:00