You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@malloc-19, I can see that you're using an old version of the ST STM32 platform (arduinoststm32@2.1.180219). I strongly recommend using the latest version of the ST STM32 platform: v5.3.0.
I followed your "Steps to Reproduce" with the only difference being that I changed the following line in the platformio.ini file under the STM32F1 environment:
platform = ststm32@<4.4.0 to platform = ststm32@5.3.0
This worked for me with no build errors. Unfortunately, I couldn't verify that it actually works because I don't have a Blue Pill and neither do I have a SSD1306 OLED.
Don't forget to make sure that you're using the latest version of the U8glib-HAL extension from the dev branch (with #6 merged). You can do this by deleting .piolibdeps\U8glib-HAL_ID1932 as discibed here: MarlinFirmware/Marlin@1de6e7f#commitcomment-33192679.
Description
It looks like #6 bricked my ability to us my Blue Pill (STM32F103CB) with an SSD1306 OLED.
(28e15cd)
By default "U8glib-HAL" is being ignored when compiling for STM32F1 but I found that it did work anyway before the Changes in #6 were made.
Steps to Reproduce
under [platformio]
under: [env:STM32F1]
Expected behavior:
I expected the Code to Compile.
Actual behavior:
It didn't :)
Some Errors from the Console:
C:\users[NAME].platformio\packages\framework-arduinoststm32@2.1.180219\STM32F1\cores\maple/wirish_types.h:65:9: error: unknown type name 'bool'
C:\users[NAME].platformio\packages\framework-arduinoststm32@2.1.180219\STM32F1\cores\maple/ext_interrupts.h:90:6: error: conflicting types for 'attachInterrupt'
C:\users[NAME].platformio\packages\framework-arduinoststm32@2.1.180219\STM32F1\cores\maple/wirish_math.h:50:6: error: conflicting types for 'random'
*** [.pioenvs\STM32F1\libe06\U8glib-HAL_ID1932\clib\u8g_com_arduino_common.c.o] Error 1
*** [.pioenvs\STM32F1\libe06\U8glib-HAL_ID1932\clib\u8g_com_arduino_fast_parallel.c.o] Error 1
Full console:
ERROR_STM32F1_SSD1306.txt
####HOTFIX
Since an older Version did compile, I was able to find where the error comes from. Here is how to get it working:
Additional Information
I am not sure why #6 causes these weird errors.
The text was updated successfully, but these errors were encountered: