539|2

40

帖子

0

资源

一粒金砂(中级)

macOSX上搭建STM32编程开发环境

 

1.下载STM32CubeIDE

https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html

选择 macOS版本的。按照提示一步步去下载就好,下载完安装,

安装过程中会提示这个程序非法,在Setting->Security&Privacy里面手动允许一下就好。

 

 

2.下载SensorTile.box的framework包。

https://www.st.com/content/st_com/en/search.html#q=FP-SNS-STBOX1-t=tools-page=1

下载完后解压,将文件夹拷贝到STM32CubeIDE的workspace下面。

 

然后:
 Open STM32CubeIDE (this firmware has been successfully tested with Version 1.3.0)
 - Set the default workspace proposed by the IDE (please be sure that there are not spaces in the workspace path).
 - Press "File" -> "Import" -> "Existing Projects into Workspace"; press "Browse" in the "Select root directory" and choose the path where the STM32CubeIDE project is located (it should be STM32CubeIDE\). 

在导入的时候,选择任意一个applicationproject打开就行。

 

这个framework包里面有除了BSP driver外,还有几个demo application project 供我们参考。

This package contains the following projects:

  • BLEFOTA: Secure (PIN) BLE Firmware Over The Air update

  • BLEDualProgram: Secure (PIN) BLE Firmware Over The Air update with Dual Boot option for Firmware Rollback

  • BLELowPowerRToS: FreeRTOS low Power BLE trasmission of Sensor’s data

  • BLEMLC: Example on how to program the LSM6DSOX Machine Learning Core (MLC)

  • BLESensors: Simplest way for BLE trasmission of Sensor’s data

  • SDDataLogRToS: SD-Card data Log with FreeRTOS

  • BootLoader: Boot Loader for enabling the Update of the code

  • DataLogExtended: send data using USB to a connected PC for using the Unicleo-GUI

最终的样子:

找到main.c 就可以为所欲为了。

Screenshot 2020-06-07 at 18.40.08.png

 

此帖出自stm32/stm8论坛
Screenshot 2020-06-07 at 18.12.08.png

回复

224

帖子

0

资源

一粒金砂(中级)

感谢分享


回复

2225

帖子

1

资源

五彩晶圆(初级)

挺好的我大eclipse威武

个人签名人已离开,无事别找,找也找不到。

回复
您需要登录后才可以回帖 登录 | 注册

关闭
站长推荐上一条 1/3 下一条

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区知春路23号集成电路设计园量子银座1305 电话:(010)82350740 邮编:100191

电子工程世界版权所有 京ICP证060456号 京ICP备10001474号 电信业务审批[2006]字第258号函 京公海网安备110108001534 Copyright © 2005-2020 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表