This code: (app.c download@ http://wiki.midibox.org/lib/exe/fetch.php?media=phatline:tm_v3.zip)
void APP\_Init(void){ xTaskCreate(TASK\_SEQ, (signed portCHAR \*)"SEQ", configMINIMAL\_STACK\_SIZE, NULL, PRIORITY\_TASK\_SEQ, NULL);}// install sequencer task
compile with following warnings:
Quote
make (im Verzeichnis: /home/nixgibts/c/tm_V3)
rm -f project.hex
Creating object file for app.c
app.c: In function ‘APP_Init’:
app.c:386:3: warning: pointer targets in passing argument 2 of ‘xTaskCreate’ differ in signedness [-Wpointer-sign]
In file included from app.c:11:0:
/home/triggermatrix/mios32/trunk/FreeRTOS/Source/include/task.h:360:13: note: expected ‘const char * const’ but argument is of type ‘signed char *’
Creating object file for seq.c
…
/home/triggermatrix/mios32/trunk/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c: In function ‘prvPortStartFirstTask’:
/home/triggermatrix/mios32/trunk/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c:282:1: warning: stack usage computation not supported for this target [enabled by default]
…
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c: In function ‘USBD_GetString’:
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c:845:18: warning: comparison between pointer and integer [enabled by default]
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c: In function ‘USBD_GetLen’:
/home/triggermatrix/mios32/trunk/drivers/STM32F4xx/v1.1.0/STM32_USB_Device_Library/Core/src/usbd_req.c:863:17: warning: comparison between pointer and integer [enabled by default]
…
Creating object file for freertos_heap.cppKompilierung erfolgreich beendet.
Application successfully built for:
Processor: STM32F407VG
Family: STM32F4xx
Board: MBHP_CORE_STM32F4
LCD: universalarm-none-eabi-size project_build/project.elf
text data bss dec hex filename
98646 9184 56600 164430 2824e project_build/project.elf
20000000 D __ram_start
200100f8 B __ram_end
that task.h code - Warning by “xTaskCreate…”:
#if( configSUPPORT\_DYNAMIC\_ALLOCATION == 1 ) BaseType\_t xTaskCreate( TaskFunction\_t pxTaskCode, const char \* const pcName, const uint16\_t usStackDepth, void \* const pvParameters, UBaseType\_t uxPriority, TaskHandle\_t \* const pxCreatedTask ) PRIVILEGED\_FUNCTION; /\*lint !e971 Unqualified char types are allowed for strings and single characters only. \*/ #endif
do i have to fear?