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

Commit e486338

Browse files
authored
Update Packages_Patches
### Releases v1.8.14-1 1. Fix examples to support ATmega4809 such as UNO_WIFI_REV2 and NANO_EVERY 2. Add support to generic `__SAMD21E1xA__`, `__SAMD21G1xA__` and `__SAMD21J1xA__` 3. Add `headers` in `library.json` for PIO 4. Update `platform.io` 5. Remove debug leftovers. Check [Debug text comes out of the serial port when listening for UDP connections #15](#15)
1 parent 2530160 commit e486338

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,22 @@ void printWiFiStatus()
10801080

10811081
#endif
10821082

1083+
#if ( defined(__AVR_ATmega4809__) || defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_AVR_NANO_EVERY) )
1084+
#if !defined(BOARD_NAME)
1085+
#if (ARDUINO_AVR_UNO_WIFI_REV2)
1086+
#define BOARD_NAME "megaAVR UNO WiFi Rev2"
1087+
#elif (ARDUINO_AVR_NANO_EVERY)
1088+
#define BOARD_NAME "megaAVR Nano Every"
1089+
#else
1090+
#define BOARD_NAME "megaAVR Unknown"
1091+
#endif
1092+
#endif
1093+
#endif
1094+
1095+
#ifndef BOARD_TYPE
1096+
#define BOARD_TYPE "Unknown board"
1097+
#endif
1098+
10831099
#ifndef BOARD_NAME
10841100
#define BOARD_NAME BOARD_TYPE
10851101
#endif

0 commit comments

Comments
 (0)