Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
v1.6.1
Browse files Browse the repository at this point in the history
#### New in v1.6.1

1. Add support to all STM32F/L/H/G/WB/MP1
2. Add support to Seeeduino SAMD21/SAMD51 boards 
3. Fix bug introduced to v1.6.0 resulting nRF52 compile error.
  • Loading branch information
khoih-prog authored Jul 24, 2020
1 parent 0d59827 commit a5e7801
Show file tree
Hide file tree
Showing 30 changed files with 3,271 additions and 570 deletions.
Binary file added pics/AdvancedWebServer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/WiFiClient_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#define _WIFININA_LOGLEVEL_ 1
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiClient_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiClient_Generic_h
Expand Down
17 changes: 9 additions & 8 deletions src/WiFiNINA_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand All @@ -24,17 +24,18 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Version Modified By Date Comments
------- ----------- ---------- -----------
------- ----------- ---------- -----------
1.5.0 K Hoang 27/03/2020 Initial coding to support other boards besides Nano-33 IoT, MKRWIFI1010, MKRVIDOR4000, etc.
such as Arduino Mega, Teensy, SAMD21, SAMD51, STM32, etc
1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense,
Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc.
1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.1 K Hoang 22/04/2020 Add support to nRF52 boards, such as AdaFruit Feather nRF52832, nRF52840 Express, BlueFruit Sense,
Itsy-Bitsy nRF52840 Express, Metro nRF52840 Express, etc.
1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/


Expand Down
285 changes: 226 additions & 59 deletions src/WiFiNINA_Pinout_Generic.h

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/WiFiSSLClient_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include "WiFiSSLClient_Generic.h"
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiSSLClient_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiSSLClient_Generic_h
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiServer_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include <string.h>
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiServer_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiServer_Generic_h
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiStorage_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include "WiFiStorage_Generic.h"
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiStorage_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiStorage_Generic_h
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiUdp_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include <string.h>
Expand Down
3 changes: 2 additions & 1 deletion src/WiFiUdp_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiUDP_Generic_h
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_Generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include "utility/wifi_drv.h"
Expand Down
3 changes: 2 additions & 1 deletion src/WiFi_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFi_Generic_h
Expand Down
3 changes: 2 additions & 1 deletion src/utility/WiFiSocketBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#include <stdlib.h>
Expand Down
3 changes: 2 additions & 1 deletion src/utility/WiFiSocketBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -35,6 +35,7 @@
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

#ifndef WiFiSocketBuffer_h
Expand Down
8 changes: 3 additions & 5 deletions src/utility/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Built by Khoi Hoang https://github.com/khoih-prog/WiFiNINA_Generic
Licensed under MIT license
Version: 1.6.0
Version: 1.6.1
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.
Expand Down Expand Up @@ -34,7 +34,8 @@
1.5.2 K Hoang 09/05/2020 Port FirmwareUpdater to permit nRF52, Teensy, SAMD21, SAMD51, etc. boards to update WiFiNINA
W101/W102 firmware and SSL certs on IDE. Update default pin-outs.
1.5.3 K Hoang 14/07/2020 Add function to support new WebSockets2_Generic Library
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.0 K Hoang 19/07/2020 Sync with Aruino WiFiNINA Library v1.6.0 (new Firmware 1.4.0 and WiFiStorage)
1.6.1 K Hoang 24/07/2020 Add support to all STM32F/L/H/G/WB/MP1 and Seeeduino SAMD21/SAMD51 boards
*****************************************************************************************************************************/

//*********************************************/
Expand Down Expand Up @@ -91,7 +92,6 @@

//////

#if 0

#define PRINT_FILE_LINE() do { \
Serial.print("[");Serial.print(__FILE__); \
Expand Down Expand Up @@ -132,8 +132,6 @@
#define WARN(args) do {} while (0);
#endif

#endif // if 0


//KH
#define _DEBUG_SPI_ false
Expand Down
Loading

0 comments on commit a5e7801

Please sign in to comment.