__ARM_PROFILE_M__ __CORE__ __ARMVFP__ __LITTLE_ENDIAN__
__ARM_PROFILE_M__
Description
An integer that is set based on the --cpu option.
The symbol is set to 1 if the selected processor architecture is a profile M core.
The symbol is undefined for other cores.
__CORE__
Description
An integer that identifies the processor architecture in use.
These symbolic names can be used when testing the __CORE__ symbol.
An integer that identifies the chip core in use. The value reflects the setting of the --cpu option and is defined to
__ARM4TM__, __ARM5__, __ARM5E__, __ARM6__, __ARM6M__, __ARM6SM__, __ARM7M__, __ARM7EM__, __ARM7A__, or __ARM7R___.
These symbolic names can be used when testing the __CORE__ symbol.
The symbol reflects the --core option and is defined to
#define __ARM7A__ 0
#define __ARM7R__ 0
#define __ARM4TM__ 4
#define __ARM5__ 5
#define __ARM5T__ 5
#define __ARM5TM__ 5
#define __ARM6T2__ 6
#define __ARM6__ 6
#define __ARM7M__ 7
#define __ARM7__ 7
#define __ARM5E__ 10
#define __ARM6M__ 11
#define __ARM6SM__ 12
#define __ARM7EM__ 13
__ARMVFP__
Description
An integer that reflects the --fpu option and is defined to
__ARMVFPV1__ ( 1 ),
__ARMVFPV2__ ( 2 ),
__ARMVFPV3__ ( 3 ),
__ARMVFPV4__ ( 4 ).
These symbolic names can be used when testing the __ARMVFP__ symbol.
If VFP code generation is disabled (default), the symbol will be undefined.
__LITTLE_ENDIAN__
Description
An integer that reflects the --endian option and is defined to 1 when the byte order is little-endian.
The symbol is defined to 0 when the byte order is big-endian.
__ARM_PROFILE_M__ __CORE__ __ARMVFP__ __LITTLE_ENDIAN__的更多相关文章
- xcode 编译器在各个arch下面默认宏
$ clang -dM -E -arch armv7 -x c /dev/null #define OBJC_NEW_PROPERTIES 1 #define __APCS_32__ 1 #defin ...
- uC/OS - III 移植 IAR平台
关于移植uC/OS-III 网上已经有很多教程了此处只是做个记录 首先下载源码然后解压得到下面的文件: 然后在模版工程里新建各种文件夹: 最后全部都添加进工程: OK了,编译一下,惊呆了,竟然 0错误 ...
- visual studio单项目一次生成多框架类库、多框架项目合并
目录 不同平台框架项目使用同一套代码,一次编译生成多个框架类库 需要先了解的东西 分析 添加PropertyGroup 多目标平台 编译符号和输出目录设置 添加依赖 代码文件处理 主副平台项目文件处理 ...
- Core Foundation 官方文档翻译
Core Foundation框架中常用的隐含类型: 使用这些隐含类型时需要自己初始化,自己去释放内存.所以需要记住,在初始化的同时在相应位置释放.以防出现内存问题. 1.CFStringRe ...
- Synergy CORTEX M 启动流程
1.启动文件“startup_S7G2.c” 中断向量表地址指针:“0xe000ed08” /* Vector table. */ BSP_DONT_REMOVE const exc_ptr_t __ ...
随机推荐
- K2 Blackpearl开发技术要点(Part2)
转:http://www.cnblogs.com/dannyli/archive/2012/09/14/2685282.html K2 Blackpearl开发技术要点(Part2)
- Karel运行环境配置
1.下载 见http://wenku.baidu.com/view/24762ced998fcc22bcd10d5e.html 2.界面空白问题 问题:运行Karel后,发现整个界面空白一片,没有任何 ...
- poj 2185(二维kmp)
题意:让你求一个最小的覆盖子矩阵. 分析:首先第一点是确定的:那就是这个子矩阵肯定位于左上角,然后按行考虑,求出每一行可能的重复子串的长度,然后取所有行都存在并且长度最短的长度最为最小子矩阵的宽, 最 ...
- Golang 绘图技术(image/draw包介绍)
image/draw 包仅仅定义了一个操作:通过可选的蒙版图(mask image),把一个原始图片绘制到目标图片上,这个操作是出奇的灵活,可以优雅和高效的执行很多常见的图像处理任务. 1 ...
- win下 golang 跨平台编译
mac 下编译其他平台的执行文件方式请参看这篇文章,http://www.cnblogs.com/ghj1976/archive/2013/04/19/3030703.html 本篇文章是win下的 ...
- Chopsticks
题意: n个数3个相邻是一组,求选k组使得,各组组内较小的两个数的差之和最小. 分析: 对于每个数选或不选的问题,dp[i][j]表前i个数选了j组得到的最小和. dp[i][j]=min(dp[i- ...
- 实例化spring容器
方法一:在类路径下寻找配置来实例化容器 ApplicationContext ctx = new String[]{"beans.xml"}); 方法二:在文件系统路径下寻找配置文 ...
- 从四大音乐APP首页设计对比分析产品方向
原帖:http://www.ui.cn/detail/63201.html 本文章中作者例举四个音乐APP应用:虾米.网易.百度.QQ首页 1. 推荐内容:作者将四个首页界面划分出官方推荐与个性化推荐 ...
- 30+学习Web设计和开发的优质新鲜资源
今天我们整理了一些最新的Web设计和开发的资源,这些资源都来自国外的流行站点,不过大家应该不会陌生,放在这里供大家收藏,在需要的时候方便翻阅和学习! 原文地址:http://www.goodfav.c ...
- Java基础 —— HTML
HTML:超文本标记语言(HyperText Markup Language) --> 最基础的网页语言 基本结构: <html> //HTML文件的开始 <head> ...