Very much warning in my project (FreeRTOS, USB-CDC)

Discussion around product based on ARM Cortex M4 core.

Moderators: nferre, ncollot

pilnik5
Posts: 5
Joined: Sat Sep 05, 2015 5:43 pm

Very much warning in my project (FreeRTOS, USB-CDC)

Mon Sep 07, 2015 7:00 pm

Hey.
I created the app with SAM4E processor. But it appears to me there are a lot of warnings that do not know how to remove. If anyone knew how to remove them, I would be very grateful.

Thank you for your advice and assistance
  • Warning 1 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 2 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 3 variable 'buf_nosel_nb' set but not used [-Wunused-but-set-variable] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc.c 966 26 FreeRTOS_c2
    Warning 4 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 5 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 6 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 7 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 8 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 9 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 10 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 11 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 12 nested extern declaration of 'vApplicationIdleHook' [-Wnested-externs] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\thirdparty\freertos\freertos-7.3.0\source\tasks.c 2154 4 FreeRTOS_c2
    Warning 13 "USB_DEVICE_MAX_EP" redefined [enabled by default] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\services\usb\class\cdc\device\udi_cdc_conf.h 125 0 FreeRTOS_c2
    Message 14 this is the location of the previous definition C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\sam\utils\cmsis\sam4e\include\sam4e16e.h 574 0 FreeRTOS_c2
    Warning 15 redundant redeclaration of 'stdio_base' [-Wredundant-decls] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_usb\stdio_usb.h 75 32 FreeRTOS_c2
    Message 16 previous declaration of 'stdio_base' was here C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_serial\stdio_serial.h 79 32 FreeRTOS_c2
    Warning 17 redundant redeclaration of 'ptr_put' [-Wredundant-decls] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_usb\stdio_usb.h 77 14 FreeRTOS_c2
    Message 18 previous declaration of 'ptr_put' was here C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_serial\stdio_serial.h 81 14 FreeRTOS_c2
    Warning 19 redundant redeclaration of 'ptr_get' [-Wredundant-decls] C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_usb\stdio_usb.h 79 15 FreeRTOS_c2
    Message 20 previous declaration of 'ptr_get' was here C:\Users\Jirka\Desktop\USB-CDC_s_FreeRTOS-v2.1\FREERTOS_SAM_EXAMPLE1\src\ASF\common\utils\stdio\stdio_serial\stdio_serial.h 84 15 FreeRTOS_c2
Complet project here: http://www.filedropper.com/usb-cdcsfreertos

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 4 guests