Nemanja
Nemanja

Reputation: 33

How to compile STM Blackpill code in Keil uVision 5?

I want to work with BlackPill STM32F411CE using Keil uVision 5. Unfortunately, Keil is not able to compile program simply because it doesn't recognize STM32F4 family for some reason. Here are the steps I took: First I downloaded necessary packs needed using Pack Installer: enter image description here

After installation, F4 family is not present inside Options for Target > Device: enter image description here

Therefore, Keil is not able to compile code, and gives this error: enter image description here

Here are some info about current version of Keil I use: enter image description here

Upvotes: 0

Views: 110

Answers (1)

In Pack Installer:

  • Type STM32F411 in the search box and press Enter.

  • Click on the listed STM32F411.

  • Click install on right part.

Click STM32F411

  • Click on + beside STM32F411 and then select STM32F411CEU6` and click on Ok button.

Select Device when create project

Hope this helps.

Upvotes: 0

Related Questions