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

undefined reference to 'system_tick'

Posted by gsmgbl on August 12, 2014

Hi, I am a beginner for RTOS and I started to import the freeRTOS with the MegaBlink sample. After compile, I have one error that I couldn't fix, which is undefined reference to 'systemtick'. I have the time.h in my project, but I still have the error. In addition, I found a file called systemtick.S, is this the function? how could i link this to my project. please advice detail. thank you.


undefined reference to 'system_tick'

Posted by rtel on August 12, 2014

I'm afraid I don't know what the MegaBlink example is and the functions and files you refer to are not part of the FreeRTOS distribution so we can't really provide direct support. If you can tell us where the files are from and which chip and compiler you are using we may be able to provide some generic help. Alternatively you could ask whoever supplied the files for support.

Regards.


undefined reference to 'system_tick'

Posted by gsmgbl on August 12, 2014

Hi, thanks for the quick response. I've got that example project from this other post in the website. Please forget about it. In fact, I would like to port the freeRTOS in my arduino ATmega2560 on Atmel Studio, so I look into the GCC folder and couldn't find the right processor folder. Can you tell me more detail about how to set it up? what other thing I need to do in order to get the RTOS running on my arduino ATmega2560? Thanks a lot! Great appreciate your help! Regards, GBL


undefined reference to 'system_tick'

Posted by rtel on August 13, 2014

The first thing to note is that the official FreeRTOS download contains a GCC port for the ATMega, but not the XMega - which I think that part is. That said there are plenty of people using FreeRTOS on XMega parts and you will find ports in the Atmel section of the FreeRTOS Interactive site.

The first thing to do would be to get a program that does not use FreeRTOS running on your hardware with Atmel Studio - then once you are sure your environment is working as expected - add in the FreeRTOS source files. In your case the port layer files you require are in the FreeRTOS/Source/portable/GCC/[whatever] directory - where [whatever] is whatever the directory is called in the contributed XMega port.

Regards.


[ 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