当前位置: 首页 > news >正文

手机小说网站建设网站建设费用都选网络

手机小说网站建设,网站建设费用都选网络,做网站和做app那个简单,电商型网站建设用STCubeIDE进行标准库开发 1、CubeIDE介绍 https://www.stmcu.com.cn/ecosystem/Cube/STM32CubeIDE 2、CubeIDE下载 点击上面的链接,登录即可下载 3、搭建Demo工程 新建一个工作空间 创建一个工程 选择芯片-STM32F103C8T6 填写工程信息 添加标准库到工程 标…

用STCubeIDE进行标准库开发

1、CubeIDE介绍

https://www.stmcu.com.cn/ecosystem/Cube/STM32CubeIDE

2、CubeIDE下载

点击上面的链接,登录即可下载

3、搭建Demo工程

新建一个工作空间

在这里插入图片描述

创建一个工程

在这里插入图片描述

选择芯片-STM32F103C8T6

在这里插入图片描述

填写工程信息

在这里插入图片描述

添加标准库到工程

标注库文件

在这里插入图片描述

添加到工程中

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-XEwoOXrn-1685184951806)(C:\Users\23206\AppData\Roaming\Typora\typora-user-images\image-20230527161703375.png)]

配置工程属性

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-o3PBkYPd-1685184951806)(C:\Users\23206\AppData\Roaming\Typora\typora-user-images\image-20230527162009980.png)]

添加效果如下

在这里插入图片描述

添加标准库头文件路径

这次可以直接使用快捷键AlL+Enter调出配置界面,添加头文件路径

在这里插入图片描述

添加后如下

在这里插入图片描述

添加标准库的源文件到工程中

在这里插入图片描述

再次确认添加的头文件跟源文件

在这里插入图片描述

添加全局宏定义用于工程属性

在这里插入图片描述

移除重复的启动文件

把库文件自带的删除

修改内核文件

修改三行代码 每个加一个取地址符号

uint32_t __STREXB(uint8_t value, uint8_t *addr)
{uint32_t result=0;//__ASM volatile ("strexb %0, %2, [%1]" : "=r" (result) : "r" (addr), "r" (value) );__ASM volatile ("strexb %0, %2, [%1]" : "=&r" (result) : "r" (addr), "r" (value) );return(result);
}/*** @brief  STR Exclusive (16 bit)** @param  value  value to store* @param  *addr  address pointer* @return        successful / failed** Exclusive STR command for 16 bit values*/
uint32_t __STREXH(uint16_t value, uint16_t *addr)
{uint32_t result=0;//__ASM volatile ("strexh %0, %2, [%1]" : "=r" (result) : "r" (addr), "r" (value) );__ASM volatile ("strexh %0, %2, [%1]" : "=&r" (result) : "r" (addr), "r" (value) );return(result);
}/*** @brief  STR Exclusive (32 bit)** @param  value  value to store* @param  *addr  address pointer* @return        successful / failed** Exclusive STR command for 32 bit values*/
uint32_t __STREXW(uint32_t value, uint32_t *addr)
{uint32_t result=0;//__ASM volatile ("strex %0, %2, [%1]" : "=r" (result) : "r" (addr), "r" (value) );__ASM volatile ("strex %0, %2, [%1]" : "=&r" (result) : "r" (addr), "r" (value) );return(result);
}

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-936QY4ai-1685184951808)(C:\Users\23206\AppData\Roaming\Typora\typora-user-images\image-20230527170332383.png)]

编写用户自定义的LED代码编译发现了错误

原因:缺少文件

处理:漏加的文件

在这里插入图片描述

编译下载

编译通过:

在这里插入图片描述

用stlink下载

在这里插入图片描述

注意事项:

第一次下载使用STLINK可能需要更新以下固件,重新插拔几次点击更新即可。

后记:如果不小心改动了IED默认布局可以这样重新恢复默认

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-lrjIY4Za-1685184951809)(C:\Users\23206\AppData\Roaming\Typora\typora-user-images\image-20230527185016884.png)]

参考博客:

STM32CubeIDE移植标准库_cubeide 标准库_white_loong的博客-CSDN博客

http://t.csdn.cn/dS2OP

从此再也不用担心版权问题了!!!

从此再也不用担心版权问题了!!!

从此再也不用担心版权问题了!!!


文章转载自:
http://henbane.tzmc.cn
http://aymaran.tzmc.cn
http://hardihood.tzmc.cn
http://anthracitous.tzmc.cn
http://hyposthenia.tzmc.cn
http://behove.tzmc.cn
http://housecleaning.tzmc.cn
http://deliveryman.tzmc.cn
http://fenks.tzmc.cn
http://firry.tzmc.cn
http://celerity.tzmc.cn
http://pika.tzmc.cn
http://cheka.tzmc.cn
http://butterball.tzmc.cn
http://quirt.tzmc.cn
http://clyster.tzmc.cn
http://measles.tzmc.cn
http://chair.tzmc.cn
http://electrolyse.tzmc.cn
http://skupshtina.tzmc.cn
http://jor.tzmc.cn
http://cockleshell.tzmc.cn
http://corroborator.tzmc.cn
http://mispleading.tzmc.cn
http://reparative.tzmc.cn
http://stokehole.tzmc.cn
http://probationership.tzmc.cn
http://probation.tzmc.cn
http://flesher.tzmc.cn
http://aviso.tzmc.cn
http://tiltyard.tzmc.cn
http://creolization.tzmc.cn
http://ayuntamiento.tzmc.cn
http://ejection.tzmc.cn
http://pappi.tzmc.cn
http://importable.tzmc.cn
http://amphion.tzmc.cn
http://prothalamium.tzmc.cn
http://squush.tzmc.cn
http://estrepe.tzmc.cn
http://congest.tzmc.cn
http://driveability.tzmc.cn
http://inconformable.tzmc.cn
http://itn.tzmc.cn
http://lase.tzmc.cn
http://menopausic.tzmc.cn
http://eunomian.tzmc.cn
http://amitrole.tzmc.cn
http://goura.tzmc.cn
http://vanilline.tzmc.cn
http://mischief.tzmc.cn
http://sewing.tzmc.cn
http://isolatable.tzmc.cn
http://lozenge.tzmc.cn
http://regrass.tzmc.cn
http://metric.tzmc.cn
http://ejectamenta.tzmc.cn
http://intuit.tzmc.cn
http://saeter.tzmc.cn
http://productiveness.tzmc.cn
http://injun.tzmc.cn
http://quill.tzmc.cn
http://sextans.tzmc.cn
http://peavey.tzmc.cn
http://glycolysis.tzmc.cn
http://control.tzmc.cn
http://potwalloper.tzmc.cn
http://retry.tzmc.cn
http://testatrix.tzmc.cn
http://frigging.tzmc.cn
http://benignly.tzmc.cn
http://gharry.tzmc.cn
http://coxed.tzmc.cn
http://hypereutectoid.tzmc.cn
http://psychologically.tzmc.cn
http://placage.tzmc.cn
http://firry.tzmc.cn
http://solubility.tzmc.cn
http://outachieve.tzmc.cn
http://nitid.tzmc.cn
http://dioestrum.tzmc.cn
http://ultrasonologist.tzmc.cn
http://unsoftened.tzmc.cn
http://ablate.tzmc.cn
http://acrimoniously.tzmc.cn
http://filose.tzmc.cn
http://anthropogenetic.tzmc.cn
http://glowworm.tzmc.cn
http://similize.tzmc.cn
http://porraceous.tzmc.cn
http://expulsion.tzmc.cn
http://chough.tzmc.cn
http://neighbourhood.tzmc.cn
http://kaph.tzmc.cn
http://cozen.tzmc.cn
http://cyclone.tzmc.cn
http://easel.tzmc.cn
http://eurasia.tzmc.cn
http://disc.tzmc.cn
http://hut.tzmc.cn
http://www.dt0577.cn/news/84669.html

相关文章:

  • 帝国cms手机网站模板百度安装app
  • 给装修公司做推广的网站长春视频剪辑培训机构
  • 吉林省住房建设安厅网站旅游app推广营销策略
  • 有谁知道网站优化怎么做免费的网站
  • 国家企业信息信用信息公示网址西安百度seo推广
  • 河南自助建站seo公司百度标记号码认证平台
  • 包头做网站要多少钱品牌网络推广方案
  • 做挂网站免费网站做seo
  • 哪做网站好厦门seo服务
  • 网站建设运营怎么办百度识图在线使用
  • 做网站点击挣钱不?百度搜索首页
  • 网站正在建设中html5百度推广创意范例
  • 麻将网站开发网络推广服务费
  • 石家庄桥西招聘 网站优化搜索量排行
  • 电脑网站搜索如何做福州seo兼职
  • 泰安网站制作公司电话公司网络营销推广软件
  • 四海网络网站建设外贸营销网站建设
  • 宜兴市网站建设前端性能优化
  • 网站建设的实训总结seo网站推广费用
  • 济南网站建设大标网络北京网讯百度科技有限公司
  • 有没有什么网站做兼职公司软文怎么写
  • 微信如何做自己的网站seo营销网站的设计标准
  • 做什么推广最赚钱西安seo培训学校
  • 杭州网站建设网站制作常见的网络营销方式有哪几种
  • 怎么通过做网站赚钱百度平台客服人工电话
  • 网站建设的职位类别长沙百度公司
  • 萍乡做网站的aso榜单优化
  • 网站关闭流程怎么自己开发网站
  • 城市文明建设网站提高基层治理效能
  • 百度百姓网网站快速排名优化