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

Fix compile error for Wio Terminal #5

Merged
merged 1 commit into from
Nov 28, 2020
Merged

Conversation

ansonhex
Copy link
Contributor

Fix compile error for Wio Terminal due to libb64 conflicts:

image

@khoih-prog
Copy link
Owner

khoih-prog commented Nov 28, 2020

Hi @ansonhe97

Thanks for the PR.

I'll merge for the quick fix.

But the best solution is to add to the Seeed-Studio ArduinoCore SAMD core a definition such as

#define CORE_HAS_LIBB64

Something similar to file

core_esp8266_features.h

#define CORE_HAS_LIBB64
#define CORE_HAS_BASE64_CLASS
#define CORE_HAS_CXA_GUARD
#define CORE_HAS_UMM
...

I added that line to Seeed-Studio ArduinoCore SAMD core Arduino.h then forget to mention.

That's why I didn't get any compiler error so far.

The file cencode-Imp.h was also added by typo mistake and will be deleted.

Other quick fixes are adding the definition to

  1. the sketch.
  2. platform.txt

@khoih-prog khoih-prog merged commit f6c02e5 into khoih-prog:master Nov 28, 2020
khoih-prog added a commit that referenced this pull request Nov 28, 2020
### New in v2.3.3

1. Fix compile errors for boards (nRF52, SAMD, etc.) using libraries with lib64, such as [**EthernetWebServer**](https://github.com/khoih-prog/EthernetWebServer)
2. Fix SeeedStudio **SEEED_WIO_TERMINAL** compile errors. See [**Fix compile error for Wio Terminal**](#5)
3. Add file to SeeedStudio SAMD Packages' Patches.
4. Fix compiler warnings for duplications in WS_LOG with [WiFiWebServer Library](https://github.com/khoih-prog/WiFiWebServer)
khoih-prog added a commit that referenced this pull request Nov 28, 2020
### New in v2.3.3

1. Fix compile errors for boards (nRF52, SAMD, etc.) using libraries with lib64, such as [**EthernetWebServer**](https://github.com/khoih-prog/EthernetWebServer)
2. Fix SeeedStudio **SEEED_WIO_TERMINAL** compile errors. See [**Fix compile error for Wio Terminal**](#5)
3. Add file to SeeedStudio SAMD Packages' Patches.
4. Fix compiler warnings for duplications in WS_LOG with [WiFiWebServer Library](https://github.com/khoih-prog/WiFiWebServer)
khoih-prog added a commit that referenced this pull request Nov 28, 2020
### New in v2.3.3

1. Fix compile errors for boards (nRF52, SAMD, etc.) using libraries with lib64, such as [**EthernetWebServer**](https://github.com/khoih-prog/EthernetWebServer)
2. Fix SeeedStudio **SEEED_WIO_TERMINAL** compile errors. See [**Fix compile error for Wio Terminal**](#5)
3. Add file to SeeedStudio SAMD Packages' Patches.
4. Fix compiler warnings for duplications in WS_LOG with [WiFiWebServer Library](https://github.com/khoih-prog/WiFiWebServer)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants