Quality RTOS & Embedded Software

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


Loading

FreeRTOS vs 160112_FreeRTOS_Labs

Posted by sting854 on April 25, 2016

I want to use the FreeRTOS-Plus-TCP. Do I use the FreeROS base from FreeRTOSV9.0.0rc2.zip or from the 160112FreeRTOS_Labs at

http://www.freertos.org/FreeRTOS-Labs/RTOSlabsdownload.html

it looks like the files are a different size.


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by heinbali01 on April 25, 2016

Hi Ray,

160112FreeRTOSLabs was tested and released with the kernel version V8.2.3 That version is included in the ZIP. It should work equally well with V9.0.0 and higher.


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by heinbali01 on April 25, 2016

I forgot to ask: what MCU will you use?

There are official FreeRTOS+TCP ports for:

ST STM32Fxx
Atmel SAM4E
NXP LPC18xx
WinPCap
Xilinx Zynq and ZC702

Other ports have been developed by users, these include:

NXP (Freescale) Kinetis K63F
NXP LPC43xx (similar to LPC18xx)
NXP LPC17xx
Altera Cyclone V SoC
TI's TMS570lc4375
Microchip PIC32xx
Atmel UC3A

I'm not sure about the status of each of these projects but just tell which one you're interested in and I'll find out,

Regards.


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by raymadigan on April 27, 2016

I am using the Xilinx MicroZed board.

I have another question. I want just plain TCPIP and none of the other protocols, FTP/HTTP/NTP. In my project I create a linked directory to the FreeRTOS-Plus-TCP directory so I can link in the stack and I get all of those other protocols that I also have to provide the headers for.

What is your recommended method of handling this, I don't want to do it in a different way then your intentions.


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by raymadigan on April 27, 2016

Specifically I have to start linking in the FAT libraries because the NTPDemo uses ff-headers.h. My device will not be connected to the internet.


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by rtel on April 27, 2016

Is this an Eclipse question? In that, how to get Eclipse to build just the files you want and not just blindly build every file in the directory (which is once of Eclipses least helpful habits)?

If so, then you either need to use resource filters to include and/or exclude files and folders, as described on the link below, or you need to right click on the file you don't want to build, then in the pop-up menu find the "Exclude from build" check box.

http://www.freertos.org/ProjectWorkspaceRelativeFilePaths_Eclipse.html


FreeRTOS vs 160112_FreeRTOS_Labs

Posted by heinbali01 on April 27, 2016

And as far as this is not an Eclipse question:

The FTP/HTTP/NTP protocols are just extra's, examples of how to use the FreeRTOS+TCP stack.

This means that you can leave out all files under the protocols directory.

Other protocols are selectable through defines:

~~~~ #define ipconfigUSEDHCP ( 1 ) #define ipconfigUSELLMNR ( 1 ) #define ipconfigUSENBNS ( 1 ) #define ipconfigUSEDNS ( 1 ) #define ipconfigSUPPORTOUTGOINGPINGS ( 1 ) ~~~~

I would recommend to use at least these:

~~~~ #define ipconfigTCPHANGPROTECTION ( 1 ) #define ipconfigTCPKEEPALIVE ( 1 ) #define ipconfigREPLYTOINCOMING_PINGS ( 1 ) ~~~~

The use of UDP can not be excluded from +TCP.

You can deselect TCP:

~~~~ #define ipconfigUSE_TCP ( 0 ) ~~~~

which can be useful for e.g. a UDP-enabled boot-loader.

Specifically I have to start linking in the FAT libraries because the NTPDemo uses ff-headers.h

Sorry about that. The reason is that the FreeRTOS+FAT library has two handy functions to transform time:

~~~~ /* Equivalent of mktime() : calculates * the number of seconds after 1-1-1970. */ timet FreeRTOSmktime( const FFTimeStructt *pxTimeBuf );

/* Equivalent of gmtime_r() : Fills a 'struct tm'. */
FF_TimeStruct_t *FreeRTOS_gmtime_r( const time_t *pxTime,
    FF_TimeStruct_t *pxTimeBuf );

~~~~

These functions are not always available on all every platform / compiler.

Regards.


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner