Skip to content
teijw edited this page Jun 24, 2014 · 69 revisions

ROS01

Example project with FreeRTOS and lwIP support. Based on the senshub_iot example from TI.

Todo

  • Fix the crash we sometimes have while doing network transactions
  • Add a queue to store received messages
  • Fix the connect command so that you can connect to arbitrary ip-addresses
  • Cleanup of code
  • Streamline command-line interface

Usage instructions

Type help for supported commands. Type connect ip-address portnumber to activate the connection. Type 'send your message' to send a message to ip-address 192.168.1.1 on port 27015. You need to modify the source code in comm.c to change the ip-address.

Debugging

Import the project into your Codecomposer workspace. Rebuilt the complete project. Then go to Run -> Debug Configurations -> Code Composer Studio - Device Debugging. Select ros01 and click Debug. From now on you should be able to just do debugging from your IDE as usual.

Connect to the comport number that's associated with your microcontroller. Use 115,200 kbps for the baud rate. Built with CCS Version: 5.5.0.00077

Git

  • git add filename -> add file to repository
  • git rm filename -> delete file from disk and repository
  • git rm --cached filename -> only delete from repository
  • git commit -> commit changes to the repository
  • git push origin master:master -> push changes to the repository

Atlassian SourceTree is just fine as client; includes a terminal as well with the regular git client.

Clone this wiki locally