Hello:
(So why is there not a MCU architecture/product submission selection for Cortex-M0?)
Well anyway, I just installed KDM5 and did the PACK installer for the cortex-m0 part I'm using, and I successfully copied and ran the blinky example from the Pack.
So I go to do my own hello world example, create the project, add the CMSIS core and startup checkmarks in the run-time environment dialog. I then write my main and build, and get the link error seen here: i.imgur.com/ey7Rvf8.jpg You can also see my run time settings on the overlapping window.
This is apparently due to lack of a startup file, according to my googling. By my estimation I should have a startup file in the device section of the project files, but as you can see, there is no "+" sign at my device item.
First question is, why not, second is how do you force-add one. I found the file I need, I think, deep in the bowels of the Keil file system, but can't find instructions to add it. I would have thought I could right click on the device thing, but that has no add; it must be another way.
Thanks!
You have 3 options. If you want to use CubeMX, 1) you may try *starting* inside CubeMX, and exporting an MDK-ARM project, or 2) launch CubeMX from inside MDK-ARM Based off the picture, the default for the device is to try and launch CubeMX (which may currently bring in the startup files in the old way, without a software component) To do this, you'll want to enable the component in the yellow warning, in the Manage RTE window. Check the box next to Device => STM32CubeMX Framework (API) => STM32CubeMX. Click OK, to startup CubeMX. 3) If you do not want to use CubeMX, select a different component variant from STM32CubeMX, inside the Manage Run-Time Environment dialog. If multiple variants exist, they are displayed as a drop-down list in the Variant column...