Commit Graph

34 Commits

Author SHA1 Message Date
Gregory Nutt
696e44e6b9 Update README 2017-09-08 10:13:25 -06:00
Gregory Nutt
88a87f8e3f 6LoWPAN: The original, Contiki-based design used only a single buffer for reassemblying larger packets. This could be a problem issue for hub configurations which really need the capability concurrently reassemble multiple incoming streams concurrently. These was also a design issue in that the reassembly buffer could be corrupted by outgoing packets. The design was extended to support multiple reassembly buffers, each associated with the reassembly tag and source address. This assures that there can be be no corruption of the reassembly once it has started. 2017-08-26 10:00:47 -06:00
Gregory Nutt
a668806b94 Update some README files; Plus minor simplification to a preceding change. 2017-08-24 06:44:35 -06:00
Gregory Nutt
873de7b480 configs/*/README.txt: Update to the new URL for obtaining the ARM toolchain. 2017-08-13 07:18:19 -06:00
Gregory Nutt
663f5dfbdd Update readme. Fix stray newline in shenzhou Make.defs 2017-08-08 18:21:08 -06:00
Gregory Nutt
53d8a0b557 Trivial update to a README file 2017-08-08 13:03:09 -06:00
Gregory Nutt
f3f522514e libm: Eliminate a warning from lgamma(); Update some comments; Add some logic to handle broadcast better -- Currently conditioned out because it does not work. 2017-08-08 12:08:43 -06:00
Gregory Nutt
09f31d1371 Spirit Radio: Add support for CSMA backoff count reached interrupt. 2017-08-08 10:34:51 -06:00
Gregory Nutt
79400ea960 B-L475-IOT01A: Enable UDP broadcast test in the spirit-starhub configuration. 2017-08-08 08:32:41 -06:00
Jeff
4cbde22992 I'm working on bringing up USB full-speed support on STM32F405.  My board does not include a USB power switch, VBus sensing, over current detection, or ID pin.
This commit add a config STM32_OTGFS_VBUS_ CONTROL which lets us selectively disable VBus sensing and control.  I also sneaked in a change to disable the configgpio call for the ID pin, which is only used in OTG mode which isn't supported yet.  The only pins that need to be initialized should be OTGFS_DP and OTGFS_DM.

These changes let a USB mouse enumerate on my platform if it's plugged in on power-up.  Plugging, unplugging, clicking, or moving the mouse cause NSH to stop responding.  Because I'm using the ramlog, I don't have useful debug messaging yet, so there's a lot more work I have to do to troubleshoot it or get my JTAG debugging set up, but these patches shouldn't hurt anything.  I'm hoping my issue is something simple I overlooked in configuration.

I'm planning to add similar changes for the OTGHS peripheral (using integrated full speed phy) but I still need to test those changes before submitting patches.
2017-08-07 10:24:31 -06:00
Gregory Nutt
1ac4848686 Spirit bugfixes: Was hanging occasionally because there was not mechanism to restart the poll timer if poll was not performed because Spirit ws busy. Fixed by not checking if Spirit is busy. The TX poll can be performed asynchronouly while spirit is busy; any outgoing data will queued until Spirit is ready. Fixed handling of a timeout condition. Failure to transmition to the TX state would fail (timeout) if in a race condition Spirit already committed to the RX state. The driver needs to recover the state properly and avoid debug assertions in this event. 2017-08-07 09:22:16 -06:00
Gregory Nutt
e57a5755cc TX timeout must also be cancelled on a TX error. TX timeout should check if we are waiting for a TXto complete. TX timeout was too short (short than the maximum number of retries). 2017-08-06 16:56:02 -06:00
Gregory Nutt
48a507c0b7 6LoWPAN: When obtaining the radio MAC address from the IP address, handle the special case of broadcast and multicast address. 2017-08-06 13:50:48 -06:00
Gregory Nutt
91cfe6c9be Spirit radio: Dropping packet size to 94 seems to fix problem with CRC failures. 2017-08-06 12:02:55 -06:00
Gregory Nutt
9a53a2f64a Spirit: Restore the 96 byte maximum packet length. Reducing the packet length had no effect on eliminating RX FIFO errors. 2017-08-06 10:31:50 -06:00
Gregory Nutt
84001f79a0 Spirit Network Driver: Add support for watermark interrupts on RX FIFO. Reduce max packet length to avoid an errata. 2017-08-06 10:10:55 -06:00
Gregory Nutt
3b1e2ac4fd Spirit network driver: Restructure threading to reduce locking. Still get a few RX FIFO errors. 2017-08-06 08:26:51 -06:00
Gregory Nutt
4c1a8170de Update README. 2017-08-05 12:48:07 -06:00
Gregory Nutt
a29a168086 Spirit + 6LoWPAN: In STAR configuration, Spirit must use a configured well known hub address. 6LoWPAN cannot assume that the PAN coordinator is the STAR hub; it must ask the radio to provide it with the address of the star hub 2017-08-05 09:13:29 -06:00
Gregory Nutt
c2fbef2062 b-l475e-iot01a: Add configurations to support a star topology. 2017-08-05 07:53:55 -06:00
Gregory Nutt
5d96385c52 Spirit: Increase number of retries if there is no acknowledgement; Add interrupt handling for the case where the max number of retries expires. Fix some badly implemented queue management code. With these changes the basic UDP and TCP tests work. 2017-08-04 15:20:10 -06:00
Gregory Nutt
8027d1bf18 Spirit: Enable AutoACK, TX retries, and RX timeouts in the network driver. 2017-08-04 13:16:07 -06:00
Gregory Nutt
44c59f7533 Update a README 2017-08-04 12:19:59 -06:00
Gregory Nutt
733d96cf81 Spirit: Correct setting of the length width field; Add multicast and broadcast addresses to radio properities. 2017-08-04 12:19:59 -06:00
Gregory Nutt
8a785c4b66 Spirit Network Device: Fix a deadlock. Also several other design improvements to eliminate corner cases. 2017-08-03 08:37:05 -06:00
Gregory Nutt
fecc12df38 Update a README 2017-08-02 14:34:24 -06:00
Gregory Nutt
a6fa3b311d b-l475e-iot91a: Add apps/examples/nettest and eamples/udp to Spirit1 configuration. Add telnet support. fix driver statistics configuration. 2017-08-02 07:01:42 -06:00
Gregory Nutt
1275c3e249 Spirit: Network driver needs to setup IP address based on configured node address. If no node address is provided, then it will use a default. Also upate a README. 2017-08-01 16:33:34 -06:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -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
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