MBED studio and STM32L071 (non supported platform)

Hello,
I developed a complete program in MBED Studio and based on Bluepill board with MCU STM32F103C8 (128kB flash). Unfortunately, there was a requirement to use another low-power processor with RTC. In the end, it will be the STM32L071KBU6 processor, but unfortunately this type is not a supported platform in the MBED studio.
Is it possible to use MBED studio for this type as well? Can you please advise me how to set up an MBED studio for this type? (or if there are already ready configuration files, etc.)

Thank you very much for your help.

Hi

See STM32L0: add MCU_STM32L071xB support by jeromecoutant · Pull Request #15277 · ARMmbed/mbed-os · GitHub
and Add MCU_STM32L071xB · ARMmbed/stm32customtargets@14db266 · GitHub

I hope it helps

Regards,
Jerome

Dear Jerome,
thank you very much for your answer. Honestly, I’m not very wise about it - I got a bit further, but not yet to the finish line …

  • I updated MBED studio to the latest version 1.4.4
    including all tools:
    Tool Name Version Status
    ARM Compiler 6.16 up to date
    Clangd 12.0.2 up to date
    Example projects 1.10.1 update available
    GDB client 6-2017-q2-updateup to date
    Git 2.30.0 up to date
    Mbed Library Cache 1.10.0 up to date
    Python tools 0.6.0 up to date
    Debug Packs 1.1.0 up to date

  • I updated the MBED OS library to mbed-os6.15.1

  • I imported customtargets from Git into my project

Now I see in the Target menu a suitable type that I have chosen:

MCUs and custom targets
GENERIC_STM32L071KB

But if I try to build a program I get an error message:

argument -m / - mcu: GENERIC_STM32L071KB is not a supported MCU. Supported MCUs are:
ADV_WISE_1510, ADV_WISE_1570, ARCH_MAX,
ARCH_PRO, ARDUINO_NANO33BLE, ARM_CM3DS_MPS2,
ARM_MPS2_M0, ARM_MPS2_M0P, ARM_MPS2_M3,
ARM_MPS2_M4, ARM_MPS2_M7, ARM_MUSCA_B1,
ARM_MUSCA_S1, B_L4S5I_IOT01A, B_U585I_IOT02A, …

… long list of supported MCU, but my target is missing.

It looks that i am still doing something wrong.

Regards Lukas