User manual
AREXX Engineering & JM3 Engineering
Version: 1.20 Apr. 20, 2014 page: 10
2 SW – Package for RP6_Sensor&I/O board working with the RP6WIFI
2.1 C++ and C-Source code support
Together with the RP6_Sensor&I/O board the door into the C++ word has been opened for the
RP6 Robot - and this in an easy way – no worry!
The C++ language is a superset of the C language or vice versa the C++ language is an extension
of the C-language, but more powerful and structured – more rigid in the compiler checks.
All in all it gives a better readable code and better protection against side effects of your software
design (e.g. enums and the use of name space definitions for the modules instead of tons of
#defines) - and of course with C++ you can combine C-code and Assembler-code.
Special advantages, will be given if you have multiple instances of e.g. a device driver like a UART
which saves memory. The developed code is also easier to port to a new system.
The used Extended Embedded C++ excluded by purpose the following C++ features, which
doesn’t make sense on an embedded system:
1.) RTTI
2.) Exceptions
Refer also to: http://www.iar.com/Products/IAR-Embedded-Workbench/Technology/Language-
standards/
The GCC makefile to compile your existing C-Code and the Libs from the RP6V2 or RP6WIFI
board and the C++ code from the Sensor & IO board with examples are included.
The software can be edited and complied with Visual Studio 2010 Express (free download at
Microsoft) – the makefile is included. Other editors can be used as well.










