I’m trying to use this library: PlatformIO Registry
Which shows “universal compatibility”
Compatibility with all frameworks and platforms, but every example I see seems to depend heavily on the Arduino framework, and as I dug into the library files a little, they seem to depend on the Arduino Framework. Trying to compile in the stm32cube framework results in “Missing Arduino.h”…
Has anyone used this library with the stm32cube framework? am I missing something here?
While the manifest may indeed be wrong, now that the library is archived, no PRs to fix it will be accepted, at least by the library author.
The library is indeed not directly STM32Cube compatible without the Arduino abstraction layer. Even https://github.com/stm32duino/STM32Ethernet is Arduino based. You could for sure port them to native STM32Cube, but that would still take some time. You could look at other projects like https://github.com/afiskon/stm32-w5500/tree/master or https://github.com/microtechnics-main/stm32-ethernet-1-enc28j60 instead, depending on your used Ethernet chip.
Thank you maxgerhardt,
I appreciate you pointing me to some libraries that could work. I was digging up many libraries that were limited to the Arduino Framework.
Sad to know that we likely can’t update the manifest if there is an error, but hopefully this thread will save the next person some time.