This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: SysConfig and FreeRTOS tasks configuration

Part Number: TMS320F28388D
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I use SysConfig for my project for a F28388D microcontroller. I also configured FreeRTOS and tasks with it.

Now I would configure custom parameters with custom data types for some tasks, is is it possible to use SysConfig to configure Task Parametes with custom data type variables? Actually, it seems I cannot use standard data type variables, neither, I found examples with numbers (i.e. 0x12345678) only.

Thanks, 

Fabio

  • Hi Fabio,

    The task parameter is of type (void *). So you can have any data type and pass the pointer to that

    Regards,

    Veena

  • Hi Veena,

    yes pvParameters is (void *), but SysConfig generates a c2000freertos.c file with "xTaskCreateStatic() using the "User Tasks Configuration" and in "Task Parameters" how can i tell him to use, for example, a uint16_t variable called "pippo" (or, possibly, a custom structure)? Default is NULL, but I am not able to insert any custom parameter, neither if i define it in my main.

    It seems to me that could be possible avoiding the use of SysConfig, but I would know if I can keep it using because of other configuration/fast microcontroller switches.

    Thanks and regards,

    Fabio

  • Hi Fabio,

    I think what you are asking for is support for something like below -

    Currently, this will cause build errors because the freertos.c or any of the included header files does not have an extern declaration of the parameter. I will raise an enhancement request to support variables as task parameters

    Regards,

    Veena