Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Marcel van Lieshout on December 2, 2004
I am currently studying the pic18-port and I was wondering why tskMAX_TASK_NAME_LEN is defined in task.h instead of partable.h. I think it would be nice when this was changed. On 8-bit micro's as the pic18, every saved byte of ram is valuable.

Perhaps it's even possible to change the taskname (optionally, portable) from a string to a char, eliminating the need for the terminating \0.

A char for taskname gives plenty possibilities for tasknames (a-z, A-Z, 0-9) without using lots of ram.

Marcel

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Richard on December 2, 2004
Hi Marcel,

Can you add this to the change request tracker on the main sourceforge page. (http://sourceforge.net/projects/freertos). It will be the first one but it would be good to start off the feature request list.

This is a small change that can be included in the next release.

There are a few RAM saving tips here:
http://www.freertos.org/FAQMem.html#RAMReduce

Regards.

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Marcel van Lieshout on December 2, 2004
It's me again. I see that the taskname is only used by the trace-facility. Perhaps an idea to only include the taskname when the trace-facility is included?

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Marcel van Lieshout on December 2, 2004
Change Request Tracker? COOL!

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Marcel van Lieshout on December 2, 2004
This would be the RFE-tab, right? RFE = Requenst For Enhancement???

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Marcel van Lieshout on December 2, 2004
RFE created.
If there are spelling-errors, that's because of the fight I had with my cat about who owns the keyboard... :-)

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Richard on December 2, 2004
It has appeared in the correct section, but I am curious as to where you get "RFE" from. From here it says "Feature Requests". Does source forge take location into account and change terminology and/or language when it serves pages?

RE: move tskMAX_TASK_NAME_LEN to portable.h?

Posted by Richard on December 2, 2004
Just spotted the RFE - it shows both. The feature requests can be seen from the "Summary" page on source forge.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS