__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__的更多相关文章

  1. xcode 编译器在各个arch下面默认宏

    $ clang -dM -E -arch armv7 -x c /dev/null #define OBJC_NEW_PROPERTIES 1 #define __APCS_32__ 1 #defin ...

  2. uC/OS - III 移植 IAR平台

    关于移植uC/OS-III 网上已经有很多教程了此处只是做个记录 首先下载源码然后解压得到下面的文件: 然后在模版工程里新建各种文件夹: 最后全部都添加进工程: OK了,编译一下,惊呆了,竟然 0错误 ...

  3. visual studio单项目一次生成多框架类库、多框架项目合并

    目录 不同平台框架项目使用同一套代码,一次编译生成多个框架类库 需要先了解的东西 分析 添加PropertyGroup 多目标平台 编译符号和输出目录设置 添加依赖 代码文件处理 主副平台项目文件处理 ...

  4. Core Foundation 官方文档翻译

      Core Foundation框架中常用的隐含类型: 使用这些隐含类型时需要自己初始化,自己去释放内存.所以需要记住,在初始化的同时在相应位置释放.以防出现内存问题.   1.CFStringRe ...

  5. Synergy CORTEX M 启动流程

    1.启动文件“startup_S7G2.c” 中断向量表地址指针:“0xe000ed08” /* Vector table. */ BSP_DONT_REMOVE const exc_ptr_t __ ...

随机推荐

  1. linux 下查看系统内存使用情况的方法

    在Windows系统中查看内存的使用情况很简单,想必大家都已经耳熟能详了,那么在linux系统如何查看内存使用情况呢?下面和大家分享在Linux 下查看内存使用情况的free命令: [root@scs ...

  2. 嵌入式 H264视频通过RTMP直播

    前面的文章中提到了通过RTSP(Real Time Streaming Protocol)的方式来实现视频的直播,但RTSP方式的一个弊端是如果需要支持客户端通过网页来访问,就需要在在页面中嵌入一个A ...

  3. 如何使用Fiddler调试线上JS代码

    大家平时肯定都用过火狐的Firebug或者谷歌的调试工具来调试JS,但遗憾的是我们不能像编辑html,css那样来直接新增或者删除JS代码. 虽然可以通过调试工具的控制台来动态执行JS代码,但有时候却 ...

  4. 进入appstore中指定的应用

    1.进入appstore中指定的应用 NSString *str = [NSString stringWithFormat:                           @"itms ...

  5. 运算符重载 C++ 编程思想

    class Integer{ int i; public: Integer(int ii) : i(ii) {} const Integer operator+(const Integer& ...

  6. visual assistent 过期

    VA功能超级好使,下载的一般都有时间限制,但又不想买正版. 我的是32位系统 vs2008: 将VA_X.dll文件拷到 (x86)C:\Program Files\Visual Assist X\ ...

  7. linux c编程 -- 线程互斥

    #include <stdio.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h& ...

  8. 【开源项目之路】jquery的build问题

    在刚开始clone了jquery到本地build的时候,就遇到了问题. “ENORESTARGET No tag found that was able to satisfy ...” 提示为bowe ...

  9. Java基础 —— 概述

    Java语言: JDK(Java Development Kit)开发工具包,提供Java的开发环境和运行环境 --> 适合于开发 JRE(Java Runtime Environment)Ja ...

  10. socket 粘包问题(转)

    https://www.v2ex.com/t/234785#reply3 1. 面向字节流的 IO 都有这个问题. socket 中 tcp 协议是面向流的协议,发送方发送和接收方的接收并不是一一对应 ...