STM32 BluePill 128K build error

Hi, I’m using PlatformIO in Atom IDE and I’m trying to program a STM32 BluePill (128K) without good result…The problem is with the 128K version of BluePill…
Using the Project Wizard when i create a new project with BluePill (128K) but i got this error:

PIO Core Call Error: “The next files/directories have been created in /home/luc4s/Documents/PlatformIO/Projects/BluePill_Test\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\n\nError: Processing bluepill_f103c8_128k (platform: ststm32; board: bluepill_f103c8_128k; framework: mbed)\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION:\nPLATFORM: ST STM32 > BluePill F103C8 (128k)\nHARDWARE: STM32F103C8T6 72MHz 20KB RAM (128KB Flash)\nDEBUG: CURRENT(stlink) EXTERNAL(blackmagic, jlink, stlink)\nmbed build API internal error\nwrite() takes exactly 2 arguments (3 given)\n========================================================================================================== [ERROR] Took 0.39 seconds ==========================================================================================================”

Trying to solve, i’ve created a not 128K version project and all gone right, i’ve edited the platformio.ini like in the guide…
and now i got:

; PlatformIO Project Configuration File
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
; Please visit documentation for the other options and examples

;platform = ststm32
;board = bluepill_f103c8
;framework = mbed

platform = ststm32
board = bluepill_f103c8_128k
framework = mbed

Now…in this situation the PlatformIO is able to compile but not to build and program…
The code it’s just a led blink, but that’s the error on “build”

Processing bluepill_f103c8_128k (platform: ststm32; board: bluepill_f103c8_128k; framework: mbed)

Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: Redirecting...
PLATFORM: ST STM32 > BluePill F103C8 (128k)

HARDWARE: STM32F103C8T6 72MHz 20KB RAM (128KB Flash)
DEBUG: CURRENT(stlink) EXTERNAL(blackmagic, jlink, stlink)
mbed build API internal error
write() takes exactly 2 arguments (3 given)
========================================================================================================== [ERROR] Took 0.40 seconds ================

what’s wrong?

This is being discussed at not created a project for bluepill_f103c8_128k · Issue #195 · platformio/platform-ststm32 · GitHub