00:05:55 **** Incremental Build of configuration Debug for project TEST ****
make -j4 all 
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F072xB -DUSE_FULL_LL_DRIVER -c -I../Core/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Core/Src/main.o"
../Core/Src/main.c: In function 'main':
../Core/Src/main.c:828:45: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  828 |   show_string( 0, 10, "DDS鍑芥暟鍙戠敓鍣?", strlen("DDS鍑芥暟鍙戠敓鍣? "),  RED,WHITE  ) ;
      |                                             ^~~~~~
../Core/Src/main.c:828:45: warning: incompatible implicit declaration of built-in function 'strlen'
../Core/Src/main.c:32:1: note: include '<string.h>' or provide a declaration of 'strlen'
   31 | #include "button.h"
  +++ |+#include <string.h>
   32 | /* USER CODE END Includes */
../Core/Src/main.c:848:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  848 |   sprintf(disbuff,"%5dHz",frequency1);
      |   ^~~~~~~
../Core/Src/main.c:848:3: warning: incompatible implicit declaration of built-in function 'sprintf'
../Core/Src/main.c:32:1: note: include '<stdio.h>' or provide a declaration of 'sprintf'
   31 | #include "button.h"
  +++ |+#include <stdio.h>
   32 | /* USER CODE END Includes */
../Core/Src/main.c:848:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  848 |   sprintf(disbuff,"%5dHz",frequency1);
      |           ^~~~~~~
      |           |
      |           uint8_t * {aka unsigned char *}
../Core/Src/main.c:848:11: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:848:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  848 |   sprintf(disbuff,"%5dHz",frequency1);
      |                    ~~^    ~~~~~~~~~~
      |                      |    |
      |                      int  uint32_t {aka long unsigned int}
      |                    %5ld
../Core/Src/main.c:849:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  849 |   show_string( 16*7,90, disbuff, strlen(disbuff),set_index==1? BLUE:RED,set_index==1? RED:WHITE ) ;
      |                                         ^~~~~~~
      |                                         |
      |                                         uint8_t * {aka unsigned char *}
../Core/Src/main.c:849:41: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:849:25: warning: pointer targets in passing argument 3 of 'show_string' differ in signedness [-Wpointer-sign]
  849 |   show_string( 16*7,90, disbuff, strlen(disbuff),set_index==1? BLUE:RED,set_index==1? RED:WHITE ) ;
      |                         ^~~~~~~
      |                         |
      |                         uint8_t * {aka unsigned char *}
In file included from ../Core/Src/main.c:30:
../Core/Inc/LCD.h:188:47: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  188 | void show_string(int32_t x, int32_t y,   char str[], uint32_t length, uint16_t fc,uint16_t bc );
      |                                          ~~~~~^~~~~
../Core/Src/main.c:851:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  851 |   sprintf(disbuff,"%4.1fV",amplitude);
      |           ^~~~~~~
      |           |
      |           uint8_t * {aka unsigned char *}
../Core/Src/main.c:851:11: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:852:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  852 |   show_string( 16*7,130, disbuff, strlen(disbuff),set_index==2? BLUE:RED,set_index==2? RED:WHITE ) ;
      |                                          ^~~~~~~
      |                                          |
      |                                          uint8_t * {aka unsigned char *}
../Core/Src/main.c:852:42: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:852:26: warning: pointer targets in passing argument 3 of 'show_string' differ in signedness [-Wpointer-sign]
  852 |   show_string( 16*7,130, disbuff, strlen(disbuff),set_index==2? BLUE:RED,set_index==2? RED:WHITE ) ;
      |                          ^~~~~~~
      |                          |
      |                          uint8_t * {aka unsigned char *}
In file included from ../Core/Src/main.c:30:
../Core/Inc/LCD.h:188:47: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  188 | void show_string(int32_t x, int32_t y,   char str[], uint32_t length, uint16_t fc,uint16_t bc );
      |                                          ~~~~~^~~~~
../Core/Src/main.c:854:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  854 |   sprintf(disbuff,"%4.1fV ",excursion);
      |           ^~~~~~~
      |           |
      |           uint8_t * {aka unsigned char *}
../Core/Src/main.c:854:11: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:855:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  855 |   show_string( 16*7,170, disbuff, strlen(disbuff), set_index==3? BLUE:RED,set_index==3? RED:WHITE ) ;
      |                                          ^~~~~~~
      |                                          |
      |                                          uint8_t * {aka unsigned char *}
../Core/Src/main.c:855:42: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:855:26: warning: pointer targets in passing argument 3 of 'show_string' differ in signedness [-Wpointer-sign]
  855 |   show_string( 16*7,170, disbuff, strlen(disbuff), set_index==3? BLUE:RED,set_index==3? RED:WHITE ) ;
      |                          ^~~~~~~
      |                          |
      |                          uint8_t * {aka unsigned char *}
In file included from ../Core/Src/main.c:30:
../Core/Inc/LCD.h:188:47: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  188 | void show_string(int32_t x, int32_t y,   char str[], uint32_t length, uint16_t fc,uint16_t bc );
      |                                          ~~~~~^~~~~
../Core/Src/main.c:860:45: warning: incompatible implicit declaration of built-in function 'strlen'
  860 |  show_string( 10, 10, "PWM鏂规尝鍙戠敓鍣?", strlen("PWM鏂规尝鍙戠敓鍣?"),  RED,WHITE  ) ;
      |                                             ^~~~~~
../Core/Src/main.c:860:45: note: include '<string.h>' or provide a declaration of 'strlen'
../Core/Src/main.c:863:3: warning: incompatible implicit declaration of built-in function 'sprintf'
  863 |   sprintf(disbuff,"%5dHz",frequency2);
      |   ^~~~~~~
../Core/Src/main.c:863:3: note: include '<stdio.h>' or provide a declaration of 'sprintf'
../Core/Src/main.c:863:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  863 |   sprintf(disbuff,"%5dHz",frequency2);
      |           ^~~~~~~
      |           |
      |           uint8_t * {aka unsigned char *}
../Core/Src/main.c:863:11: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:863:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  863 |   sprintf(disbuff,"%5dHz",frequency2);
      |                    ~~^    ~~~~~~~~~~
      |                      |    |
      |                      int  uint32_t {aka long unsigned int}
      |                    %5ld
../Core/Src/main.c:864:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  864 |   show_string( 16*7,50, disbuff, strlen(disbuff),set_index==0? BLUE:RED,set_index==0? RED:WHITE ) ;
      |                                         ^~~~~~~
      |                                         |
      |                                         uint8_t * {aka unsigned char *}
../Core/Src/main.c:864:41: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:864:25: warning: pointer targets in passing argument 3 of 'show_string' differ in signedness [-Wpointer-sign]
  864 |   show_string( 16*7,50, disbuff, strlen(disbuff),set_index==0? BLUE:RED,set_index==0? RED:WHITE ) ;
      |                         ^~~~~~~
      |                         |
      |                         uint8_t * {aka unsigned char *}
In file included from ../Core/Src/main.c:30:
../Core/Inc/LCD.h:188:47: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  188 | void show_string(int32_t x, int32_t y,   char str[], uint32_t length, uint16_t fc,uint16_t bc );
      |                                          ~~~~~^~~~~
../Core/Src/main.c:867:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  867 |   sprintf(disbuff,"%2d  ",duty);
      |           ^~~~~~~
      |           |
      |           uint8_t * {aka unsigned char *}
../Core/Src/main.c:867:11: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:868:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  868 |   show_string( 16*7,90, disbuff, strlen(disbuff), set_index==1? BLUE:RED,set_index==1? RED:WHITE ) ;
      |                                         ^~~~~~~
      |                                         |
      |                                         uint8_t * {aka unsigned char *}
../Core/Src/main.c:868:41: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
../Core/Src/main.c:868:25: warning: pointer targets in passing argument 3 of 'show_string' differ in signedness [-Wpointer-sign]
  868 |   show_string( 16*7,90, disbuff, strlen(disbuff), set_index==1? BLUE:RED,set_index==1? RED:WHITE ) ;
      |                         ^~~~~~~
      |                         |
      |                         uint8_t * {aka unsigned char *}
In file included from ../Core/Src/main.c:30:
../Core/Inc/LCD.h:188:47: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
  188 | void show_string(int32_t x, int32_t y,   char str[], uint32_t length, uint16_t fc,uint16_t bc );
      |                                          ~~~~~^~~~~
arm-none-eabi-gcc -o "TEST.elf" @"objects.list"   -mcpu=cortex-m0 -T"C:\Users\ymy\Desktop\F072_TEST\TEST\STM32F072CBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="TEST.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -u _printf_float -u _scanf_float -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: TEST.elf
 
arm-none-eabi-size   TEST.elf 
arm-none-eabi-objdump -h -S  TEST.elf  > "TEST.list"
arm-none-eabi-objcopy  -O ihex  TEST.elf  "TEST.hex"
arm-none-eabi-objcopy  -O binary  TEST.elf  "TEST.bin"
   text	   data	    bss	    dec	    hex	filename
  70396	    504	   2672	  73572	  11f64	TEST.elf
Finished building: default.size.stdout
 
Finished building: TEST.bin
Finished building: TEST.hex
 
 
Finished building: TEST.list
 

00:05:58 Build Finished. 0 errors, 23 warnings. (took 2s.771ms)

