Closed dattasaurabh82 closed 2 years ago
I suggest, while not having enough research and test, you'd better try with Arduino IDE first to have knowledge about the board and library before going to more sophisticated PIO, which requires lot more skills and better knowledge to use.
You also have to know Teensy 4.1 has no relation to STM32 at all.
Check Missing stm32_def.h for Teensy 4.1 #14
If having more issue, I suggest you ask for help in PIO forum and no more pointer will be provided.
Good Luck,
Setup and Target information:
Note: The library was installed using platformio's library manager
Simplest
platformio.ini
file content:Simplest
main.cpp
content:The problem:
While trying to compile against Teensy4.1 with built in Ethernet, it not compiling but throwing errors complaining that:
In![Screenshot 2021-10-15 at 4 32 59 PM](https://user-images.githubusercontent.com/4619862/137458020-b1d46527-ed7e-445b-ab6c-2c3c806fbf0e.png)
<proj_dir>/.pi/libdeps/teensy41/STM32Ethernet/src/utility/stm32_eth.h
, the referencestm32_def.h
can not be located.And that in
<proj_dir>/.pio/build/teensy41/lib24a/STM32Ethernet/utility/
, thestm32_eth.cpp
is also missing.Don't know what's happening 😶 I guessing no need to use any patch files like in case of Arduino IDE installation, mentioned in the README? (That's one reason for me to choose PIO in VS code over Arduino IDE)
Any pointers?