Building of a custom board fails to build in Keil Studio. Error message is "internal error" and "build failed". Should that work, is there any more error information available?
A similar project builds locally with mbed-tools, no problem.
Hi Aleks,
I used the instructions from https://os.mbed.com/docs/mbed-os/v6.15/porting/porting-custom-boards.html
I have got this working with mbed cli 1 and 2 and also Mbed Studio. As Keil Studio looks strikingly similar to Mbed Studio I assumed that this method would work there too. After all, UI allows the selection of a custom target as described in the Mbed documentation.
Essentially I've created a directory TARGET_F405A, custom_targets.json and also added "add_subdirectory(TARGET_F405A)" to CMakeLists.txt. I can provide files.
Regards,
Thomas
Repository with blinky and 2 custom boards is here:
https://github.com/tschulz3016/keilstudio-blinky-custom-boards.git
Boards are F405A, using a STM32F405 and
STM32F4DISCOVERY (using a STM32F407)
Hello tschulz,
Thank you for your reply.
Unfortunately, custom targets are not supported in KSC. Sorry for the inconvenience.
Please let me know if you have any further questions.
Kind regards,
Aleks - Studio Team
Hello,
What is the purpose of Keil Studio's existence, if a customized board cannot be used?
Development boards don't always meet the needs, and so Keil Studio's code becomes useless ¯\_(ツ)_/¯