Quality RTOS & Embedded Software

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



Posted by hollenweger on June 11, 2015

I was planing to use FreeRTOS+UDP for a LPC43xx based project, but I'm thinking of using FreeRTOS+TCP instead. To decide this I would like You opinion.

My application will need only UDP (for the moment, but normally the appetite comes while eating so my client probably will ask for TCP in future!).

I do not have Flash size problems, but RAM usage could be important (If possible i'd like to use only the internal 136K SRAM of the LCP43xx, and a lot of this RAM may be needed for my Application (Data buffers)).

I will require a "commercial" license for the Stack, do You have any idea what the TCP stack will cost?

thanks for any help



Posted by heinbali01 on June 11, 2015

Hi Martin,

The question about the commercial license: please drop an email to FreeRTOS.org and you will be contacted about that.

FreeRTOS+UDP is mature and well-tested.

FreeRTOS+TCP is built upon +UDP. If you ever think of using more features like LLMNR, NBNS, FTP, or HTTP, you better start using +TCP now. The focus will be more and more on +TCP.

You can use it for UDP-only if you define:

#define ipconfigUSE_TCP        ( 0 )
#define ipconfigUSE_TCP_WIN    ( 0 )

and the resulting library should be pretty small.

RAM requirements for UDP-only applications aren't that big, especially if you use the zero-copy flag.


[ 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.


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


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