Hi JamesCookMD: I’m afraid I led you a bit astray.
The Teensy library is already included in the PlatformIO build, so adding it as a libdep caused the error. If you just list the Tympan as a libdep, then it builds fine. You can refer to the updated guide here: https://github.com/Tympan/Docs/wiki/Program-the-Tympan-using-VS-Code-and-Platform-IO
lib_deps = https://github.com/Tympan/Tympan_Library.git#main
Now, when I tried this after my mistake including the Teensy libdep, I still got errors. What I had to do was clear out the PlatformIO packages, then let VS Code rebuild them:
- Open VS Code, click on Extensions, then uninstall PlatformIO. Close VS Code
- Delete the following folder from your PlatformIO directory.
C:\Users\<YOUR USERNAME\.platformio\packages
- Open VS Code, then install PlatformIO
- Open your example project folder, then wait for Intellisense to build (refer to the task status at the bottom of the VS Code window)
- Then click the build checkmark. It should take longer than usual, as you see all the libraries being pulled in.
Let me know if you still run into issues!