Have you been able to test the standard blink sketch with your blue pill? If not, that’s usually a good place to start to make sure that your toolchain is working fine. That sketch doesn’t use any specific libraries so obviously won’t test those.
Next up, are you using a library that is specific to the STM port of the Arduino framework? I assume this to be the case, but it’s possible you’ve installed an STM specific library rather than one for the Arduino framework, perhaps MBED?
I have a couple of Blue Pills (which I must get around to doing something with) and I use the MBED framework at the moment, but in my
platformio.ini I have this:
platform = ststm32
board = bluepill_f103c8
framework = mbed
build_flags = -D MBED_BUILD_PROFILE_RELEASE
You will probably have the
framework = arduino instead? I’ve tested my Blue Pill with the Arduino framework and code and it worked fine.
Can you post a link to the
GLUE_Demo_320x240 code that you are using please? A Google search returned numerous versions all over the internet.
What library are you using in your
lib_deps to talk to the LCD? Can you post your
platformio.ini file please?