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

Commit

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

1. Fix bug
2. Add support to ***SAM51 (Itsy-Bitsy M4, Metro M4, Grand Central M4, Feather M4 Express, etc.)***.
  • Loading branch information
khoih-prog authored Apr 16, 2020
1 parent bcd2956 commit 53ff7c2
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 20 deletions.
27 changes: 23 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#### New in v1.0.2

1. Fix bug
2. Add support to ***SAM51 (Itsy-Bitsy M4, Metro M4, Grand Central M4, Feather M4 Express, etc.)***.

#### New in v1.0.1

Expand Down Expand Up @@ -226,7 +227,7 @@ Sample Code
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
|| defined(__SAMD51G19A__) )
|| defined(__SAMD51G19A__) || defined(SAMD21G18A) || defined(__SAM3X8E__) || defined(__CPU_ARC__) )
#if defined(WIFININA_USE_SAMD)
#undef WIFININA_USE_SAMD
#undef WIFI_USE_SAMD
Expand Down Expand Up @@ -261,14 +262,30 @@ Sample Code
#define BOARD_TYPE "SAMD ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS"
#elif defined(ADAFRUIT_ITSYBITSY_M4_EXPRESS)
#define BOARD_TYPE "SAMD ADAFRUIT_ITSYBITSY_M4_EXPRESS"
#elif ( defined(__SAMD21G18A__) || (__SAM3X8E__) || (__CPU_ARC__) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
|| defined(__SAMD51G19A__) )
#define BOARD_TYPE "SAMD Board"
#elif defined(__SAMD21E18A__)
#define BOARD_TYPE "SAMD21E18A"
#elif defined(__SAMD21G18A__)
#define BOARD_TYPE "SAMD21G18A"
#elif defined(__SAMD51G19A__)
#define BOARD_TYPE "SAMD51G19A"
#elif defined(__SAMD51J19A__)
#define BOARD_TYPE "SAMD51J19A"
#elif defined(__SAMD51J20A__)
#define BOARD_TYPE "SAMD51J20A"
#elif defined(__SAM3X8E__)
#define BOARD_TYPE "SAM3X8E"
#elif defined(__CPU_ARC__)
#define BOARD_TYPE "CPU_ARC"
#elif defined(__SAMD51__)
#define BOARD_TYPE "SAMD51"
#else
#define BOARD_TYPE "SAMD Unknown"
#endif
#else
#define BOARD_TYPE "SAMD Unknown"
#endif


// Start location in EEPROM to store config data. Default 0
// Config data Size currently is 128 bytes)
#define EEPROM_START 0
Expand Down Expand Up @@ -510,7 +527,9 @@ Sometimes, the library will only work if you update the `WiFiNINA module/shield`
2. Find better and easier way to add more parameters.

#### New in v1.0.2

1. Fix bug
2. Add support to ***SAM51 (Itsy-Bitsy M4, Metro M4, Grand Central M4, Feather M4 Express, etc.)***.

#### New in v1.0.1

Expand Down
2 changes: 1 addition & 1 deletion examples/Mega_WiFiNINA/Mega_WiFiNINA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

/* Comment this out to disable prints and save space */
Expand Down
24 changes: 19 additions & 5 deletions examples/SAMD_WiFiNINA/SAMD_WiFiNINA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

/* Comment this out to disable prints and save space */
Expand All @@ -27,7 +27,7 @@
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
|| defined(__SAMD51G19A__) )
|| defined(__SAMD51G19A__) || defined(__SAMD21G18A__) )
#if defined(WIFININA_USE_SAMD)
#undef WIFININA_USE_SAMD
#undef WIFI_USE_SAMD
Expand Down Expand Up @@ -62,12 +62,26 @@
#define BOARD_TYPE "SAMD ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS"
#elif defined(ADAFRUIT_ITSYBITSY_M4_EXPRESS)
#define BOARD_TYPE "SAMD ADAFRUIT_ITSYBITSY_M4_EXPRESS"
#elif ( defined(__SAMD21G18A__) || (__SAM3X8E__) || (__CPU_ARC__) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
|| defined(__SAMD51G19A__) )
#define BOARD_TYPE "SAMD Board"
#elif defined(__SAMD21E18A__)
#define BOARD_TYPE "SAMD21E18A"
#elif defined(__SAMD21G18A__)
#define BOARD_TYPE "SAMD21G18A"
#elif defined(__SAMD51G19A__)
#define BOARD_TYPE "SAMD51G19A"
#elif defined(__SAMD51J19A__)
#define BOARD_TYPE "SAMD51J19A"
#elif defined(__SAMD51J20A__)
#define BOARD_TYPE "SAMD51J20A"
#elif defined(__SAM3X8E__)
#define BOARD_TYPE "SAM3X8E"
#elif defined(__CPU_ARC__)
#define BOARD_TYPE "CPU_ARC"
#elif defined(__SAMD51__)
#define BOARD_TYPE "SAMD51"
#else
#define BOARD_TYPE "SAMD Unknown"
#endif

#endif

// Start location in EEPROM to store config data. Default 0
Expand Down
2 changes: 1 addition & 1 deletion examples/SAM_DUE_WiFiNINA/SAM_DUE_WiFiNINA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

/* Comment this out to disable prints and save space */
Expand Down
2 changes: 1 addition & 1 deletion examples/STM32_WiFiNINA/STM32_WiFiNINA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

/* Comment this out to disable prints and save space */
Expand Down
2 changes: 1 addition & 1 deletion examples/Teensy40_WiFiNINA/Teensy40_WiFiNINA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

/* Comment this out to disable prints and save space */
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiManager_NINA_Lite.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_h
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiManager_NINA_Lite_DUE.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_DUE_h
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiManager_NINA_Lite_Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_Debug_h
Expand Down
5 changes: 3 additions & 2 deletions src/WiFiManager_NINA_Lite_SAMD.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_SAMD_SAMD_h
Expand All @@ -23,7 +23,8 @@
#if ( defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_MKRWIFI1010) \
|| defined(ARDUINO_SAMD_NANO_33_IOT) || defined(ARDUINO_SAMD_MKRFox1200) || defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) \
|| defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_SAMD_MKRVIDOR4000) || defined(__SAMD21G18A__) \
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) )
|| defined(ARDUINO_SAMD_CIRCUITPLAYGROUND_EXPRESS) || defined(__SAMD21E18A__) || defined(__SAMD51__) || defined(__SAMD51J20A__) || defined(__SAMD51J19A__) \
|| defined(__SAMD51G19A__) || defined(__SAMD21G18A__) )
#if defined(WIFININA_USE_SAMD)
#undef WIFININA_USE_SAMD
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiManager_NINA_Lite_STM32.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_STM32_h
Expand Down
2 changes: 1 addition & 1 deletion src/WiFiManager_NINA_Lite_Teensy.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
------- ----------- ---------- -----------
1.0.0 K Hoang 26/03/2020 Initial coding
1.0.1 K Hoang 27/03/2020 Fix SAMD soft-reset bug. Add support to remaining boards
1.0.2 K Hoang 15/04/2020 Fix bug
1.0.2 K Hoang 15/04/2020 Fix bug. Add SAMD51 support.
*****************************************************************************************************************************/

#ifndef WiFiManager_NINA_Lite_Teensy_h
Expand Down

0 comments on commit 53ff7c2

Please sign in to comment.