You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23:02:50 **** Incremental Build of configuration Debug for project ECG1 ****
make -j8 all
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_bsp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_bsp.d" -MT"Src/usb_cdc_device/usb_bsp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_bsp.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_core.d" -MT"Src/usb_cdc_device/usb_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_dcd.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_dcd.d" -MT"Src/usb_cdc_device/usb_dcd.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_dcd.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_dcd_int.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_dcd_int.d" -MT"Src/usb_cdc_device/usb_dcd_int.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_dcd_int.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_cdc_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_cdc_core.d" -MT"Src/usb_cdc_device/usbd_cdc_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_cdc_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_cdc_vcp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_cdc_vcp.d" -MT"Src/usb_cdc_device/usbd_cdc_vcp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_cdc_vcp.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_core.d" -MT"Src/usb_cdc_device/usbd_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_desc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_desc.d" -MT"Src/usb_cdc_device/usbd_desc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_desc.o"
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_core.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_core.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_core.c: In function 'USB_OTG_WritePacket':
../Src/usb_cdc_device/usb_core.c:183:7: warning: 'packed' attribute ignored for type 'uint32_t *' {aka 'long unsigned int *'} [-Wattributes]
183 | USB_OTG_WRITE_REG32( fifo, *((__packed uint32_t *)src) );
| ^~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_core.c: In function 'USB_OTG_ReadPacket':
../Src/usb_cdc_device/usb_core.c:208:5: warning: 'packed' attribute ignored for type 'uint32_t *' {aka 'long unsigned int *'} [-Wattributes]
208 | *(__packed uint32_t *)dest = USB_OTG_READ_REG32(fifo);
| ^
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_bsp.h:33,
from ../Src/usb_cdc_device/usb_bsp.c:30:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_bsp.h:33,
from ../Src/usb_cdc_device/usb_bsp.c:30:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c: In function 'USB_OTG_BSP_Init':
../Src/usb_cdc_device/usb_bsp.c:53:3: error: unknown type name 'GPIO_InitTypeDef'; did you mean 'GPIO_TypeDef'?
53 | GPIO_InitTypeDef GPIO_InitStructure;
| ^~~~~~~~~~~~~~~~
| GPIO_TypeDef
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:55:2: warning: implicit declaration of function 'RCC_AHB1PeriphClockCmd' [-Wimplicit-function-declaration]
55 | RCC_AHB1PeriphClockCmd( RCC_AHB1Periph_GPIOA , ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:55:26: error: 'RCC_AHB1Periph_GPIOA' undeclared (first use in this function)
55 | RCC_AHB1PeriphClockCmd( RCC_AHB1Periph_GPIOA , ENABLE);
| ^~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:55:26: note: each undeclared identifier is reported only once for each function it appears in
../Src/usb_cdc_device/usb_bsp.c:56:20: error: request for member 'GPIO_Pin' in something not a structure or union
56 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11 | // OTG FS Data -
| ^
../Src/usb_cdc_device/usb_bsp.c:56:33: error: 'GPIO_Pin_11' undeclared (first use in this function)
56 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11 | // OTG FS Data -
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:57:10: error: 'GPIO_Pin_12' undeclared (first use in this function)
57 | GPIO_Pin_12; // OTG FS Data +
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:59:20: error: request for member 'GPIO_Speed' in something not a structure or union
59 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_core.c:67:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_core.c:67:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_core.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_core.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:59:34: error: 'GPIO_Speed_100MHz' undeclared (first use in this function)
59 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:60:20: error: request for member 'GPIO_Mode' in something not a structure or union
60 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
| ^
../Src/usb_cdc_device/usb_bsp.c:60:33: error: 'GPIO_Mode_AF' undeclared (first use in this function)
60 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:61:20: error: request for member 'GPIO_OType' in something not a structure or union
61 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
| ^
../Src/usb_cdc_device/usb_bsp.c:61:34: error: 'GPIO_OType_PP' undeclared (first use in this function); did you mean 'GPIO_TypeDef'?
61 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
| ^~~~~~~~~~~~~
| GPIO_TypeDef
../Src/usb_cdc_device/usb_bsp.c:62:20: error: request for member 'GPIO_PuPd' in something not a structure or union
62 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^
../Src/usb_cdc_device/usb_bsp.c:62:33: error: 'GPIO_PuPd_NOPULL' undeclared (first use in this function)
62 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:63:2: warning: implicit declaration of function 'GPIO_Init' [-Wimplicit-function-declaration]
63 | GPIO_Init(GPIOA, &GPIO_InitStructure);
| ^~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_vcp.h:34,
from ../Src/usb_cdc_device/usbd_cdc_vcp.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
../Src/usb_cdc_device/usb_bsp.c:65:2: warning: implicit declaration of function 'GPIO_PinAFConfig' [-Wimplicit-function-declaration]
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_vcp.h:34,
from ../Src/usb_cdc_device/usbd_cdc_vcp.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_desc.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_desc.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:65:26: error: 'GPIO_PinSource11' undeclared (first use in this function)
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ProductStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:47:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
47 | #define USBD_PRODUCT_FS_STRING "STM32 Virtual ComPort in FS Mode"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:47:41: note: in definition of macro 'USBD_PRODUCT_FS_STRING'
47 | #define USBD_PRODUCT_FS_STRING "STM32 Virtual ComPort in FS Mode"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ManufacturerStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:42:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
42 | #define USBD_MANUFACTURER_STRING "STMicroelectronics"
| ^~~~~~~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:165:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING'
165 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_SerialStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:48:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
48 | #define USBD_SERIALNUMBER_FS_STRING "00000000050C"
| ^~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:178:19: note: in expansion of macro 'USBD_SERIALNUMBER_FS_STRING'
178 | USBD_GetString (USBD_SERIALNUMBER_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ConfigStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:53:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
53 | #define USBD_CONFIGURATION_FS_STRING "VCP Config"
| ^~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:191:19: note: in expansion of macro 'USBD_CONFIGURATION_FS_STRING'
191 | USBD_GetString (USBD_CONFIGURATION_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_InterfaceStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:54:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
54 | #define USBD_INTERFACE_FS_STRING "VCP Interface"
| ^~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:205:19: note: in expansion of macro 'USBD_INTERFACE_FS_STRING'
205 | USBD_GetString (USBD_INTERFACE_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_cdc_vcp.c: In function 'VCP_DataRx':
../Src/usb_cdc_device/usbd_cdc_vcp.c:236:3: warning: implicit declaration of function 'INT_USB_VCP_AddReceived' [-Wimplicit-function-declaration]
236 | INT_USB_VCP_AddReceived((Buf + i));
| ^~~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:65:44: error: 'GPIO_AF_OTG1_FS' undeclared (first use in this function)
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:66:26: error: 'GPIO_PinSource12' undeclared (first use in this function)
66 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource12, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:69:20: error: request for member 'GPIO_Pin' in something not a structure or union
69 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
| ^
../Src/usb_cdc_device/usb_bsp.c:69:32: error: 'GPIO_Pin_9' undeclared (first use in this function)
69 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
| ^~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:70:20: error: request for member 'GPIO_Speed' in something not a structure or union
70 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
../Src/usb_cdc_device/usb_bsp.c:71:20: error: request for member 'GPIO_Mode' in something not a structure or union
71 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
| ^
../Src/usb_cdc_device/usb_bsp.c:71:33: error: 'GPIO_Mode_IN' undeclared (first use in this function)
71 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:72:20: error: request for member 'GPIO_OType' in something not a structure or union
72 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^
../Src/usb_cdc_device/usb_bsp.c:72:34: error: 'GPIO_OType_OD' undeclared (first use in this function); did you mean 'GPIO_TypeDef'?
72 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^~~~~~~~~~~~~
| GPIO_TypeDef
../Src/usb_cdc_device/usb_bsp.c:73:20: error: request for member 'GPIO_PuPd' in something not a structure or union
73 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^
../Src/usb_cdc_device/usb_bsp.c:79:20: error: request for member 'GPIO_Pin' in something not a structure or union
79 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
| ^
../Src/usb_cdc_device/usb_bsp.c:79:32: error: 'GPIO_Pin_10' undeclared (first use in this function)
79 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:80:20: error: request for member 'GPIO_OType' in something not a structure or union
80 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^
../Src/usb_cdc_device/usb_bsp.c:81:20: error: request for member 'GPIO_PuPd' in something not a structure or union
81 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP ;
| ^
../Src/usb_cdc_device/usb_bsp.c:81:33: error: 'GPIO_PuPd_UP' undeclared (first use in this function)
81 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP ;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:82:20: error: request for member 'GPIO_Speed' in something not a structure or union
82 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
../Src/usb_cdc_device/usb_bsp.c:84:26: error: 'GPIO_PinSource10' undeclared (first use in this function)
84 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource10, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:87:2: warning: implicit declaration of function 'RCC_APB2PeriphClockCmd' [-Wimplicit-function-declaration]
87 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:87:25: error: 'RCC_APB2Periph_SYSCFG' undeclared (first use in this function)
87 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:88:2: warning: implicit declaration of function 'RCC_AHB2PeriphClockCmd' [-Wimplicit-function-declaration]
88 | RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_OTG_FS, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_ioreq.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_ioreq.d" -MT"Src/usb_cdc_device/usbd_ioreq.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_ioreq.o"
../Src/usb_cdc_device/usb_bsp.c:88:25: error: 'RCC_AHB2Periph_OTG_FS' undeclared (first use in this function)
88 | RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_OTG_FS, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_req.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_req.d" -MT"Src/usb_cdc_device/usbd_req.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_req.o"
../Src/usb_cdc_device/usb_bsp.c: In function 'USB_OTG_BSP_EnableInterrupt':
../Src/usb_cdc_device/usb_bsp.c:140:2: error: unknown type name 'NVIC_InitTypeDef'
140 | NVIC_InitTypeDef NVIC_InitStructure;
| ^~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_usr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_usr.d" -MT"Src/usb_cdc_device/usbd_usr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_usr.o"
arm-none-eabi-gcc "../Src/algorithm/FIR.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/FIR.d" -MT"Src/algorithm/FIR.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/FIR.o"
../Src/usb_cdc_device/usb_bsp.c:142:2: warning: implicit declaration of function 'NVIC_PriorityGroupConfig'; did you mean 'NVIC_GetPriorityGrouping'? [-Wimplicit-function-declaration]
142 | NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| NVIC_GetPriorityGrouping
arm-none-eabi-gcc "../Src/algorithm/HC_Chen_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/HC_Chen_detect.d" -MT"Src/algorithm/HC_Chen_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/HC_Chen_detect.o"
../Src/usb_cdc_device/usb_bsp.c:142:27: error: 'NVIC_PriorityGroup_1' undeclared (first use in this function); did you mean 'NVIC_GetPriorityGrouping'?
142 | NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
| ^~~~~~~~~~~~~~~~~~~~
| NVIC_GetPriorityGrouping
../Src/usb_cdc_device/usb_bsp.c:143:20: error: request for member 'NVIC_IRQChannel' in something not a structure or union
143 | NVIC_InitStructure.NVIC_IRQChannel = OTG_FS_IRQn;
| ^
../Src/usb_cdc_device/usb_bsp.c:144:20: error: request for member 'NVIC_IRQChannelPreemptionPriority' in something not a structure or union
144 | NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = USB_VCP_NVIC_PRIORITY;
| ^
../Src/usb_cdc_device/usb_bsp.c:145:20: error: request for member 'NVIC_IRQChannelSubPriority' in something not a structure or union
145 | NVIC_InitStructure.NVIC_IRQChannelSubPriority = USB_VCP_NVIC_SUBPRIORITY + 2;
| ^
../Src/usb_cdc_device/usb_bsp.c:146:20: error: request for member 'NVIC_IRQChannelCmd' in something not a structure or union
146 | NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
| ^
../Src/usb_cdc_device/usb_bsp.c:147:2: warning: implicit declaration of function 'NVIC_Init' [-Wimplicit-function-declaration]
147 | NVIC_Init(&NVIC_InitStructure);
| ^~~~~~~~~
arm-none-eabi-gcc "../Src/algorithm/Pan_Tompkins_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/Pan_Tompkins_detect.d" -MT"Src/algorithm/Pan_Tompkins_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/Pan_Tompkins_detect.o"
arm-none-eabi-gcc "../Src/algorithm/So_Chen_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/So_Chen_detect.d" -MT"Src/algorithm/So_Chen_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/So_Chen_detect.o"
../Src/usb_cdc_device/usb_bsp.c: In function 'OTG_FS_WKUP_IRQHandler':
../Src/usb_cdc_device/usb_bsp.c:205:2: warning: implicit declaration of function 'EXTI_ClearITPendingBit' [-Wimplicit-function-declaration]
205 | EXTI_ClearITPendingBit(EXTI_Line18);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:205:25: error: 'EXTI_Line18' undeclared (first use in this function)
205 | EXTI_ClearITPendingBit(EXTI_Line18);
| ^~~~~~~~~~~
make: *** [Src/usb_cdc_device/subdir.mk:49: Src/usb_cdc_device/usb_bsp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_req.h:34,
from ../Src/usb_cdc_device/usbd_req.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_req.h:34,
from ../Src/usb_cdc_device/usbd_req.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/algorithm/FIR.c: In function 'FIR_filter':
../Src/algorithm/FIR.c:6:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
6 | float *coeff = coefficients;
| ^~~~~~~~~~~~
../Src/algorithm/FIR.c:7:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
7 | float *coeff_end = coefficients + taps;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usbd_req.c: In function 'USBD_GetString':
../Src/usb_cdc_device/usbd_req.c:828:18: warning: comparison between pointer and integer
828 | while (*desc != NULL)
| ^~
../Src/usb_cdc_device/usbd_req.c: In function 'USBD_GetLen':
../Src/usb_cdc_device/usbd_req.c:846:17: warning: comparison between pointer and integer
846 | while (*buf != NULL)
| ^~
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_usr.h:33,
from ../Src/usb_cdc_device/usbd_usr.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_usr.h:33,
from ../Src/usb_cdc_device/usbd_usr.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/algorithm/So_Chen_detect.c: In function 'So_Chen_detect':
../Src/algorithm/So_Chen_detect.c:16:19: warning: unused variable 'value' [-Wunused-variable]
16 | SignalPoint value;
| ^~~~~
"make -j8 all" terminated with exit code 2. Build might be incomplete.
23:02:50 **** Incremental Build of configuration Debug for project ECG1 ****
make -j8 all
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_bsp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_bsp.d" -MT"Src/usb_cdc_device/usb_bsp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_bsp.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_core.d" -MT"Src/usb_cdc_device/usb_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_dcd.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_dcd.d" -MT"Src/usb_cdc_device/usb_dcd.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_dcd.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usb_dcd_int.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usb_dcd_int.d" -MT"Src/usb_cdc_device/usb_dcd_int.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usb_dcd_int.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_cdc_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_cdc_core.d" -MT"Src/usb_cdc_device/usbd_cdc_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_cdc_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_cdc_vcp.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_cdc_vcp.d" -MT"Src/usb_cdc_device/usbd_cdc_vcp.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_cdc_vcp.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_core.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_core.d" -MT"Src/usb_cdc_device/usbd_core.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_core.o"
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_desc.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_desc.d" -MT"Src/usb_cdc_device/usbd_desc.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_desc.o"
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_core.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_core.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_core.c: In function 'USB_OTG_WritePacket':
../Src/usb_cdc_device/usb_core.c:183:7: warning: 'packed' attribute ignored for type 'uint32_t *' {aka 'long unsigned int *'} [-Wattributes]
183 | USB_OTG_WRITE_REG32( fifo, *((__packed uint32_t *)src) );
| ^~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_core.c: In function 'USB_OTG_ReadPacket':
../Src/usb_cdc_device/usb_core.c:208:5: warning: 'packed' attribute ignored for type 'uint32_t *' {aka 'long unsigned int *'} [-Wattributes]
208 | *(__packed uint32_t *)dest = USB_OTG_READ_REG32(fifo);
| ^
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_bsp.h:33,
from ../Src/usb_cdc_device/usb_bsp.c:30:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_bsp.h:33,
from ../Src/usb_cdc_device/usb_bsp.c:30:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c: In function 'USB_OTG_BSP_Init':
../Src/usb_cdc_device/usb_bsp.c:53:3: error: unknown type name 'GPIO_InitTypeDef'; did you mean 'GPIO_TypeDef'?
53 | GPIO_InitTypeDef GPIO_InitStructure;
| ^~~~~~~~~~~~~~~~
| GPIO_TypeDef
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.h:33,
from ../Src/usb_cdc_device/usb_dcd_int.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:55:2: warning: implicit declaration of function 'RCC_AHB1PeriphClockCmd' [-Wimplicit-function-declaration]
55 | RCC_AHB1PeriphClockCmd( RCC_AHB1Periph_GPIOA , ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:55:26: error: 'RCC_AHB1Periph_GPIOA' undeclared (first use in this function)
55 | RCC_AHB1PeriphClockCmd( RCC_AHB1Periph_GPIOA , ENABLE);
| ^~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:55:26: note: each undeclared identifier is reported only once for each function it appears in
../Src/usb_cdc_device/usb_bsp.c:56:20: error: request for member 'GPIO_Pin' in something not a structure or union
56 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11 | // OTG FS Data -
| ^
../Src/usb_cdc_device/usb_bsp.c:56:33: error: 'GPIO_Pin_11' undeclared (first use in this function)
56 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11 | // OTG FS Data -
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:57:10: error: 'GPIO_Pin_12' undeclared (first use in this function)
57 | GPIO_Pin_12; // OTG FS Data +
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:59:20: error: request for member 'GPIO_Speed' in something not a structure or union
59 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_core.c:67:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_core.c:67:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_core.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_core.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:59:34: error: 'GPIO_Speed_100MHz' undeclared (first use in this function)
59 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:60:20: error: request for member 'GPIO_Mode' in something not a structure or union
60 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
| ^
../Src/usb_cdc_device/usb_bsp.c:60:33: error: 'GPIO_Mode_AF' undeclared (first use in this function)
60 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:61:20: error: request for member 'GPIO_OType' in something not a structure or union
61 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
| ^
../Src/usb_cdc_device/usb_bsp.c:61:34: error: 'GPIO_OType_PP' undeclared (first use in this function); did you mean 'GPIO_TypeDef'?
61 | GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
| ^~~~~~~~~~~~~
| GPIO_TypeDef
../Src/usb_cdc_device/usb_bsp.c:62:20: error: request for member 'GPIO_PuPd' in something not a structure or union
62 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^
../Src/usb_cdc_device/usb_bsp.c:62:33: error: 'GPIO_PuPd_NOPULL' undeclared (first use in this function)
62 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:63:2: warning: implicit declaration of function 'GPIO_Init' [-Wimplicit-function-declaration]
63 | GPIO_Init(GPIOA, &GPIO_InitStructure);
| ^~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_vcp.h:34,
from ../Src/usb_cdc_device/usbd_cdc_vcp.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
../Src/usb_cdc_device/usb_bsp.c:65:2: warning: implicit declaration of function 'GPIO_PinAFConfig' [-Wimplicit-function-declaration]
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_cdc_core.h:33,
from ../Src/usb_cdc_device/usbd_cdc_vcp.h:34,
from ../Src/usb_cdc_device/usbd_cdc_vcp.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_desc.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_desc.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/usb_cdc_device/usb_bsp.c:65:26: error: 'GPIO_PinSource11' undeclared (first use in this function)
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ProductStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:47:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
47 | #define USBD_PRODUCT_FS_STRING "STM32 Virtual ComPort in FS Mode"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:47:41: note: in definition of macro 'USBD_PRODUCT_FS_STRING'
47 | #define USBD_PRODUCT_FS_STRING "STM32 Virtual ComPort in FS Mode"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ManufacturerStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:42:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
42 | #define USBD_MANUFACTURER_STRING "STMicroelectronics"
| ^~~~~~~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:165:19: note: in expansion of macro 'USBD_MANUFACTURER_STRING'
165 | USBD_GetString (USBD_MANUFACTURER_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_SerialStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:48:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
48 | #define USBD_SERIALNUMBER_FS_STRING "00000000050C"
| ^~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:178:19: note: in expansion of macro 'USBD_SERIALNUMBER_FS_STRING'
178 | USBD_GetString (USBD_SERIALNUMBER_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_ConfigStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:53:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
53 | #define USBD_CONFIGURATION_FS_STRING "VCP Config"
| ^~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:191:19: note: in expansion of macro 'USBD_CONFIGURATION_FS_STRING'
191 | USBD_GetString (USBD_CONFIGURATION_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_desc.c: In function 'USBD_USR_InterfaceStrDescriptor':
../Src/usb_cdc_device/usbd_desc.c:54:41: warning: pointer targets in passing argument 1 of 'USBD_GetString' differ in signedness [-Wpointer-sign]
54 | #define USBD_INTERFACE_FS_STRING "VCP Interface"
| ^~~~~~~~~~~~~~~
| |
| char *
../Src/usb_cdc_device/usbd_desc.c:205:19: note: in expansion of macro 'USBD_INTERFACE_FS_STRING'
205 | USBD_GetString (USBD_INTERFACE_FS_STRING, USBD_StrDesc, length);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../Src/usb_cdc_device/usbd_desc.c:31:
../Src/usb_cdc_device/usbd_req.h:92:30: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *'
92 | void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t len);
| ~~~~~~~~~^~~~
../Src/usb_cdc_device/usbd_cdc_vcp.c: In function 'VCP_DataRx':
../Src/usb_cdc_device/usbd_cdc_vcp.c:236:3: warning: implicit declaration of function 'INT_USB_VCP_AddReceived' [-Wimplicit-function-declaration]
236 | INT_USB_VCP_AddReceived((Buf + i));
| ^~~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:65:44: error: 'GPIO_AF_OTG1_FS' undeclared (first use in this function)
65 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource11, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:66:26: error: 'GPIO_PinSource12' undeclared (first use in this function)
66 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource12, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:69:20: error: request for member 'GPIO_Pin' in something not a structure or union
69 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
| ^
../Src/usb_cdc_device/usb_bsp.c:69:32: error: 'GPIO_Pin_9' undeclared (first use in this function)
69 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9;
| ^~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:70:20: error: request for member 'GPIO_Speed' in something not a structure or union
70 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
../Src/usb_cdc_device/usb_bsp.c:71:20: error: request for member 'GPIO_Mode' in something not a structure or union
71 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
| ^
../Src/usb_cdc_device/usb_bsp.c:71:33: error: 'GPIO_Mode_IN' undeclared (first use in this function)
71 | GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:72:20: error: request for member 'GPIO_OType' in something not a structure or union
72 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^
../Src/usb_cdc_device/usb_bsp.c:72:34: error: 'GPIO_OType_OD' undeclared (first use in this function); did you mean 'GPIO_TypeDef'?
72 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^~~~~~~~~~~~~
| GPIO_TypeDef
../Src/usb_cdc_device/usb_bsp.c:73:20: error: request for member 'GPIO_PuPd' in something not a structure or union
73 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
| ^
../Src/usb_cdc_device/usb_bsp.c:79:20: error: request for member 'GPIO_Pin' in something not a structure or union
79 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
| ^
../Src/usb_cdc_device/usb_bsp.c:79:32: error: 'GPIO_Pin_10' undeclared (first use in this function)
79 | GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;
| ^~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:80:20: error: request for member 'GPIO_OType' in something not a structure or union
80 | GPIO_InitStructure.GPIO_OType = GPIO_OType_OD;
| ^
../Src/usb_cdc_device/usb_bsp.c:81:20: error: request for member 'GPIO_PuPd' in something not a structure or union
81 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP ;
| ^
../Src/usb_cdc_device/usb_bsp.c:81:33: error: 'GPIO_PuPd_UP' undeclared (first use in this function)
81 | GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP ;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:82:20: error: request for member 'GPIO_Speed' in something not a structure or union
82 | GPIO_InitStructure.GPIO_Speed = GPIO_Speed_100MHz;
| ^
../Src/usb_cdc_device/usb_bsp.c:84:26: error: 'GPIO_PinSource10' undeclared (first use in this function)
84 | GPIO_PinAFConfig(GPIOA, GPIO_PinSource10, GPIO_AF_OTG1_FS);
| ^~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:87:2: warning: implicit declaration of function 'RCC_APB2PeriphClockCmd' [-Wimplicit-function-declaration]
87 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:87:25: error: 'RCC_APB2Periph_SYSCFG' undeclared (first use in this function)
87 | RCC_APB2PeriphClockCmd(RCC_APB2Periph_SYSCFG, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:88:2: warning: implicit declaration of function 'RCC_AHB2PeriphClockCmd' [-Wimplicit-function-declaration]
88 | RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_OTG_FS, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_ioreq.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_ioreq.d" -MT"Src/usb_cdc_device/usbd_ioreq.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_ioreq.o"
../Src/usb_cdc_device/usb_bsp.c:88:25: error: 'RCC_AHB2Periph_OTG_FS' undeclared (first use in this function)
88 | RCC_AHB2PeriphClockCmd(RCC_AHB2Periph_OTG_FS, ENABLE);
| ^~~~~~~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_req.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_req.d" -MT"Src/usb_cdc_device/usbd_req.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_req.o"
../Src/usb_cdc_device/usb_bsp.c: In function 'USB_OTG_BSP_EnableInterrupt':
../Src/usb_cdc_device/usb_bsp.c:140:2: error: unknown type name 'NVIC_InitTypeDef'
140 | NVIC_InitTypeDef NVIC_InitStructure;
| ^~~~~~~~~~~~~~~~
arm-none-eabi-gcc "../Src/usb_cdc_device/usbd_usr.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/usb_cdc_device/usbd_usr.d" -MT"Src/usb_cdc_device/usbd_usr.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/usb_cdc_device/usbd_usr.o"
arm-none-eabi-gcc "../Src/algorithm/FIR.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/FIR.d" -MT"Src/algorithm/FIR.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/FIR.o"
../Src/usb_cdc_device/usb_bsp.c:142:2: warning: implicit declaration of function 'NVIC_PriorityGroupConfig'; did you mean 'NVIC_GetPriorityGrouping'? [-Wimplicit-function-declaration]
142 | NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| NVIC_GetPriorityGrouping
arm-none-eabi-gcc "../Src/algorithm/HC_Chen_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/HC_Chen_detect.d" -MT"Src/algorithm/HC_Chen_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/HC_Chen_detect.o"
../Src/usb_cdc_device/usb_bsp.c:142:27: error: 'NVIC_PriorityGroup_1' undeclared (first use in this function); did you mean 'NVIC_GetPriorityGrouping'?
142 | NVIC_PriorityGroupConfig(NVIC_PriorityGroup_1);
| ^~~~~~~~~~~~~~~~~~~~
| NVIC_GetPriorityGrouping
../Src/usb_cdc_device/usb_bsp.c:143:20: error: request for member 'NVIC_IRQChannel' in something not a structure or union
143 | NVIC_InitStructure.NVIC_IRQChannel = OTG_FS_IRQn;
| ^
../Src/usb_cdc_device/usb_bsp.c:144:20: error: request for member 'NVIC_IRQChannelPreemptionPriority' in something not a structure or union
144 | NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = USB_VCP_NVIC_PRIORITY;
| ^
../Src/usb_cdc_device/usb_bsp.c:145:20: error: request for member 'NVIC_IRQChannelSubPriority' in something not a structure or union
145 | NVIC_InitStructure.NVIC_IRQChannelSubPriority = USB_VCP_NVIC_SUBPRIORITY + 2;
| ^
../Src/usb_cdc_device/usb_bsp.c:146:20: error: request for member 'NVIC_IRQChannelCmd' in something not a structure or union
146 | NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
| ^
../Src/usb_cdc_device/usb_bsp.c:147:2: warning: implicit declaration of function 'NVIC_Init' [-Wimplicit-function-declaration]
147 | NVIC_Init(&NVIC_InitStructure);
| ^~~~~~~~~
arm-none-eabi-gcc "../Src/algorithm/Pan_Tompkins_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/Pan_Tompkins_detect.d" -MT"Src/algorithm/Pan_Tompkins_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/Pan_Tompkins_detect.o"
arm-none-eabi-gcc "../Src/algorithm/So_Chen_detect.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/algorithm/So_Chen_detect.d" -MT"Src/algorithm/So_Chen_detect.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/algorithm/So_Chen_detect.o"
../Src/usb_cdc_device/usb_bsp.c: In function 'OTG_FS_WKUP_IRQHandler':
../Src/usb_cdc_device/usb_bsp.c:205:2: warning: implicit declaration of function 'EXTI_ClearITPendingBit' [-Wimplicit-function-declaration]
205 | EXTI_ClearITPendingBit(EXTI_Line18);
| ^~~~~~~~~~~~~~~~~~~~~~
../Src/usb_cdc_device/usb_bsp.c:205:25: error: 'EXTI_Line18' undeclared (first use in this function)
205 | EXTI_ClearITPendingBit(EXTI_Line18);
| ^~~~~~~~~~~
make: *** [Src/usb_cdc_device/subdir.mk:49: Src/usb_cdc_device/usb_bsp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.h:34,
from ../Src/usb_cdc_device/usbd_ioreq.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
In file included from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_req.h:34,
from ../Src/usb_cdc_device/usbd_req.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usbd_conf.h:33,
from ../Src/usb_cdc_device/usbd_def.h:34,
from ../Src/usb_cdc_device/usbd_req.h:34,
from ../Src/usb_cdc_device/usbd_req.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/algorithm/FIR.c: In function 'FIR_filter':
../Src/algorithm/FIR.c:6:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
6 | float *coeff = coefficients;
| ^~~~~~~~~~~~
../Src/algorithm/FIR.c:7:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
7 | float *coeff_end = coefficients + taps;
| ^~~~~~~~~~~~
../Src/usb_cdc_device/usbd_req.c: In function 'USBD_GetString':
../Src/usb_cdc_device/usbd_req.c:828:18: warning: comparison between pointer and integer
828 | while (*desc != NULL)
| ^~
../Src/usb_cdc_device/usbd_req.c: In function 'USBD_GetLen':
../Src/usb_cdc_device/usbd_req.c:846:17: warning: comparison between pointer and integer
846 | while (*buf != NULL)
| ^~
In file included from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_usr.h:33,
from ../Src/usb_cdc_device/usbd_usr.c:29:
../Src/usb_cdc_device/usb_conf.h:240: warning: "__packed" redefined
240 | #define __packed attribute ((packed))
|
In file included from c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\stdio.h:35,
from ../Src/usb_cdc_device/usb_conf.h:35,
from ../Src/usb_cdc_device/usb_core.h:33,
from ../Src/usb_cdc_device/usb_dcd.h:33,
from ../Src/usb_cdc_device/usbd_core.h:33,
from ../Src/usb_cdc_device/usbd_usr.h:33,
from ../Src/usb_cdc_device/usbd_usr.c:29:
c:\st\stm32cubeide_1.12.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\include\sys\cdefs.h:247: note: this is the location of the previous definition
247 | #define __packed attribute((packed))
|
../Src/algorithm/So_Chen_detect.c: In function 'So_Chen_detect':
../Src/algorithm/So_Chen_detect.c:16:19: warning: unused variable 'value' [-Wunused-variable]
16 | SignalPoint value;
| ^~~~~
"make -j8 all" terminated with exit code 2. Build might be incomplete.
23:02:52 Build Failed. 42 errors, 32 warnings. (took 1s.883ms)
The text was updated successfully, but these errors were encountered: