cancel
Showing results for 
Search instead for 
Did you mean: 

Porting linux serial console to STM32 with FreeRTOS

Uzair Chughtai
Associate
Posted on February 06, 2018 at 05:31

I'm wondering if its possible to port the linux serial port (source code) to an STM32 platform with FreeRTOS. I realize that there exists a FreeRTOS CLI (Command Line Interface) implementation but I find it quite limited. What I'm looking for is the versatility of the linux console in regards to command handling (input and output) and echoing. At the moment I'm working on developing a terminal from scratch but not sure if that's the best way

#linux #serial-port #console
1 REPLY 1
AvaTar
Lead
Posted on February 06, 2018 at 08:44

I'm pretty sure this involves a lot of re-implementation, i.e. reinventing the wheel.

Most of the Linux console functionality is based upon (and dependant) on OS functionality, which drags a huge amount of libs/code in your project.

I think this is a thing you want to avoid with FreeRTOS, else you could have choosen ucLinux instead.

Or you find another MCU console application you can start with.

This doesn't necessarily have to be for STM32, or even Cortex M.