Can't get black pill to display on oled display ssd_1306

I am having problems trying to display text on an ssd_1306 oled display. The board is a Canaduino "Black Pill" stm32. I am trying to use the adafruit_ssd1306 library which works great on a 'blue pill'

Unfortunately, my code does not compile.

Here is the error I am getting (verbose display):

Arduino: 1.8.16 (Windows 10), Board: "Blackpill STM32F401CCU6, USB serial (CDC), Smallest (default)"

D:\arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\arduino\hardware -hardware C:\Users\wrigh\AppData\Local\Arduino15\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools C:\Users\wrigh\AppData\Local\Arduino15\packages -built-in-libraries D:\arduino\libraries -libraries C:\Users\wrigh\OneDrive\Documents\Arduino\libraries -fqbn=stm32duino:STM32F4:blackpill_f401:usb_cfg=usb_serial,opt=osstd -ide-version=10816 -build-path C:\Users\wrigh\AppData\Local\Temp\arduino_build_343093 -warnings=none -build-cache C:\Users\wrigh\AppData\Local\Temp\arduino_cache_506484 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.stm32tools.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2021.5.31 -prefs=runtime.tools.stm32tools-2021.5.31.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2021.5.31 -verbose C:\Users\wrigh\OneDrive\Desktop\blue_pil_test_oled\blue_pil_test_oled.ino

D:\arduino\arduino-builder -compile -logger=machine -hardware D:\arduino\hardware -hardware C:\Users\wrigh\AppData\Local\Arduino15\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools C:\Users\wrigh\AppData\Local\Arduino15\packages -built-in-libraries D:\arduino\libraries -libraries C:\Users\wrigh\OneDrive\Documents\Arduino\libraries -fqbn=stm32duino:STM32F4:blackpill_f401:usb_cfg=usb_serial,opt=osstd -ide-version=10816 -build-path C:\Users\wrigh\AppData\Local\Temp\arduino_build_343093 -warnings=none -build-cache C:\Users\wrigh\AppData\Local\Temp\arduino_cache_506484 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.arm-none-eabi-gcc-4.8.3-2014q1.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.stm32tools.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2021.5.31 -prefs=runtime.tools.stm32tools-2021.5.31.path=C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2021.5.31 -verbose C:\Users\wrigh\OneDrive\Desktop\blue_pil_test_oled\blue_pil_test_oled.ino

Using board 'blackpill_f401' from platform in folder: C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31

Using core 'maple' from platform in folder: C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31

Detecting libraries used...

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o nul

Alternatives for Adafruit_SSD1306.h: [Adafruit_SSD1306@2.5.1]

ResolveLibrary(Adafruit_SSD1306.h)

  -> candidates: [Adafruit_SSD1306@2.5.1]

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o nul

Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.10.7]

ResolveLibrary(Adafruit_GFX.h)

  -> candidates: [Adafruit_GFX_Library@1.10.7]

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o nul

Alternatives for Wire.h: [Wire]

ResolveLibrary(Wire.h)

  -> candidates: [Wire]

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp" -o nul

Alternatives for Adafruit_I2CDevice.h: [Adafruit_BusIO@1.7.2]

ResolveLibrary(Adafruit_I2CDevice.h)

  -> candidates: [Adafruit_BusIO@1.7.2]

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\glcdfont.c" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src\\SPI.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\SoftWire.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\Wire.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\WireBase.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp" -o nul

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp" -o nul

Generating function prototypes...

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -w -x c++ -E -CC -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\sketch\\blue_pil_test_oled.ino.cpp.o"

Compiling libraries...

Compiling library "Adafruit_SSD1306"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp.o"

Compiling library "Adafruit_GFX_Library"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-gcc" -c -g -Os -Wall -MMD -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\glcdfont.c" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_GFX_Library\\glcdfont.c.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp.o"

Compiling library "SPI"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src\\SPI.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\SPI\\SPI.cpp.o"

Compiling library "Wire"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\Wire.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Wire\\Wire.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\SoftWire.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Wire\\SoftWire.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire\\WireBase.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Wire\\WireBase.cpp.o"

Compiling library "Adafruit_BusIO"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp.o"

"C:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -Wall -MMD -std=gnu++11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DERROR_LED_PIN=PC13 -mcpu=cortex-m4 -DARDUINO=10816 -DVARIANT_blackpill_f401 -DARDUINO_ARCH_STM32F4 -DLED_BUILTIN=PC13 -DCRYSTAL_FREQ=25 -DNO_CCMRAM -DSERIAL_USB -DUSER_ADDR_ROM=0x08000000 -mthumb -D__STM32F4__ -DSTM32F4 "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\system/libmaple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple/libmaple/usbF4" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\cores\\maple" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\variants\\blackpill_f401" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_SSD1306" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\SPI\\src" "-IC:\\Users\\wrigh\\AppData\\Local\\Arduino15\\packages\\stm32duino\\hardware\\STM32F4\\2021.5.31\\libraries\\Wire" "-IC:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO" "C:\\Users\\wrigh\\OneDrive\\Documents\\Arduino\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp" -o "C:\\Users\\wrigh\\AppData\\Local\\Temp\\arduino_build_343093\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp.o"

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp: In member function 'bool Adafruit_I2CDevice::write(const uint8_t*, size_t, bool, const uint8_t*, size_t)':

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:88:47: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8* {aka unsigned char*}' [-fpermissive]

     if (_wire->write(prefix_buffer, prefix_len) != prefix_len) {

                                               ^

In file included from C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/Wire.h:41:0,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_I2CDevice.h:1,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:1:

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:116:10: error:   initializing argument 1 of 'void WireBase::write(uint8*, int)' [-fpermissive]

     void write(uint8*, int);

          ^

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:88:52: error: invalid operands of types 'void' and 'size_t {aka unsigned int}' to binary 'operator!='

     if (_wire->write(prefix_buffer, prefix_len) != prefix_len) {

                                                    ^

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:97:31: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'uint8* {aka unsigned char*}' [-fpermissive]

   if (_wire->write(buffer, len) != len) {

                               ^

In file included from C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/Wire.h:41:0,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_I2CDevice.h:1,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:1:

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:116:10: error:   initializing argument 1 of 'void WireBase::write(uint8*, int)' [-fpermissive]

     void write(uint8*, int);

          ^

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:97:36: error: invalid operands of types 'void' and 'size_t {aka unsigned int}' to binary 'operator!='

   if (_wire->write(buffer, len) != len) {

                                    ^

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp: In member function 'bool Adafruit_I2CDevice::read(uint8_t*, size_t, bool)':

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:163:79: error: no matching function for call to 'TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)'

   size_t recv = _wire->requestFrom((uint8_t)_addr, (uint8_t)len, (uint8_t)stop);

                                                                               ^

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:163:79: note: candidates are:

In file included from C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/Wire.h:41:0,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_I2CDevice.h:1,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp:1:

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:101:11: note: uint8 WireBase::requestFrom(uint8, int)

     uint8 requestFrom(uint8, int);

           ^

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:101:11: note:   candidate expects 2 arguments, 3 provided

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:106:11: note: uint8 WireBase::requestFrom(int, int)

     uint8 requestFrom(int, int);

           ^

C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire/WireBase.h:106:11: note:   candidate expects 2 arguments, 3 provided

Using library Adafruit_SSD1306 at version 2.5.1 in folder: C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_SSD1306 

Using library Adafruit_GFX_Library at version 1.10.7 in folder: C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_GFX_Library 

Using library SPI at version 1.0 in folder: C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\SPI 

Using library Wire in folder: C:\Users\wrigh\AppData\Local\Arduino15\packages\stm32duino\hardware\STM32F4\2021.5.31\libraries\Wire (legacy)

Using library Adafruit_BusIO at version 1.7.2 in folder: C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\Adafruit_BusIO 

exit status 1

Error compiling for board Blackpill STM32F401CCU6.

Here is my code:

#include <Arduino.h>
#include <Adafruit_SSD1306.h>

int count = 0;

// SDA pin 18
// SCL pin 19

#define DISPLAY_ADDRESS 0x3C

Adafruit_SSD1306 display(128, 64);

#define DEVICEID "DA"   // this is the LLAP device ID



// Connect pin 1 (on the left) of the sensor to +5V
// Connect pin 2 of the sensor to whatever your DHTPIN is
// Connect pin 4 (on the right) of the sensor to GROUND
// Connect a 10K resistor from pin 2 (data) to pin 1 (power) of the sensor




void setup() {
  

  
  Serial.println("Alive");
  if (!display.begin(SSD1306_SWITCHCAPVCC, DISPLAY_ADDRESS)) {
    Serial.println("SSD1306 allocation failed");
    for (;;);
  }





  delay(2500);
}
void loop() {
  static unsigned long lastTime = millis();

  if (millis() - lastTime >= 10000)
  {
   
    display.stopscroll();
    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.clearDisplay();
    display.setCursor(0, 0);
    display.print("First outline line");
    
    

    display.setTextSize(1);
    display.setTextColor(WHITE);

    display.setCursor(0, 11);
    display.print("second line:");
    display.println(count++);
   


    display.setCursor(0, 22);
    display.println("third line write");
    

    display.display();

  }

  delay(2000);

}

I have tried switching to the u8glib library but that throws up errors such as missing wire_private.h

I've also tried to use Alexey Dynda's ssd1306 library. But the draw_text demo gives me the error:

Arduino: 1.8.16 (Windows 10), Board: "Blackpill STM32F401CCU6, USB serial (CDC), Smallest (default)"

In file included from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\ssd1306\src/ssd1306_hal/io.h:43:0,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\ssd1306\src/nano_gfx_types.h:31,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\ssd1306\src/ssd1306.h:31,

                 from C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\ssd1306\examples\direct_draw\draw_text\draw_text.ino:35:

C:\Users\wrigh\OneDrive\Documents\Arduino\libraries\ssd1306\src/ssd1306_hal/arduino/io.h:49:31: fatal error: avr/interrupt.h: No such file or directory

     #include <avr/interrupt.h>

                               ^

compilation terminated.

exit status 1

Error compiling for board Blackpill STM32F401CCU6.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Further update: I'm starting to get the picture that unlike the Blue Pill, the Black pill microcontroller board simply does not play well with the Arduino libraries, so I haven't even been able to communicate with a simple Servo due to library incompatibilities.

Go on. The "maple" Core sounds very much like "RogerClark".

Although it works with F103 chips it is unlikely to work with any other STM32 chip families. And very few library authors will support "maple" nowadays.

I strongly suggest that you use the regular STM32 Core which is supported and maintained by STMicroelectronics. (the company that makes STM32)
And you should find that both Adafruit_SSD1306 and U8g2lib examples will work straight out of the box.

David.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.