Commit Graph

30307 Commits

Author SHA1 Message Date
Gregory Nutt
0729151d29 Trivial, costmetic 2017-07-15 17:11:41 -06:00
Gregory Nutt
74b916ff84 Composite: Private functions need to be marked static. Move static functions out of 'Public Functions' to 'Private Functions' where they belong. Disable composite configuration 1 in all STM32 F1 configurations. 2017-07-15 14:50:29 -06:00
Gregory Nutt
cfaa4ece13 Add some comments. 2017-07-15 13:20:34 -06:00
Gregory Nutt
8143563be6 Spark: Need to condition out MSC logic in composite setup if there is no MSC in the composite. 2017-07-15 12:33:10 -06:00
Gregory Nutt
69d3a91ef1 Composite: Remove all dependencies on CONFIG_SYSTEM_COMPOSITE_* configuration settings. Nothing in the OS can depend on external application settings. 2017-07-15 11:03:33 -06:00
Gregory Nutt
55a4388bbd All composite configurations now also support a dual CDC/ACM configuration. 2017-07-15 09:59:31 -06:00
Gregory Nutt
428f2147af Composite: Move board_msc* interfaces from apps/system/composite to the board specific OS logic where they belong. 2017-07-15 09:24:32 -06:00
Gregory Nutt
f1cc168a5c Refresh all composite configurations. 2017-07-15 08:56:33 -06:00
Gregory Nutt
246afcaa10 Merge remote-tracking branch 'origin/master' into composite 2017-07-15 08:22:26 -06:00
Gregory Nutt
919877191d Composite setup: Remove useless board_cdc* wrapper. 2017-07-15 08:20:02 -06:00
Gregory Nutt
02c6672868 tools/refresh.sh: Update so that it can find the Make.defs file in the new location. 2017-07-15 08:18:56 -06:00
Gregory Nutt
82129cf8c6 Merge remote-tracking branch 'origin/master' into composite 2017-07-14 16:23:57 -06:00
Gregory Nutt
6537e4ea20 Socket I/F: Misc. fixes for compile errors/warnings going back to dual IPv4+IPv6 configuration. 2017-07-14 15:52:37 -06:00
Gregory Nutt
24dd6d2905 Socket I/F: More fixes for USRSOCK. The good link fooled me because a critical file was not included in the link. 2017-07-14 15:24:18 -06:00
Gregory Nutt
ef796b2d9e Socket I/F: Misc clean-up to get a clean USRSOCK build. 2017-07-14 14:41:46 -06:00
Gregory Nutt
7259ed58eb Socket I/F: Cleanup for good CONFIG_NET_PKT build. 2017-07-14 13:42:31 -06:00
Gregory Nutt
79a09bfd6e Socket I/F: Fix bad copy-past error. sendto() was called the address family's send() instead of sendto(). 2017-07-14 12:48:53 -06:00
Gregory Nutt
c964cd4612 Socket interface: Fix some configuration chaos. Sometime CONFIG_NET_UDP/TCP was used when CONFIG_NET_LOCAL_DGRAM/STREAM was intended. 2017-07-14 12:36:54 -06:00
Gregory Nutt
b4467a5cf5 Socket I/F: Fixes to LOCAL socket interface to get sim/udgram to build. 2017-07-14 11:34:34 -06:00
Gregory Nutt
8bf8c3fa86 Socket I/F: Add address family support for poll() and sendfile() 2017-07-14 10:57:38 -06:00
Gregory Nutt
0134d0fef7 Socket interfaces: Forgot add filess related to getsockname() in last commit. 2017-07-14 10:54:54 -06:00
Alan Carvalho de Assis
f2cb8b252a Composite: Fix for another cloned typo. 2017-07-14 10:19:35 -06:00
savinz
1b27dd32af STM32 F7 Ethernet: Fix typo in header; Add memory sync barrier between writing to DMA TX descriptor and restarting DMA TX. Avoid calling work_queue on pollwork if it's already queued, just skip a poll cycle instead. Nucleo-144: Fix RMII TXD1 signal, connected to PB13 not to PG14. 2017-07-14 09:23:43 -06:00
Alan Carvalho de Assis
676cfd526a Composite: Fix some typos 2017-07-14 09:11:37 -06:00
Alan Carvalho de Assis
1ea0368c18 Composite: ./stm3210e-eval/src/stm32_composite.c 2017-07-14 09:10:18 -06:00
Gregory Nutt
e485caced9 Composite: I don't think the original code should have forced minor=0. 2017-07-14 09:08:17 -06:00
Gregory Nutt
ac543648b8 Socket interface: Added getsockname[C() interfaces. 2017-07-14 09:04:19 -06:00
Gregory Nutt
6443c29621 Composite: Flesh out support for all of other configurations that support composite. 2017-07-14 07:15:38 -06:00
Gregory Nutt
23cbc28b05 Detangle use of board_xyzclassobject() and board_xyzuninitialize() 2017-07-14 06:59:45 -06:00
Simon Piriou
ac72978072 Networking: Fix typos introduced with network interface changes. 2017-07-14 06:02:49 -06:00
Gregory Nutt
1674cb8c8e Merge remote-tracking branch 'origin/master' into composite 2017-07-13 13:57:40 -06:00
Gregory Nutt
5033a6def7 Socket interface: Added addref() and sockcaps() interfaces. 2017-07-13 13:36:18 -06:00
Gregory Nutt
833ee2275d Socket interface: Added close() interface. 2017-07-13 12:15:15 -06:00
Gregory Nutt
0c840ed22f Socket interface: Added listen() and accept() interfaces. 2017-07-13 11:15:00 -06:00
Gregory Nutt
85b1ae4cf0 Socket interface: Added bind() and connect() interfaces. 2017-07-13 09:28:18 -06:00
Gregory Nutt
44ce0cce2f pkt_recvfrom.c edited online with Bitbucket 2017-07-13 02:08:40 +00:00
Gregory Nutt
3d4b4c208e pkt_recvfrom.c edited online with Bitbucket 2017-07-13 02:06:08 +00:00
Gregory Nutt
1e781ec4a7 configure.c edited online with Bitbucket 2017-07-13 00:48:11 +00:00
Gregory Nutt
a71c504142 Socket I/F: Add recvfrom() method to interface. 2017-07-12 17:36:05 -06:00
Gregory Nutt
447785b264 SAMD/L21: Need to preserve errno value across syslog() call. 2017-07-12 16:22:23 -06:00
Alan Carvalho de Assis
0d08ce500e C library: Fix an error in mkstemp() the could result in an infinite loop. 2017-07-12 15:25:55 -06:00
Gregory Nutt
1b9cb70828 Sockets: Initial steps to adde a socket interface to the networking. Each address family will have an interface that describes how to perform socket operations on that address family. Currently only a couple of methods are defined in the table as a proof of concept. More to come. Currently there are only tables for the INET/INET6 family, the Unix LOCAL family, and the raw PACKET family. Hopefully there will be AF_IEEE802154 and AF_BLUETOOTH comming down the pike. 2017-07-12 15:07:32 -06:00
Gregory Nutt
10fbb2b089 SAMD/L21 USB: Remove all commented out logic. 2017-07-12 08:10:21 -06:00
Janne Rosberg
76ea6f09ec SAMD/L21: Add a USB driver. Developed for Filament Inc. by Offcode, LTD. 2017-07-12 07:46:46 -06:00
Matt Thompson
5448c99ff2 I was having issues with the bus freezing up .. slaves holding SDL low.. so I rewrote a good portion of the interrupt logic based on the application notes from Atmel. One major improvement is using the RXNACK flag in the STATUS register, which indicates that no device responded to an address packet. Assuming that the chip will always give an interrupt status, I believe it's possible to eliminate the timer as well. 2017-07-12 06:44:53 -06:00
Gregory Nutt
cfe0d253e9 icmpv6_input.c edited online with Bitbucket 2017-07-11 23:59:08 +00:00
Gregory Nutt
c966624719 sockets: Coding fix fix + minor structuring for forthcoming socket interface logic. 2017-07-11 16:25:04 -06:00
Gregory Nutt
e105454937 ICMPv6 w/Autoconfiguration: Fix a compile issue introduced with recent change for 6LoWPAN support. 2017-07-11 14:59:42 -06:00
Matt Thompson
1e0560b22f SAMD21: Fix some SPI-related issues. 2017-07-11 12:48:38 -06:00
Gregory Nutt
6bc881a192 Merge remote-tracking branch 'origin/master' into composite 2017-07-11 12:24:07 -06:00