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 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
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.
I tried that yesterday and it was working.
According to your second picture it seems you have the custom_targets.json in the root folder of Workspace and not in the root of your project, that means the file is out of your project.
the file icon is not alignment with files above
because it is sorted by name, then the file must be between CONTRIBUTING.md and main.cpp an not under