Quality RTOS & Embedded Software

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




Loading

new to 8.0 from 7.4.2

Posted by markwrichardson on April 22, 2014

small things:

1) Line 142 of Task.h " const char * const pcName;" is not digested by my compiler "WARNING (204) Ignoring space specifier (e.g. near, far, rom) on local, parameter or struct member" I removed the second 'const', I had forgotten about doing this before in 7.4.2.

2) I replaced the RTOS core files and I seem to be having trouble with errors on all lines containing the defined value PRIVILEGED_DATA. I assume I want it to be null for my port with no MPU. I can't seem to locate the 'correct' method to do this without buggering the code. There are more errors but hard to see without correcting this first.

7.4.2 was working reliably for me, I expect 8.0 to be fine after the growing pains

Thanks


new to 8.0 from 7.4.2

Posted by edwards3 on April 22, 2014

If portUSINGMPUWRAPPERS is not defined then PRIVILEGED_DATA is just defined to nothing, and should not generate any code, and so not generate any errors. What is the error message? Which compiler are you using?

I guess you have read this page already but I will post the link for other readers http://www.freertos.org/upgrading-to-FreeRTOS-V8.html


new to 8.0 from 7.4.2

Posted by markwrichardson on April 23, 2014

Took me a long time (too long) to finally notice I forgot to add portmacro.h and the memmang.h to the new portable.h file. I guess I forgot this file was updated by the new version and NOT part of my port specific files.

Only this issue remains: > 1) Line 142 of Task.h " const char * const pcName;" is not digested by my compiler > "WARNING (204) Ignoring space specifier (e.g. near, far, rom) on local, parameter or struct member" > I removed the second 'const', I had forgotten about doing this before in 7.4.2.

It's easy to modify Task.h, but I'm trying to keep the RTOS source pure.


new to 8.0 from 7.4.2

Posted by rtel on April 23, 2014

I've never seen that warning before. Which compiler are you using?

Regards.


new to 8.0 from 7.4.2

Posted by markwrichardson on April 23, 2014

Zilog Tools ZDSII for the eZ80 Acclaim, 5.1.1.

Definitely not a common realm with very light traffic.

I have another compiler related comment. This compiler uses int (3 bytes - this processor has 24-bit registers) by default for all enums unless a type is specified. I don't know of others do this too. If I were presses for RAM, specifying a smaller type would help.


new to 8.0 from 7.4.2

Posted by markwrichardson on April 23, 2014

Forgot to say that at times 'const' is almost synonymous with saying place it in ROM. Type checking in general here is not very strong.


[ 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