These BSP's are using older versions of the pico-sdk. The best fix would be for them to update. But that may never happen. Options are: (a) use a different BSP (ex: arduino-pico) or (b) revert to an ...
I was trying to make a project using Waveshare 4.0.1 7 color E paper display. i tried the epd4in01f-demo code provided by waveshare, the code compiles fine at 1.8.19 ...