/************************************************************************************
* SW4STM32 全局宏定义
* 说明:
* 在解读B-L475E-IOT01程序的时候找不到USE_WIFI的宏定义,于是想应该是在哪里进行了宏
* 定义,最终通过grep匹配出gcc编译的时候带了宏定义的参数-DUSER_WIFI。
*
* 2017-12-28 深圳 宝安西乡 曾剑锋
***********************************************************************************/ 一、编译输出信息:
Projects/B-L475E-IOT01/Applications/Cloud/Baidu/SW4STM32/B-L475E-IOT01/Debug/Middlewares/mbedTLS/subdir.mk: arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DSTM32L475xx -DBAIDU -DUSE_HAL_DRIVER '-DEINVAL=-1' '-DENOMEM=EINVAL' '-DREFCOUNT_ATOMIC_DONTCARE=1' '-DMBEDTLS_CONFIG_FILE=<az_mbedtls_config.h>' -DENABLE_IOT_ERROR -DENABLE_IOT_INFO -DENABLE_IOT_WARNING -DSENSOR -DUSE_MBED_TLS -DUSE_WIFI -DAZURE -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/CMSIS/Device/ST/STM32L4xx/Include" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/STM32L4xx_HAL_Driver/Inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/B-L475E-IOT01" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/Common" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/hts221" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/lis3mdl" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/lps22hb" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/lsm6dsl" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Projects/B-L475E-IOT01/Applications/WiFi/Inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/es_wifi" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/baidu/umqtt/inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/baidu/c-utility/inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/baidu/serializer/inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/baidu/parson" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/mbedTLS/include" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Projects/B-L475E-IOT01/Applications/Cloud/Baidu/Inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Projects/Common/AWS/Inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/BSP/Components/vl53l0x" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Projects/Common/Baidu/Inc" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Drivers/CMSIS/Include" -I"D:/zengjf/SourceCode/STM32/iot-edge-sdk-samples/STM32/B-L475E-IOT01/Middlewares/Third_Party/baidu/iothub_client/inc" -Os -g3 -Wall -fmessage-length= -Wno-unused-variable -Wno-unused-function -Wno-maybe-uninitialized -Wno-incompatible-pointer-types -Wno-enum-compare -ffunction-sections -c -fmessage-length= -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<" 二、查看宏定义:
Project --> C/C++ General --> Paths and Symbols --> Symbols

SW4STM32 全局宏定义的更多相关文章

  1. unity3d DefineManager 全局宏定义

    /** * Editor Wizard for easily managing global defines in Unity * Place in Assets/Editor folder, or ...

  2. android C/C++ source files 全局宏定义 .

    \system\core\include\arch\linux-arm AndroidConfig.h * ============================================== ...

  3. 项目中常用的全局宏定义#define

    一 关于屏幕大小 #pragma mark - 屏幕宽高 #define SCREEN_BOUNDS ([UIScreen mainScreen].bounds) #define SCREEN_WID ...

  4. Qt全局宏和变量

    1.  Qt 全局宏定义 Qt版本号: QT_VERSION :  (major << 16) + (minor << 8) + patch 检测版本号: QT_VERSION ...

  5. Object_C 定义全局宏的颜色时,报“Expected identifier”的错误

    在定义全局颜色宏的时候,为了整齐把空格删了,写在了同一行里,调用的时候,出错提示“Expected identifier”,如下: 如果宏定义如上那样的话,在调用的时候,会出现如下的问题: 百思不得解 ...

  6. 如何为Swift进行宏定义

    这阵子一直在自学Swift, 因为之前iOS的开发一直用Objective-C, 所以习惯了C语言那种宏定义方式, Swift作为一款更加安全的语言, 放弃了C语言中的宏定义, 有效的防止预编译时代码 ...

  7. App开发流程之通用宏定义及头文件

    工欲善其事,必先利其器. 在正式实现各种炫酷的功能和UI前,做好准备工作是提高后续开发效率的必经之路. 所以,这个系列,我不是在各种堆技术,更关注的是“兵马动”之前的“粮草行”,有些繁琐,但当清晰理出 ...

  8. Obective-C之宏定义

    优(dan)美(teng)的前奏 宏定义这个东东,估计大家在代码中应该天天用吧. 在我刚刚做的一个项目中,各种往代码里码“#define”这种预处理指令. 什么动画时长啊,cell高度啊,cell的个 ...

  9. Swift开发之 ---- Swift宏定义

    swift中没有了#Define这种宏定义了,可以用let来声明常量来取代,判断当前系统版本 let IS_IOS7 = (UIDevice.currentDevice().systemVersion ...

随机推荐

  1. 性能测试 tps持续走低,响应时间持续增加,瓶颈分析

    吞吐量图如上 响应时间图如上 自身压测的机器,资源使用率并没有饱和 服务器,top命令下看到load average的值很低,本身是4核的server. 每个核的CPU使用率也极低,空闲cpu占95+ ...

  2. 简单介绍tomcat中maxThreads,acceptCount,connectionTimeout

    <?xml version='1.0' encoding='utf-8'?> <Server port="8005" shutdown="SHUTDOW ...

  3. [tixml]保存,读取

    保存: //xml的实体 TiXmlElement* rootElement = new TiXmlElement("spark"); rootElement->SetAtt ...

  4. loj#101. 最大流 dinic+当前弧

    板子题 当前弧优化版本 目前效率最高 //#pragma comment(linker, "/stack:200000000") //#pragma GCC optimize(&q ...

  5. POJ-3414 Pots (BFS)

    Description You are given two pots, having the volume of A and B liters respectively. The following ...

  6. 普通Region中动态设置poplist的值跟着当前区域的某些值动态变化

    //控件设置 ID Catergory1 Item Style messageChoice Picklist View Definition Cux.oracle.apps.po.poplist.se ...

  7. pageContext对象

    pageContext对象是JSP中很重要的一个内置对象; 1.pageContext对象存取其他隐含对象属性的方法,此时需要指定范围的参数. getAttribute(String name):取得 ...

  8. PKU Judge Online 安装指南

    一 安装 JDK 1.5 1 下载 到 Sun 官方网站( http://java.sun.com/j2se/1.5.0 /download.jsp )下载 j2sdk ,注意下载为 JDK 5.0 ...

  9. iOS UI-文本视图(UITextView)

    #import "ViewController.h" @interface ViewController ()<UITextViewDelegate> @propert ...

  10. javaScript面向对象是什么?(一)

    js就是个面向对象语言,一切皆对象 一.什么是面向对象? 简单点,就这么说吧.生活中有一些个物品,譬如(哈哈,还想起个譬如)说一个iPhone,我们也不知道里面的工作原理吧?但是咱们会按按钮呀,用一俩 ...