Quality RTOS & Embedded Software

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




Loading

kernel configuration for event groups

Posted by richyankee on August 21, 2014

I have modified the file FreeRTOSConfig.h to include setting the options (to 1): configUSETIMERS INCLUDExTimerPendFunctionCall and INCLUDE_xEventGroupSetBitFrmISR just as described in the ref manual. (The manual's only reference to event groups)

However, my build fails, unable to resolve several basic types which are referenced in eventgroups.h TickTypet, BaseTypet, UBaseTypet

freeRTOS version 8.1 stm32F207

Rich


kernel configuration for event groups

Posted by edwards3 on August 21, 2014

Was that in your own source file, or in the event_groups.c file?


kernel configuration for event groups

Posted by richyankee on August 22, 2014

the errors are in the event_groups.h file.

I searched the whole source tree and there is no instance of these (undefined) so I must have missed something when we created this instance of FreeRTOS.


kernel configuration for event groups

Posted by edwards3 on August 22, 2014

Yes, but the header file is included from a C file, so which source file are you building when the error occurs. Is it your own file or is it the event_groups.c file?


kernel configuration for event groups

Posted by richyankee on August 22, 2014

Libraries/FreeRTOS/FreeRTOS_Timers/Src/main.c is the file I'm building. It is where I am adding a couple of threads for comm.


kernel configuration for event groups

Posted by rtel on August 22, 2014

If you are genuinely using FreeRTOS V8.0.1 (or 8.1 as you say - although 8.1 is only available in SVN at this time) then TickTypet, BaseTypet, UBaseTypet are used throughout the FreeRTOS source files, so I'm not sure why you say you can't find them defined anywhere or why your compiler would be happy with them in task.c, queue.c etc. but not eventgroups.c.

Have you included "FreeRTOS.h" before you include "event_groups.h". I think you will hit a

#error
if not anyway.

Open up the other FreeRTOS source files and look at the version number at the top. I would guess you are mixing source files from different versions.

Regards.


kernel configuration for event groups

Posted by richyankee on August 22, 2014

yes, FreeRTOS.h is included.

I am running freeRTOS. Maybe I have the version number wrong - I am sure that the freeRTOS I downloaded is at least version 8.0.1 (I am away from the work site now and can't look at it).

I think the problem may be that stm32CubeX configured the build for an F207 (correctly) and that there is no support for the cortex event in that processor.

If that i snot the problem, perhaps I will recover the configuration I need when I reconfigure with cubeX.

In any event, I am going to dothat Monday morning and I'll post a message either way.

I thank you for your help.

Rich


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists