2018-02-05 08:31 PM
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 #console2018-02-05 11:44 PM
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.