使用IAR在开发nordic的sdk的时候,官方有一段话
*****
Note for IAR 8 users:
(Libraries for IAR 8 require wchar_t to be of size 32 bits while IAR 7 requires 16 bits).

To run a project using IAR 8, follow these intructions:
- Open the IAR project in IAR 8. The IAR workbench will automatically generate an IAR 8 compatible project file.
- If the project contains one of the precompiled libraries listed below, replace it with the IAR 8 compatible alternative
(there are no projects targeting nRF51 in this SDK).
- Save the project.
- When building the project, you might get the warning: "The header file 'cmsis_iar.h' is obsolete and should not be used. [...]".
- The problem is described in DevZone post: https://devzone.nordicsemi.com/f/nordic-q-a/31123/iar-ewarm-8-22-1-complains-about-cmsis_iar-h
The solution is to remove all occurrences of #include <cmsis_iar.h>.

The affected libraries are:
- micro-ecc crypto:
- IAR7: Includes library located in the folder named “…_iar\…”.
- IAR8: Switch to using the library from the folder named “…_armgcc\…”.
- nrf_cc310, nrf_cc310_bl, and nrf_oberon:
- IAR7: Includes the library where “_short_wchar_” is part of the file name.
- IAR8: Switch to using the library with similar naming, but where the “short_wchar” is removed.
- Gazell, NFC Tag, and 802.15.4:
- IAR7: Includes the library where the file name ends with “_iar”.
- IAR8: Switch to using the library with similar file name that ends with “_gcc”.
*****
同时,官当sdk在下面的各个开发平台中进行验证,
,The following toolchains/devices have been used for testing and verification:
- ARM: MDK-ARM version 5.18a
- GCC: GCC ARM Embedded 6.3 2017-q2-update
- IAR: IAR Workbench 7.80.4 (IAR 8 - see note below)
- SES: SES 3.40

因此,今天特意在iar8编译hrs心率例程的时候,发现了wchar_在iar7和iar8是不同的,因此建议使用iar7.80.4进行开发比较妥当,与官方的sdk相匹配。keil的ses两个开发坏境是没有问题的。

最新文章

  1. spring boot 部署为jar
  2. AIDL使用解析
  3. 设置Android程序图标
  4. 【转】Flume(NG)架构设计要点及配置实践
  5. CSS笔记(十三)CSS3之过渡
  6. Objective-C:Foundation框架-常用类-NSDate
  7. poj 1797 Heavy Transportation(最短路径Dijkdtra)
  8. 【Android】如何使用安卓的logcat『整理』
  9. Django中的ORM进阶操作
  10. EasyUI Combotree 只允许选择 叶子节点
  11. Mysql数据库中 ,涉及事物,循环添加数据
  12. haproxy path_beg
  13. JavaSE高级1
  14. (二十六)svn的问题二
  15. 配置linux软件下载跟新地址
  16. Java基础 -- 深入理解泛型
  17. Windows10 VS2017 C++模拟点击按键
  18. 爬虫-day02-抓取和分析
  19. python六十一课——高阶函数之reduce
  20. [01-01] 示例:用Java爬取新闻

热门文章

  1. 作用域提升(Scope Hositing )是 Webpack 3 的标志性特征
  2. VS2012,更新补丁后的残忍--创建项目未找到与约束匹配的导出
  3. HTML5:使用postMessage实现Ajax跨域请求
  4. 关于rabbitmq的消息路由的同步问题
  5. MATLAB 添加自定义的模块到simulink库浏览器
  6. Centos 7 搭建git服务器及使用gitolite控制权限
  7. shell函数的使用
  8. AutoIt 脚本1
  9. 2017.10.4 QBXT 模拟赛
  10. 洛谷 P1855 榨取kkksc03