From 8ae3ef596b3962a80e966c048ffbbeab22b817ed Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 24 Aug 2018 12:32:32 -0700 Subject: [PATCH] Move library to root of repository A popular library installation technique is to download the library via GitHub's Clone or download > Download ZIP and then use the Arduino IDE's Sketch > Include Library > Add .ZIP Library on the downloaded file. This requires the library to be in the root of the repository, not in a subfolder. If the library is not in the root of the repository this installation technique fails: Specified folder/zip file does not contain a valid library This is the standard repository structure used in all official Arduino libraries: https://github.com/arduino-libraries This move is also required if you wanted to add your library to the Arduino Library Manager index, which provides an even easier installation option. --- .../AdvancedChatServer/AdvancedChatServer.ino | 0 {UIPEthernet/examples => examples}/EchoServer/EchoServer.ino | 0 {UIPEthernet/examples => examples}/TcpClient/TcpClient.ino | 0 {UIPEthernet/examples => examples}/TcpServer/TcpServer.ino | 0 {UIPEthernet/examples => examples}/UdpClient/UdpClient.ino | 0 {UIPEthernet/examples => examples}/UdpServer/UdpServer.ino | 0 UIPEthernet/keywords.txt => keywords.txt | 0 UIPEthernet/library.properties => library.properties | 0 {UIPEthernet/src => src}/Dhcp.cpp | 0 {UIPEthernet/src => src}/Dhcp.h | 0 {UIPEthernet/src => src}/Dns.cpp | 0 {UIPEthernet/src => src}/Dns.h | 0 {UIPEthernet/src => src}/UIPClient.cpp | 0 {UIPEthernet/src => src}/UIPClient.h | 0 {UIPEthernet/src => src}/UIPEthernet.cpp | 0 {UIPEthernet/src => src}/UIPEthernet.h | 0 {UIPEthernet/src => src}/UIPServer.cpp | 0 {UIPEthernet/src => src}/UIPServer.h | 0 {UIPEthernet/src => src}/UIPUdp.cpp | 0 {UIPEthernet/src => src}/UIPUdp.h | 0 {UIPEthernet/src => src}/ethernet_comp.h | 0 {UIPEthernet/src => src}/utility/Enc28J60Network.cpp | 0 {UIPEthernet/src => src}/utility/Enc28J60Network.h | 0 {UIPEthernet/src => src}/utility/clock-arch.c | 0 {UIPEthernet/src => src}/utility/clock-arch.h | 0 {UIPEthernet/src => src}/utility/enc28j60.h | 0 {UIPEthernet/src => src}/utility/mempool.cpp | 0 {UIPEthernet/src => src}/utility/mempool.h | 0 {UIPEthernet/src => src}/utility/mempool_conf.h | 0 {UIPEthernet/src => src}/utility/uip-conf.h | 0 {UIPEthernet/src => src}/utility/uip.c | 0 {UIPEthernet/src => src}/utility/uip.h | 0 {UIPEthernet/src => src}/utility/uip_arch.h | 0 {UIPEthernet/src => src}/utility/uip_arp.c | 0 {UIPEthernet/src => src}/utility/uip_arp.h | 0 {UIPEthernet/src => src}/utility/uip_clock.h | 0 {UIPEthernet/src => src}/utility/uip_debug.cpp | 0 {UIPEthernet/src => src}/utility/uip_debug.h | 0 {UIPEthernet/src => src}/utility/uip_timer.c | 0 {UIPEthernet/src => src}/utility/uip_timer.h | 0 {UIPEthernet/src => src}/utility/uipethernet-conf.h | 0 {UIPEthernet/src => src}/utility/uipopt.h | 0 {UIPEthernet/src => src}/utility/util.h | 0 43 files changed, 0 insertions(+), 0 deletions(-) rename {UIPEthernet/examples => examples}/AdvancedChatServer/AdvancedChatServer.ino (100%) rename {UIPEthernet/examples => examples}/EchoServer/EchoServer.ino (100%) rename {UIPEthernet/examples => examples}/TcpClient/TcpClient.ino (100%) rename {UIPEthernet/examples => examples}/TcpServer/TcpServer.ino (100%) rename {UIPEthernet/examples => examples}/UdpClient/UdpClient.ino (100%) rename {UIPEthernet/examples => examples}/UdpServer/UdpServer.ino (100%) rename UIPEthernet/keywords.txt => keywords.txt (100%) rename UIPEthernet/library.properties => library.properties (100%) rename {UIPEthernet/src => src}/Dhcp.cpp (100%) rename {UIPEthernet/src => src}/Dhcp.h (100%) rename {UIPEthernet/src => src}/Dns.cpp (100%) rename {UIPEthernet/src => src}/Dns.h (100%) rename {UIPEthernet/src => src}/UIPClient.cpp (100%) rename {UIPEthernet/src => src}/UIPClient.h (100%) rename {UIPEthernet/src => src}/UIPEthernet.cpp (100%) rename {UIPEthernet/src => src}/UIPEthernet.h (100%) rename {UIPEthernet/src => src}/UIPServer.cpp (100%) rename {UIPEthernet/src => src}/UIPServer.h (100%) rename {UIPEthernet/src => src}/UIPUdp.cpp (100%) rename {UIPEthernet/src => src}/UIPUdp.h (100%) rename {UIPEthernet/src => src}/ethernet_comp.h (100%) rename {UIPEthernet/src => src}/utility/Enc28J60Network.cpp (100%) rename {UIPEthernet/src => src}/utility/Enc28J60Network.h (100%) rename {UIPEthernet/src => src}/utility/clock-arch.c (100%) rename {UIPEthernet/src => src}/utility/clock-arch.h (100%) rename {UIPEthernet/src => src}/utility/enc28j60.h (100%) rename {UIPEthernet/src => src}/utility/mempool.cpp (100%) rename {UIPEthernet/src => src}/utility/mempool.h (100%) rename {UIPEthernet/src => src}/utility/mempool_conf.h (100%) rename {UIPEthernet/src => src}/utility/uip-conf.h (100%) rename {UIPEthernet/src => src}/utility/uip.c (100%) rename {UIPEthernet/src => src}/utility/uip.h (100%) rename {UIPEthernet/src => src}/utility/uip_arch.h (100%) rename {UIPEthernet/src => src}/utility/uip_arp.c (100%) rename {UIPEthernet/src => src}/utility/uip_arp.h (100%) rename {UIPEthernet/src => src}/utility/uip_clock.h (100%) rename {UIPEthernet/src => src}/utility/uip_debug.cpp (100%) rename {UIPEthernet/src => src}/utility/uip_debug.h (100%) rename {UIPEthernet/src => src}/utility/uip_timer.c (100%) rename {UIPEthernet/src => src}/utility/uip_timer.h (100%) rename {UIPEthernet/src => src}/utility/uipethernet-conf.h (100%) rename {UIPEthernet/src => src}/utility/uipopt.h (100%) rename {UIPEthernet/src => src}/utility/util.h (100%) diff --git a/UIPEthernet/examples/AdvancedChatServer/AdvancedChatServer.ino b/examples/AdvancedChatServer/AdvancedChatServer.ino similarity index 100% rename from UIPEthernet/examples/AdvancedChatServer/AdvancedChatServer.ino rename to examples/AdvancedChatServer/AdvancedChatServer.ino diff --git a/UIPEthernet/examples/EchoServer/EchoServer.ino b/examples/EchoServer/EchoServer.ino similarity index 100% rename from UIPEthernet/examples/EchoServer/EchoServer.ino rename to examples/EchoServer/EchoServer.ino diff --git a/UIPEthernet/examples/TcpClient/TcpClient.ino b/examples/TcpClient/TcpClient.ino similarity index 100% rename from UIPEthernet/examples/TcpClient/TcpClient.ino rename to examples/TcpClient/TcpClient.ino diff --git a/UIPEthernet/examples/TcpServer/TcpServer.ino b/examples/TcpServer/TcpServer.ino similarity index 100% rename from UIPEthernet/examples/TcpServer/TcpServer.ino rename to examples/TcpServer/TcpServer.ino diff --git a/UIPEthernet/examples/UdpClient/UdpClient.ino b/examples/UdpClient/UdpClient.ino similarity index 100% rename from UIPEthernet/examples/UdpClient/UdpClient.ino rename to examples/UdpClient/UdpClient.ino diff --git a/UIPEthernet/examples/UdpServer/UdpServer.ino b/examples/UdpServer/UdpServer.ino similarity index 100% rename from UIPEthernet/examples/UdpServer/UdpServer.ino rename to examples/UdpServer/UdpServer.ino diff --git a/UIPEthernet/keywords.txt b/keywords.txt similarity index 100% rename from UIPEthernet/keywords.txt rename to keywords.txt diff --git a/UIPEthernet/library.properties b/library.properties similarity index 100% rename from UIPEthernet/library.properties rename to library.properties diff --git a/UIPEthernet/src/Dhcp.cpp b/src/Dhcp.cpp similarity index 100% rename from UIPEthernet/src/Dhcp.cpp rename to src/Dhcp.cpp diff --git a/UIPEthernet/src/Dhcp.h b/src/Dhcp.h similarity index 100% rename from UIPEthernet/src/Dhcp.h rename to src/Dhcp.h diff --git a/UIPEthernet/src/Dns.cpp b/src/Dns.cpp similarity index 100% rename from UIPEthernet/src/Dns.cpp rename to src/Dns.cpp diff --git a/UIPEthernet/src/Dns.h b/src/Dns.h similarity index 100% rename from UIPEthernet/src/Dns.h rename to src/Dns.h diff --git a/UIPEthernet/src/UIPClient.cpp b/src/UIPClient.cpp similarity index 100% rename from UIPEthernet/src/UIPClient.cpp rename to src/UIPClient.cpp diff --git a/UIPEthernet/src/UIPClient.h b/src/UIPClient.h similarity index 100% rename from UIPEthernet/src/UIPClient.h rename to src/UIPClient.h diff --git a/UIPEthernet/src/UIPEthernet.cpp b/src/UIPEthernet.cpp similarity index 100% rename from UIPEthernet/src/UIPEthernet.cpp rename to src/UIPEthernet.cpp diff --git a/UIPEthernet/src/UIPEthernet.h b/src/UIPEthernet.h similarity index 100% rename from UIPEthernet/src/UIPEthernet.h rename to src/UIPEthernet.h diff --git a/UIPEthernet/src/UIPServer.cpp b/src/UIPServer.cpp similarity index 100% rename from UIPEthernet/src/UIPServer.cpp rename to src/UIPServer.cpp diff --git a/UIPEthernet/src/UIPServer.h b/src/UIPServer.h similarity index 100% rename from UIPEthernet/src/UIPServer.h rename to src/UIPServer.h diff --git a/UIPEthernet/src/UIPUdp.cpp b/src/UIPUdp.cpp similarity index 100% rename from UIPEthernet/src/UIPUdp.cpp rename to src/UIPUdp.cpp diff --git a/UIPEthernet/src/UIPUdp.h b/src/UIPUdp.h similarity index 100% rename from UIPEthernet/src/UIPUdp.h rename to src/UIPUdp.h diff --git a/UIPEthernet/src/ethernet_comp.h b/src/ethernet_comp.h similarity index 100% rename from UIPEthernet/src/ethernet_comp.h rename to src/ethernet_comp.h diff --git a/UIPEthernet/src/utility/Enc28J60Network.cpp b/src/utility/Enc28J60Network.cpp similarity index 100% rename from UIPEthernet/src/utility/Enc28J60Network.cpp rename to src/utility/Enc28J60Network.cpp diff --git a/UIPEthernet/src/utility/Enc28J60Network.h b/src/utility/Enc28J60Network.h similarity index 100% rename from UIPEthernet/src/utility/Enc28J60Network.h rename to src/utility/Enc28J60Network.h diff --git a/UIPEthernet/src/utility/clock-arch.c b/src/utility/clock-arch.c similarity index 100% rename from UIPEthernet/src/utility/clock-arch.c rename to src/utility/clock-arch.c diff --git a/UIPEthernet/src/utility/clock-arch.h b/src/utility/clock-arch.h similarity index 100% rename from UIPEthernet/src/utility/clock-arch.h rename to src/utility/clock-arch.h diff --git a/UIPEthernet/src/utility/enc28j60.h b/src/utility/enc28j60.h similarity index 100% rename from UIPEthernet/src/utility/enc28j60.h rename to src/utility/enc28j60.h diff --git a/UIPEthernet/src/utility/mempool.cpp b/src/utility/mempool.cpp similarity index 100% rename from UIPEthernet/src/utility/mempool.cpp rename to src/utility/mempool.cpp diff --git a/UIPEthernet/src/utility/mempool.h b/src/utility/mempool.h similarity index 100% rename from UIPEthernet/src/utility/mempool.h rename to src/utility/mempool.h diff --git a/UIPEthernet/src/utility/mempool_conf.h b/src/utility/mempool_conf.h similarity index 100% rename from UIPEthernet/src/utility/mempool_conf.h rename to src/utility/mempool_conf.h diff --git a/UIPEthernet/src/utility/uip-conf.h b/src/utility/uip-conf.h similarity index 100% rename from UIPEthernet/src/utility/uip-conf.h rename to src/utility/uip-conf.h diff --git a/UIPEthernet/src/utility/uip.c b/src/utility/uip.c similarity index 100% rename from UIPEthernet/src/utility/uip.c rename to src/utility/uip.c diff --git a/UIPEthernet/src/utility/uip.h b/src/utility/uip.h similarity index 100% rename from UIPEthernet/src/utility/uip.h rename to src/utility/uip.h diff --git a/UIPEthernet/src/utility/uip_arch.h b/src/utility/uip_arch.h similarity index 100% rename from UIPEthernet/src/utility/uip_arch.h rename to src/utility/uip_arch.h diff --git a/UIPEthernet/src/utility/uip_arp.c b/src/utility/uip_arp.c similarity index 100% rename from UIPEthernet/src/utility/uip_arp.c rename to src/utility/uip_arp.c diff --git a/UIPEthernet/src/utility/uip_arp.h b/src/utility/uip_arp.h similarity index 100% rename from UIPEthernet/src/utility/uip_arp.h rename to src/utility/uip_arp.h diff --git a/UIPEthernet/src/utility/uip_clock.h b/src/utility/uip_clock.h similarity index 100% rename from UIPEthernet/src/utility/uip_clock.h rename to src/utility/uip_clock.h diff --git a/UIPEthernet/src/utility/uip_debug.cpp b/src/utility/uip_debug.cpp similarity index 100% rename from UIPEthernet/src/utility/uip_debug.cpp rename to src/utility/uip_debug.cpp diff --git a/UIPEthernet/src/utility/uip_debug.h b/src/utility/uip_debug.h similarity index 100% rename from UIPEthernet/src/utility/uip_debug.h rename to src/utility/uip_debug.h diff --git a/UIPEthernet/src/utility/uip_timer.c b/src/utility/uip_timer.c similarity index 100% rename from UIPEthernet/src/utility/uip_timer.c rename to src/utility/uip_timer.c diff --git a/UIPEthernet/src/utility/uip_timer.h b/src/utility/uip_timer.h similarity index 100% rename from UIPEthernet/src/utility/uip_timer.h rename to src/utility/uip_timer.h diff --git a/UIPEthernet/src/utility/uipethernet-conf.h b/src/utility/uipethernet-conf.h similarity index 100% rename from UIPEthernet/src/utility/uipethernet-conf.h rename to src/utility/uipethernet-conf.h diff --git a/UIPEthernet/src/utility/uipopt.h b/src/utility/uipopt.h similarity index 100% rename from UIPEthernet/src/utility/uipopt.h rename to src/utility/uipopt.h diff --git a/UIPEthernet/src/utility/util.h b/src/utility/util.h similarity index 100% rename from UIPEthernet/src/utility/util.h rename to src/utility/util.h