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

v1.2.5: Compilation broken due to error in STM32AsyncTCP dependency #4

Closed
@dl1com

Description

@dl1com

Description

As already described in #2 by @jcw, there is an issue with the external dependency of the STM32AsyncTCP Library.
In the current version (1.2.5) of AsyncWebServer_STM32, compilation fails with just the same error as described in #2, as the root of the cause is still not fixed upstream, the library.json of the library still states the wrong platform ( "platforms": "espressif8266", https://github.com/philbowles/STM32AsyncTCP/blob/master/library.json#L18).

Workaround

To get my setup working, I just refer to your fork of the library in my platform.ini, as your fork already contains the relevant fix:

lib_deps =
    STM32AsyncTCP=https://github.com/khoih-prog/STM32AsyncTCP
    khoih.prog/AsyncWebServer_STM32@^1.2.5

Short-Term Solution

I'd propose that you alter your library.json to point to your fork of the lib (https://github.com/khoih-prog/AsyncWebServer_STM32/blob/master/library.json#L42) until it is fixed upstream.

Please let me know if I shall supply this as a PR, I am happy to do so.

Long-Term solution

PR the relevant fixes in the upstream repo of philbowles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions