NOTE:This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.
FreeRTOS Support Archive
The FreeRTOS support forum can be used for active support both from Amazon Web Services and the community. In return for using our software for free, we request you play fair and do your bit to help others! Sign up for an account and receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.
Total beginner here. I’m trying to compile the RTOSDemo provided here. I’m using Atmel Studio 7 and trying to generate the ELF file for the ATSAM4E16E. Note that at this point, I am simply trying to generate the binary file and nothing else. I have run into minor snags which required some changes but I am not stuck at this issue:
Severity Code Description Project File Line
Error recipe for target ‘src/ASF/thirdparty/freertos/freertos-7.3.0/source/FreeRTOSCLI.o’ failed RTOSDemo C:Users...FreeRTOSLabs160112FreeRTOS-PlusDemoFreeRTOSPlusTCPandFATATSAM4EDebugMakefile 912
Error unknown type name ‘portTickType’ RTOSDemo C:Users...FreeRTOSLabs160112FreeRTOS-PlusDemoFreeRTOSPlusTCPandFAT_ATSAM4EsrcASFthirdpartyfreertosfreertos-7.3.0sourceincludelist.h 109
There are 11 additional similar errors since it doesn’t seem to find the definition for portTickType which appears to be in portmacro.h.
The only changes I made so far were in the makefile to fix the case of the ‘ftp_server.c’ file:
and modified the cycle_counter.c file to fix the ‘undeclared s attribute’ error:
void portabledelaycycles(unsigned long n)
However I couldn’t find any post relating to this portTickType error. Could any one suggest any solution so the project compiles properly with Atmel Studio 7? Let me know if you need more information.
Sorry I don’t know what it is you are trying to compile. The error message is for an old FreeRTOS file that it is building in the src/ASF/thirdparty/freertos/freertos-7.3.0/source directory – that is where Atmel Studio will put FreeRTOS files if you have the Atmel Software Framework (ASF) add FreeRTOS to a project for you. However, the project on the page you link to does not do that, and instead includes a much newer version of FreeRTOS in the FreeRTOS/Source directory, as per the normal FreeRTOS distribution.
You should be able to download the FreeRTOS labs source files (which will be updated to a new version imminently), open FreeRTOS-PlusDemoFreeRTOSPlusTCPandFAT_ATSAM4ERTOSDemo.atsln solution file from within Atmel Studio, then build without any problems – and the file you are having a problem building in your first post is not part of that project.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.