I think you’re looking at different projects. Robert is looking at my “stm32tests/stm32test1” which is my copy of the original tutorial, and you are looking at the “emonTxshield” presumably v4.
I have just recompiled my “stm32tests/stm32test1” which Robert is getting the strlen warning and this is the full print
pi@raspberrypi:~/emonTxshield $ make
mkdir build
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/adc.d" -MT"build/adc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/adc.lst Src/adc.c -o build/adc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/power.d" -MT"build/power.d" -std=gnu99 -Wa,-a,-ad,-alms=build/power.lst Src/power.c -o build/power.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_msp.d" -MT"build/stm32f3xx_hal_msp.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_msp.lst Src/stm32f3xx_hal_msp.c -o build/stm32f3xx_hal_msp.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_uart.d" -MT"build/stm32f3xx_hal_uart.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_uart.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.c -o build/stm32f3xx_hal_uart.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_adc_ex.d" -MT"build/stm32f3xx_hal_adc_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_adc_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_adc_ex.c -o build/stm32f3xx_hal_adc_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_adc.d" -MT"build/stm32f3xx_hal_adc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_adc.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_adc.c -o build/stm32f3xx_hal_adc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_tim.d" -MT"build/stm32f3xx_hal_tim.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_tim.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.c -o build/stm32f3xx_hal_tim.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_gpio.d" -MT"build/stm32f3xx_hal_gpio.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_gpio.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c -o build/stm32f3xx_hal_gpio.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/usart.d" -MT"build/usart.d" -std=gnu99 -Wa,-a,-ad,-alms=build/usart.lst Src/usart.c -o build/usart.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_rcc_ex.d" -MT"build/stm32f3xx_hal_rcc_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_rcc_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.c -o build/stm32f3xx_hal_rcc_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/gpio.d" -MT"build/gpio.d" -std=gnu99 -Wa,-a,-ad,-alms=build/gpio.lst Src/gpio.c -o build/gpio.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_i2c.d" -MT"build/stm32f3xx_hal_i2c.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_i2c.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.c -o build/stm32f3xx_hal_i2c.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_pwr.d" -MT"build/stm32f3xx_hal_pwr.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_pwr.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.c -o build/stm32f3xx_hal_pwr.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_flash_ex.d" -MT"build/stm32f3xx_hal_flash_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_flash_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.c -o build/stm32f3xx_hal_flash_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_cortex.d" -MT"build/stm32f3xx_hal_cortex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_cortex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c -o build/stm32f3xx_hal_cortex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/main.d" -MT"build/main.d" -std=gnu99 -Wa,-a,-ad,-alms=build/main.lst Src/main.c -o build/main.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_it.d" -MT"build/stm32f3xx_it.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_it.lst Src/stm32f3xx_it.c -o build/stm32f3xx_it.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_dma.d" -MT"build/stm32f3xx_hal_dma.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_dma.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c -o build/stm32f3xx_hal_dma.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/system_stm32f3xx.d" -MT"build/system_stm32f3xx.d" -std=gnu99 -Wa,-a,-ad,-alms=build/system_stm32f3xx.lst Src/system_stm32f3xx.c -o build/system_stm32f3xx.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/dma.d" -MT"build/dma.d" -std=gnu99 -Wa,-a,-ad,-alms=build/dma.lst Src/dma.c -o build/dma.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_tim_ex.d" -MT"build/stm32f3xx_hal_tim_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_tim_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.c -o build/stm32f3xx_hal_tim_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/tim.d" -MT"build/tim.d" -std=gnu99 -Wa,-a,-ad,-alms=build/tim.lst Src/tim.c -o build/tim.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_uart_ex.d" -MT"build/stm32f3xx_hal_uart_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_uart_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.c -o build/stm32f3xx_hal_uart_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_rcc.d" -MT"build/stm32f3xx_hal_rcc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_rcc.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c -o build/stm32f3xx_hal_rcc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_flash.d" -MT"build/stm32f3xx_hal_flash.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_flash.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.c -o build/stm32f3xx_hal_flash.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_pwr_ex.d" -MT"build/stm32f3xx_hal_pwr_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_pwr_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.c -o build/stm32f3xx_hal_pwr_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal.d" -MT"build/stm32f3xx_hal.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.c -o build/stm32f3xx_hal.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_i2c_ex.d" -MT"build/stm32f3xx_hal_i2c_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_i2c_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.c -o build/stm32f3xx_hal_i2c_ex.o
make: *** No rule to make target 'build/startup_stm32f303xe.o', needed by 'build/emonTxshield.elf'. Stop.
pi@raspberrypi:~/emonTxshield $ cd ../stm32tests/stm32test1
pi@raspberrypi:~/stm32tests/stm32test1 $ make
make: Nothing to be done for 'all'.
pi@raspberrypi:~/stm32tests/stm32test1 $ make clean
rm -fR .dep build
pi@raspberrypi:~/stm32tests/stm32test1 $ make
mkdir build
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_uart.d" -MT"build/stm32f3xx_hal_uart.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_uart.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart.c -o build/stm32f3xx_hal_uart.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/main.d" -MT"build/main.d" -std=gnu99 -Wa,-a,-ad,-alms=build/main.lst Src/main.c -o build/main.o
Src/main.c: In function 'main':
Src/main.c:110:3: warning: implicit declaration of function 'debug_printf' [-Wimplicit-function-declaration]
debug_printf(log_buffer);
^
Src/main.c:111:3: warning: implicit declaration of function 'calibrate_ADC2' [-Wimplicit-function-declaration]
calibrate_ADC2();
^
Src/main.c:112:3: warning: implicit declaration of function 'start_ADC2' [-Wimplicit-function-declaration]
start_ADC2();
^
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal.d" -MT"build/stm32f3xx_hal.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal.c -o build/stm32f3xx_hal.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_pwr_ex.d" -MT"build/stm32f3xx_hal_pwr_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_pwr_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr_ex.c -o build/stm32f3xx_hal_pwr_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_i2c_ex.d" -MT"build/stm32f3xx_hal_i2c_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_i2c_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c_ex.c -o build/stm32f3xx_hal_i2c_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_cortex.d" -MT"build/stm32f3xx_hal_cortex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_cortex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_cortex.c -o build/stm32f3xx_hal_cortex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_msp.d" -MT"build/stm32f3xx_hal_msp.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_msp.lst Src/stm32f3xx_hal_msp.c -o build/stm32f3xx_hal_msp.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_pwr.d" -MT"build/stm32f3xx_hal_pwr.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_pwr.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_pwr.c -o build/stm32f3xx_hal_pwr.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_flash.d" -MT"build/stm32f3xx_hal_flash.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_flash.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash.c -o build/stm32f3xx_hal_flash.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_tim.d" -MT"build/stm32f3xx_hal_tim.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_tim.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim.c -o build/stm32f3xx_hal_tim.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_it.d" -MT"build/stm32f3xx_it.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_it.lst Src/stm32f3xx_it.c -o build/stm32f3xx_it.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_flash_ex.d" -MT"build/stm32f3xx_hal_flash_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_flash_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_flash_ex.c -o build/stm32f3xx_hal_flash_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_uart_ex.d" -MT"build/stm32f3xx_hal_uart_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_uart_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_uart_ex.c -o build/stm32f3xx_hal_uart_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_dma.d" -MT"build/stm32f3xx_hal_dma.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_dma.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c -o build/stm32f3xx_hal_dma.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_rcc.d" -MT"build/stm32f3xx_hal_rcc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_rcc.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc.c -o build/stm32f3xx_hal_rcc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_rcc_ex.d" -MT"build/stm32f3xx_hal_rcc_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_rcc_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_rcc_ex.c -o build/stm32f3xx_hal_rcc_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_gpio.d" -MT"build/stm32f3xx_hal_gpio.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_gpio.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_gpio.c -o build/stm32f3xx_hal_gpio.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_i2c.d" -MT"build/stm32f3xx_hal_i2c.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_i2c.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_i2c.c -o build/stm32f3xx_hal_i2c.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/system_stm32f3xx.d" -MT"build/system_stm32f3xx.d" -std=gnu99 -Wa,-a,-ad,-alms=build/system_stm32f3xx.lst Src/system_stm32f3xx.c -o build/system_stm32f3xx.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_tim_ex.d" -MT"build/stm32f3xx_hal_tim_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_tim_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_tim_ex.c -o build/stm32f3xx_hal_tim_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/usart.d" -MT"build/usart.d" -std=gnu99 -Wa,-a,-ad,-alms=build/usart.lst Src/usart.c -o build/usart.o
Src/usart.c: In function 'debug_printf':
Src/usart.c:128:43: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
HAL_UART_Transmit(&huart2, (uint8_t*)p, strlen(p), 1000);
^
Src/usart.c:128:43: warning: incompatible implicit declaration of built-in function 'strlen'
Src/usart.c:128:43: note: include '<string.h>' or provide a declaration of 'strlen'
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/gpio.d" -MT"build/gpio.d" -std=gnu99 -Wa,-a,-ad,-alms=build/gpio.lst Src/gpio.c -o build/gpio.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_adc.d" -MT"build/stm32f3xx_hal_adc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_adc.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_adc.c -o build/stm32f3xx_hal_adc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/stm32f3xx_hal_adc_ex.d" -MT"build/stm32f3xx_hal_adc_ex.d" -std=gnu99 -Wa,-a,-ad,-alms=build/stm32f3xx_hal_adc_ex.lst Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_adc_ex.c -o build/stm32f3xx_hal_adc_ex.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/adc.d" -MT"build/adc.d" -std=gnu99 -Wa,-a,-ad,-alms=build/adc.lst Src/adc.c -o build/adc.o
/usr/bin/arm-none-eabi-gcc -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/dma.d" -MT"build/dma.d" -std=gnu99 -Wa,-a,-ad,-alms=build/dma.lst Src/dma.c -o build/dma.o
/usr/bin/arm-none-eabi-gcc -x assembler-with-cpp -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -DUSE_HAL_DRIVER -DSTM32F303xE -IInc -IDrivers/STM32F3xx_HAL_Driver/Inc -IDrivers/STM32F3xx_HAL_Driver/Inc/Legacy -IDrivers/CMSIS/Device/ST/STM32F3xx/Include -IDrivers/CMSIS/Include -Og -Wall -fdata-sections -ffunction-sections -g -gdwarf-2 -MMD -MP -MF"build/startup_stm32f303xe.d" -MT"build/startup_stm32f303xe.d" -std=gnu99 startup_stm32f303xe.s -o build/startup_stm32f303xe.o
/usr/bin/arm-none-eabi-gcc build/stm32f3xx_hal_uart.o build/main.o build/stm32f3xx_hal.o build/stm32f3xx_hal_pwr_ex.o build/stm32f3xx_hal_i2c_ex.o build/stm32f3xx_hal_cortex.o build/stm32f3xx_hal_msp.o build/stm32f3xx_hal_pwr.o build/stm32f3xx_hal_flash.o build/stm32f3xx_hal_tim.o build/stm32f3xx_it.o build/stm32f3xx_hal_flash_ex.o build/stm32f3xx_hal_uart_ex.o build/stm32f3xx_hal_dma.o build/stm32f3xx_hal_rcc.o build/stm32f3xx_hal_rcc_ex.o build/stm32f3xx_hal_gpio.o build/stm32f3xx_hal_i2c.o build/system_stm32f3xx.o build/stm32f3xx_hal_tim_ex.o build/usart.o build/gpio.o build/stm32f3xx_hal_adc.o build/stm32f3xx_hal_adc_ex.o build/adc.o build/dma.o build/startup_stm32f303xe.o -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nano.specs -TSTM32F303RETx_FLASH.ld -lc -lm -lnosys -Wl,-Map=build/stm32test1.map,--cref -Wl,--gc-sections -Xlinker --no-wchar-size-warning -o build/stm32test1.elf
/usr/bin/arm-none-eabi-size build/stm32test1.elf
text data bss dec hex filename
11256 12 4948 16216 3f58 build/stm32test1.elf
/usr/bin/arm-none-eabi-objcopy -O ihex build/stm32test1.elf build/stm32test1.hex
/usr/bin/arm-none-eabi-objcopy -O binary -S build/stm32test1.elf build/stm32test1.bin
pi@raspberrypi:~/stm32tests/stm32test1 $
here’s what Robert is compiling
stm32tests-master.zip (653.8 KB)
I do not get those errors with the emonTxshield_2 andemonTxshield_3 I haven’t tried _4 yet and _1 doesn’t compile.