Home arrow Support arrow Forums

Luminary Micro Forums

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/08/10 01:42

C++ RTOS & TCP/IP stack

This is an RTOS written in C++. The RTOS is not fully tested so use it with care.

The OS objects now presents are:

OSCore: RTOS kernel

OSTask: Task object (can be used as an interface or to call an external function)

OSTimer: Timer implementation (can be used as an interface or to call an external function)

OSSemaphore: Counting semaphore implementation

OSMessageBox: Message box implementation

OSHeap: Provides dynamic memory managment

OSLibUart: Object providing uart functions

The projects can download/debug using the included openOCD.

The updated eclipse/codesourceryLite workspace here.

Post edited by: ravaz, at: 2008/10/20 06:15

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/08/13 07:54

Re:C++ RTOS

I clean up a little bit the code and improved the terminal.

The terminal is a little bit more colorfull and is able to autocomplete the command using the tab key. Is also possible use the backspace key to erase a typing error.

The terminal commands are imlemented on the class CTerminal that has OSLibTeminal as parent and make all the parsing job.

If you are using the hyperterminal from windows you must uncheck the option "Echo type character locally" and check "Send line ends with line feeds".

I also integrated the nice asm optimized memcpy routine that rocksoft shared on the forum.

For the rest I hope the code is enough self explanatory....

As usual you can get the complete eclipse workspace from here.

Regards

Post edited by: ravaz, at: 2008/10/11 11:59

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/10/04 12:07

Re:C++ RTOS

The RTOS includes a C++ TCP/IP stack implementing ARP, ICMP, UDP, TCP, DHCP, FTP and HTTP (put the files in /webpage/) now.

A simple telnet echo example is incuded in the demo.

The demo is prepared for the LM3S6965-EVB.

The complete eclipse workspace can be found here.

Post edited by: ravaz, at: 2008/10/11 11:58

login or register to reply

ravaz

Platinum Boarder
Click here to see the profile of this user

2008/11/20 08:10

Re:C++ RTOS

did anybody try it? feedback is welcome...

login or register to reply