cleaned up include tree
shell thread priority can now be configured via aosconf.h
enhanced hooks in aos_main.cpp: - INIT_HOOK_0 now supports optional arguments like all other hooks - new hook introduced to add custom includes - new hook introduced to add custom static variables - renamed hook for custom thread variables
The main.c was renamed to aos_main.cpp and will compiled as C++ file from now on.This allows to use full C++ capabilities when using any hooks.
FIX: AosShellChannel was not known in main.c if shell was disabled.
AosShellChannel now contains a pointer to a BaseAsynchronousChannel instead of a AosIOCHannel.Fixed an issue with AosIOStreams as well as AosShellStreams regarding multiple reading/writing from/to channels.
Major overhaul to the I/O functionality:
The SequentialStremMultiplexer (SSM) has been replaced by AosIOStream.The AosIOStream class acts like a BaseSequentialStream but consists of multiple AosIOChannels.Each AosIOChannel again implements a BaseAsynchronousChannel and thus is a derived class of BaseSequentialStream as well....
Modified aos_unittest.h/.c files to prevent unnecessary includes.
Major overhaul to AMiRo-OS version 2.0.0