• 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
  • 相关阅读:
    夺命雷公狗TP3.2.3商城7-----管理员的修改
    夺命雷公狗TP3.2.3商城6-----管理员的删除
    夺命雷公狗TP3.2.3商城5-----管理员的列表页和分页
    夺命雷公狗TP3.2.3商城4-----管理员的创建
    夺命雷公狗TP3.2.3商城3-----数据库的创建以及连接
    夺命雷公狗TP3.2.3商城2-----后台模版引入和后台控制器的创建
    夺命雷公狗TP3.2.3商城的搭建开篇1
    夺命雷公狗----网页版百度地图使用最新方法
    夺命雷公狗---linux NO:44 linux下php扩展的编译
    夺命雷公狗---linux NO:43 linux下编译apache整合php
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/8142637.html
Copyright © 2020-2023  润新知