CMSIS &STM32,如何开始? [英] CMSIS & STM32, How to begin?

查看:59
本文介绍了CMSIS &STM32,如何开始?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 STM32 上使用 CMSIS 开始项目.网上冲浪,我找不到任何具体的教程.有些开始项目使用 SPL(ST 已停产).我想要一个在 stm32cube 上学习 CMSIS 的资源.

I'm want to start projects using CMSIS on STM32. Surfing the net, I couldn't find any specific tutorial. Some starts project using SPL (which is discontinued by ST). I want a source to learn CMSIS on stm32cube.

如果有人帮助我,我会很高兴.

I'll glad if someone help me with that.

问候

推荐答案

  1. 下载并安装STM32Cube
  2. 为您的微型创建新的 STM32 立方体项目(我为 STM32F446RE Nucleo 创建了3.为项目命名并按下一步完成.
  3. 删除 HAL 驱动程序:
  4. 打开main.c 删除其内容.现在您可以开始编写 CMSIS 裸机代码了.
  5. 编译并开始调试(如果您使用开发板或有调试探针)
  1. Download and install STM32Cube
  2. Create new STM32 cube project for your micro (I have created for STM32F446RE Nucleo 3.Name the project and press next and finish.
  3. Remove HAL drivers:
  4. Open main.c Delete its content. Now you can start writing CMSIS bare metal code.
  5. Compile and start debugging (if you use dev board or have a debug probe)

享受

这篇关于CMSIS &STM32,如何开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆