how to add mcu to cmsis_mcu_descriptions.json5 #389
Replies: 1 comment 15 replies
-
As it happens, I ran into the the same issue yesterday too. As it turns out STM32L433CCTx doesn't exist in cmsis_mcu_descriptions.json5 either. I'm porting an old project from mbed-os to mbed-ce. If I'm correct: the mbed-ce fork of mbed-os, mbed-os/targets/cmsis_mcu_descriptions.json5 is the same as the mbed-ce forked version of the legacy mbed-os/tools/arm_pack_manager/index.json. It would be easy to say we should just update cmis_mcu_descriptions.json5 in mbed-ce but it may not be that easy. So I add to the question: can the above update be accomplished with out breaking something or is there a way to add to the mcu descriptions, at least temporarily, using let's say the custom_target or some other method similar to the mbed_disable_mcu_target_file() cmake call for source files? |
Beta Was this translation helpful? Give feedback.
-
Hello, I am planing to use a board with STM32F103VGT6 but it is not listed in the cmsis_mcu_descriptions.json5 file and complains running cmake ..
"ERROR: Target specifies device_name STM32F103xG but this device is not
listed in C:\Mbed-CE\mbed-ce-hello-world\mbed-os\tools\cmake....\targets\cmsis_mcu_descriptions.json5. Perhaps you need to use
the 'python -m mbed_tools.cli.main cmsis-mcu-descr fetch-missing' command to download
the missing MCU description?"
How is the proper way to create this entry in the json5 file?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions