Coder Social home page Coder Social logo

Comments (5)

khoih-prog avatar khoih-prog commented on May 29, 2024

Hi,

Thanks for your interest in the library.

The issue is similar to Compile error with ESP8266 and Platformio #25 and many more issues. The general answer is as follows :

As you know, using PIO requires a little more experiences and knowledge than Arduino IDE to understand and manually modify the settings. Moreover, the current PIO version is not smart enough to select the correct library, according the board, necessary to use with this library, which is written mainly for multi-platforms and Arduino IDE.

Just try using Arduino IDE and understand why it can selects correctly the libraries to use, no matter boards / platforms you're using.

This library's platformio.ini is also written to include all possible dependent libraries for all the boards with the expectation that PIO users will know and modify to ignore the incorrect ones. It's better than include nothing and users has to do research to know which libraries are needed and include them.

Just understand which libraries to be used for your board, you'll know that you can ignore some unused libraries, such as adding to your platformio.ini

lib_ignore = 
   STM32AsyncTCP
   STM32duino LwIP
   STM32Ethernet
   WebServer_WT32_ETH01

Good Luck,


Additional context

It looks like the repository path for the Portenta_H7_AsyncTCP libraray is messed up on the platform.io site: (https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncTCP)

image

Thanks, will fix.


Update

Already fixed with Portenta_H7_AsyncTCP v1.3.1

from asyncmqtt_generic.

MrHyrex avatar MrHyrex commented on May 29, 2024

@khoih-prog So if I understand this correctly, the library and platformio.ini file in it's current state does in fact not support building for the Portenta on PlatformIO?
Also, since the AsyncMQTT_Generic library still tries to install v1.3.0 of the ...AsyncTCP library, the installation still fails when done from PlatformIO library manager

from asyncmqtt_generic.

khoih-prog avatar khoih-prog commented on May 29, 2024

Try again to see if OK now. If still having PIO issue, post for help in PIO Forum.

from asyncmqtt_generic.

MrHyrex avatar MrHyrex commented on May 29, 2024

Ok, thanks will check out that forum.

Tried the install again with same result. Maybe I'm misunderstaning something, but the latest version of AsyncMqtt_Generic library available in the Platform IO library manager is still v1.5.0 which tries (and fails) to install v1.3.0 of the Portenta_H7_AsyncTCP libraray.

from asyncmqtt_generic.

khoih-prog avatar khoih-prog commented on May 29, 2024

It there is something wrong with the installation, you can install any library manually, by using command, such as

$ pio pkg install --global -l "khoih-prog/Portenta_H7_AsyncTCP"

from asyncmqtt_generic.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.