18:10:35 **** Build of configuration Debug for project a111_lora_stm32 **** make -j4 all arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -c -I../ -x assembler-with-cpp --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "startup/startup_stm32l476rgtx.o" "../startup/startup_stm32l476rgtx.s" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_adc_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_cortex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_dma_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_exti.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_flash_ramfunc.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_gpio.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_i2c_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_pwr_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rcc_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_rtc_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_spi_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_tim_ex.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart.o" arm-none-eabi-gcc "../Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.d" -MT"Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_uart_ex.o" arm-none-eabi-gcc "../Core/Src/GPRS.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/GPRS.d" -MT"Core/Src/GPRS.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/GPRS.o" arm-none-eabi-gcc "../Core/Src/acc_hal_integration_single_thread_stm32cube_sparkfun_a111.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/acc_hal_integration_single_thread_stm32cube_sparkfun_a111.d" -MT"Core/Src/acc_hal_integration_single_thread_stm32cube_sparkfun_a111.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/acc_hal_integration_single_thread_stm32cube_sparkfun_a111.o" ../Core/Src/GPRS.c: In function 'parse_config': ../Core/Src/GPRS.c:129:2: warning: implicit declaration of function 'save_param'; did you mean 'read_param'? [-Wimplicit-function-declaration] save_param(); ^~~~~~~~~~ read_param ../Core/Src/GPRS.c:123:86: warning: unused variable 'length_m_100_temp' [-Wunused-variable] uint16_t upload_period_temp, debug_flag_temp, sample_period_temp, start_m_100_temp, length_m_100_temp; ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:123:68: warning: unused variable 'start_m_100_temp' [-Wunused-variable] uint16_t upload_period_temp, debug_flag_temp, sample_period_temp, start_m_100_temp, length_m_100_temp; ^~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:123:48: warning: unused variable 'sample_period_temp' [-Wunused-variable] uint16_t upload_period_temp, debug_flag_temp, sample_period_temp, start_m_100_temp, length_m_100_temp; ^~~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:123:31: warning: unused variable 'debug_flag_temp' [-Wunused-variable] uint16_t upload_period_temp, debug_flag_temp, sample_period_temp, start_m_100_temp, length_m_100_temp; ^~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:123:11: warning: unused variable 'upload_period_temp' [-Wunused-variable] uint16_t upload_period_temp, debug_flag_temp, sample_period_temp, start_m_100_temp, length_m_100_temp; ^~~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c: In function 'Proces_GPRS': ../Core/Src/GPRS.c:138:21: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(NULL != strstr(gprs_rx_buf, "RX:")) ^~~~~~~~~~~ In file included from ../Core/Src/GPRS.c:3:0: c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\bin\../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/include/string.h:48:8: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' char *strstr (const char *, const char *); ^~~~~~ ../Core/Src/GPRS.c:156:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(lorawan_buf, hex_str, p-hex_str); ^~~~~~~~~~~ In file included from ../Core/Src/GPRS.c:3:0: c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\bin\../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/include/string.h:44:8: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' char *strncpy (char *__restrict, const char *__restrict, size_t); ^~~~~~~ ../Core/Src/GPRS.c:157:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] StrToHex(lorawan_buf, lorawan_buf, strlen(lorawan_buf)); ^~~~~~~~~~~ In file included from ../Core/Src/GPRS.c:3:0: c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\bin\../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/include/string.h:41:9: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' size_t strlen (const char *); ^~~~~~ ../Core/Src/GPRS.c:158:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] parse_config(strlen(lorawan_buf)/2); ^~~~~~~~~~~ In file included from ../Core/Src/GPRS.c:3:0: c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\bin\../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/include/string.h:41:9: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' size_t strlen (const char *); ^~~~~~ ../Core/Src/GPRS.c:214:41: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "DeviceId:", strlen("DeviceId:"), 100); ^~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:220:41: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, g_device_ID_str, 5, 100); ^~~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:221:41: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "\r\n", 2, 100); ^~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:222:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, gprs_rx_buf, strlen(gprs_rx_buf), 100); ^~~~~~~~~~~ In file included from ../Core/Src/GPRS.c:3:0: c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\bin\../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/include/string.h:41:9: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}' size_t strlen (const char *); ^~~~~~ ../Core/Src/GPRS.c:312:31: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart3, g_gprs_center.center_s+1, 16, 100); ^~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:321:32: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "Configurated\r\n", strlen("Configurated\r\n"), 100); ^~~~~~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c: In function 'at_send_datas': ../Core/Src/GPRS.c:597:39: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "AT+CMSGHEX=\"",strlen("AT+CMSGHEX=\""), 100);//NO ack ^~~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:601:39: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "AT+MSGHEX=\"",strlen("AT+MSGHEX=\""), 100);//NO ack ^~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:616:34: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "\"\r\n", 3, 100); ^~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c: In function 'at_send_cleanconfig': ../Core/Src/GPRS.c:625:39: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "AT+CMSGHEX=\"00\"\r\n",strlen("AT+CMSGHEX=\"00\"\r\n"), 100);//NO ack ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:629:39: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "AT+MSGHEX=\"00\"\r\n",strlen("AT+MSGHEX=\"00\"\r\n"), 100);//NO ack ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/GPRS.c:632:34: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&g_LORA_uart, "\"\r\n", 3, 100); ^~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Inc/gprs.h:4, arm-none-eabi-gcc "../Core/Src/acc_legacy_hal_stubs.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/acc_legacy_hal_stubs.d" -MT"Core/Src/acc_legacy_hal_stubs.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/acc_legacy_hal_stubs.o" from ../Core/Src/GPRS.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ arm-none-eabi-gcc "../Core/Src/adc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/adc.d" -MT"Core/Src/adc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/adc.o" arm-none-eabi-gcc "../Core/Src/example_power_bin_once.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/example_power_bin_once.d" -MT"Core/Src/example_power_bin_once.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/example_power_bin_once.o" arm-none-eabi-gcc "../Core/Src/gpio.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/gpio.d" -MT"Core/Src/gpio.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/gpio.o" ../Core/Src/example_power_bin_once.c: In function 'acc_example_power_bin_once': ../Core/Src/example_power_bin_once.c:81:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../Core/Src/example_power_bin_once.c:53:27: note: declared here acc_service_status_enum_t acc_example_power_bin_once(uint8_t get_noise_flag) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../Core/Src/example_power_bin_once.c:62:10: warning: unused variable 'j' [-Wunused-variable] int max,j,times; ^ arm-none-eabi-gcc "../Core/Src/iwdg.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/iwdg.d" -MT"Core/Src/iwdg.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/iwdg.o" arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o" ../Core/Src/iwdg.c:36:17: warning: 'GetLSIFrequency' declared 'static' but never defined [-Wunused-function] static uint32_t GetLSIFrequency(void); ^~~~~~~~~~~~~~~ ../Core/Src/main.c: In function 'main': ../Core/Src/main.c:122:2: warning: implicit declaration of function 'dev_enter_standby'; did you mean 'enter_standby'? [-Wimplicit-function-declaration] dev_enter_standby(); ^~~~~~~~~~~~~~~~~ enter_standby ../Core/Src/main.c:138:3: warning: implicit declaration of function 'test'; did you mean 'tzset'? [-Wimplicit-function-declaration] test(); ^~~~ tzset ../Core/Src/main.c:140:42: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] HAL_UART_Transmit(&huart2, "Start\r\n", strlen("Start\r\n"), 100); ^~~~~~ ../Core/Src/main.c:140:42: warning: incompatible implicit declaration of built-in function 'strlen' ../Core/Src/main.c:140:42: note: include '' or provide a declaration of 'strlen' ../Core/Src/main.c:140:29: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "Start\r\n", strlen("Start\r\n"), 100); ^~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Src/main.c:22: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/main.c:146:2: warning: implicit declaration of function 'start_adc'; did you mean 'strtold'? [-Wimplicit-function-declaration] start_adc(); ^~~~~~~~~ strtold ../Core/Src/main.c:148:6: warning: implicit declaration of function 'get_adc' [-Wimplicit-function-declaration] if(get_adc()>350) ^~~~~~~ ../Core/Src/main.c:154:4: warning: implicit declaration of function 'led_blink' [-Wimplicit-function-declaration] led_blink(20, 50); ^~~~~~~~~ ../Core/Src/main.c:179:31: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "Timeout\r\n", strlen("Timeout\r\n"), 100); ^~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Src/main.c:22: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/main.c:187:31: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "Closed\r\n", strlen("Closed\r\n"), 100); ^~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Core/Inc/main.h:31, from ../Core/Src/main.c:22: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/main.c:78:29: warning: variable 'ret' set but not used [-Wunused-but-set-variable] acc_service_status_enum_t ret; ^~~ ../Core/Src/main.c: At top level: ../Core/Src/main.c:263:6: warning: conflicting types for 'led_blink' void led_blink(int times, uint32_t delay) ^~~~~~~~~ ../Core/Src/main.c:154:4: note: previous implicit declaration of 'led_blink' was here led_blink(20, 50); ^~~~~~~~~ arm-none-eabi-gcc "../Core/Src/modbus.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/modbus.d" -MT"Core/Src/modbus.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/modbus.o" arm-none-eabi-gcc "../Core/Src/rtc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/rtc.d" -MT"Core/Src/rtc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/rtc.o" arm-none-eabi-gcc "../Core/Src/spi.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/spi.d" -MT"Core/Src/spi.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/spi.o" ../Core/Src/modbus.c: In function 'save_eerom': ../Core/Src/modbus.c:19:23: warning: variable 'ret' set but not used [-Wunused-but-set-variable] HAL_StatusTypeDef ret; ^~~ ../Core/Src/modbus.c: In function 'save_param': ../Core/Src/modbus.c:126:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_IP_EEROM_ADDR,(uint32_t*)&g_gprs_ip,GPRS_IP_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:127:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_NAME_EEROM_ADDR,(uint32_t*)&g_gprs_center,GPRS_NAME_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:128:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)DEVICE_ID_EEROM_ADDR,(uint32_t*)&g_device_ID,DEVICE_ID_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:129:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_RECONNET_EEROM_ADDR,(uint32_t*)&g_reconnect,GPRS_RECONNET_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:130:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_IP_NAME_EEROM_ADDR,(uint32_t*)&g_gprs_ip_name,GPRS_IP_NAME_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:131:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_UPLOAD_PERIOD_EEROM_ADDR,(uint32_t*)&upload_period,GPRS_UPLOAD_PERIOD_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:132:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_SAMPLE_PERIOD_EEROM_ADDR,(uint32_t*)&sample_period,GPRS_SAMPLE_PERIOD_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:133:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_DEBUG_FLAG_EEROM_ADDR,(uint32_t*)&debug_flag,GPRS_DEBUG_FLAG_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:134:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_START_EEROM_ADDR,(uint32_t*)&start_m_100,GPRS_START_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:135:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_LENGTH_EEROM_ADDR,(uint32_t*)&length_m_100,GPRS_LENGTH_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:136:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_KEY_EEROM_ADDR,(uint32_t*)&g_gprs_key,GPRS_KEY_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:137:16: warning: passing argument 1 of 'save_eerom' makes integer from pointer without a cast [-Wint-conversion] save_eerom((uint32_t*)GPRS_APN_EEROM_ADDR,(uint32_t*)&g_gprs_apn,GPRS_APN_EEROM_LEN); ^ ../Core/Src/modbus.c:16:6: note: expected 'uint32_t {aka long unsigned int}' but argument is of type 'uint32_t * {aka long unsigned int *}' void save_eerom(uint32_t eerom_add,uint32_t *sir_add,uint8_t len) ^~~~~~~~~~ ../Core/Src/modbus.c:108:20: warning: variable 'ret' set but not used [-Wunused-but-set-variable] HAL_StatusTypeDef ret; ^~~ ../Core/Src/modbus.c: In function 'read_param': ../Core/Src/modbus.c:216:33: warning: pointer targets in passing argument 2 of 'HAL_UART_Transmit' differ in signedness [-Wpointer-sign] HAL_UART_Transmit(&huart2, "First up\r\n", strlen("First up\r\n"), 100); ^~~~~~~~~~~~~~ In file included from ../Core/Inc/stm32l4xx_hal_conf.h:386:0, from ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal.h:30, from ../Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l4xx.h:229, from ../Core/Inc/modbus.h:3, from ../Core/Src/modbus.c:1: ../Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h:1592:19: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); ^~~~~~~~~~~~~~~~~ ../Core/Src/modbus.c: In function 'modbus_execute': ../Core/Src/modbus.c:332:36: warning: comparison between pointer and integer if(MODBUS_REG[reg_address] == &g_device_ID) ^~ ../Core/Src/modbus.c:410:34: warning: comparison between pointer and integer if(MODBUS_REG[reg_address] == &g_gprs_key.KEY_b.KEY0) ^~ arm-none-eabi-gcc "../Core/Src/stm32l4xx_hal_msp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l4xx_hal_msp.d" -MT"Core/Src/stm32l4xx_hal_msp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32l4xx_hal_msp.o" arm-none-eabi-gcc "../Core/Src/stm32l4xx_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/stm32l4xx_it.d" -MT"Core/Src/stm32l4xx_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/stm32l4xx_it.o" arm-none-eabi-gcc "../Core/Src/sys.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/sys.d" -MT"Core/Src/sys.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/sys.o" arm-none-eabi-gcc "../Core/Src/system_stm32l4xx.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/system_stm32l4xx.d" -MT"Core/Src/system_stm32l4xx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/system_stm32l4xx.o" arm-none-eabi-gcc "../Core/Src/test.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/test.d" -MT"Core/Src/test.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/test.o" arm-none-eabi-gcc "../Core/Src/tim.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/tim.d" -MT"Core/Src/tim.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/tim.o" ../Core/Src/test.c: In function 'test': ../Core/Src/test.c:19:4: warning: implicit declaration of function 'led_blink' [-Wimplicit-function-declaration] led_blink(2, 200); ^~~~~~~~~ ../Core/Src/test.c:26:2: warning: implicit declaration of function 'start_adc'; did you mean 'strtold'? [-Wimplicit-function-declaration] start_adc(); ^~~~~~~~~ strtold ../Core/Src/test.c:28:6: warning: implicit declaration of function 'get_adc' [-Wimplicit-function-declaration] if(get_adc()>350) ^~~~~~~ ../Core/Src/test.c:42:2: warning: implicit declaration of function 'reset_gprs_rx_pointer' [-Wimplicit-function-declaration] reset_gprs_rx_pointer(); ^~~~~~~~~~~~~~~~~~~~~ arm-none-eabi-gcc "../Core/Src/usart.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DSWV -DSTM32L476xx -DDEBUG -c -IDrivers/STM32L4xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32L4xx/Include -I../startup -I"../A111/rss/include" -I../Drivers/CMSIS/Include -I../Core/Inc -IDrivers/STM32L4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L4xx/Include -I../Drivers/STM32L4xx_HAL_Driver/Inc -ICore/Inc -I../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/usart.d" -MT"Core/Src/usart.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/usart.o" ../Core/Src/test.c:65:4: warning: implicit declaration of function 'dev_enter_standby' [-Wimplicit-function-declaration] dev_enter_standby(); ^~~~~~~~~~~~~~~~~ ../Core/Src/usart.c: In function 'read_uart': ../Core/Src/usart.c:202:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(buf, p, len_ret); ^~~~~~ ../Core/Src/usart.c:202:3: warning: incompatible implicit declaration of built-in function 'memcpy' ../Core/Src/usart.c:202:3: note: include '' or provide a declaration of 'memcpy' ../Core/Src/usart.c:212:4: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset((void *)USER_RxBuffer, 0, 255); ^~~~~~ ../Core/Src/usart.c:212:4: warning: incompatible implicit declaration of built-in function 'memset' ../Core/Src/usart.c:212:4: note: include '' or provide a declaration of 'memset' ../Core/Src/usart.c:219:4: warning: incompatible implicit declaration of built-in function 'memset' memset((void *)GPRS_RxBuffer, 0, 255); ^~~~~~ ../Core/Src/usart.c:219:4: note: include '' or provide a declaration of 'memset' ../Core/Src/usart.c:197:19: warning: unused variable 'i' [-Wunused-variable] uint8_t len_ret, i=0, *p; ^ arm-none-eabi-gcc -o "a111_lora_stm32.elf" @"objects.list" -lacconeer_a111_r2c -lacconeer -lacc_service -lacc_detector_distance_peak -mcpu=cortex-m4 -T"C:\Other Files\Firmware\smart_node_1G5\a111_lora_stm32\STM32L476RGTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="a111_lora_stm32.map" -Wl,--gc-sections -static -L"../A111\rss\lib" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group c:\development toolbox\embedded sw environment\stmicroelectronics\stm32cubeide_1.0.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: c:/development toolbox/embedded sw environment/stmicroelectronics/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/liblto_plugin-0.dll: error loading plugin: collect2.exe: error: ld returned 1 exit status make[1]: *** [makefile:45: a111_lora_stm32.elf] Error 1 make: *** [makefile:38: all] Error 2 "make -j4 all" terminated with exit code 2. Build might be incomplete. 18:10:57 Build Failed. 2 errors, 65 warnings. (took 21s.848ms)