SW4STM32 全局宏定义

/************************************************************************************
 *                            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=0 -Wno-unused-variable -Wno-unused-function -Wno-maybe-uninitialized -Wno-incompatible-pointer-types -Wno-enum-compare -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"

二、查看宏定义:
    Project --> C/C++ General --> Paths and Symbols --> Symbols

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值