add initial RTOS support
now without io devices and console git-svn-id: svn://db.shs.com.ru/pip@683 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -18,9 +18,10 @@
|
||||
*/
|
||||
|
||||
#include "piobject.h"
|
||||
#include "pifile.h"
|
||||
#include "pisysteminfo.h"
|
||||
|
||||
#ifndef FREERTOS
|
||||
# include "pifile.h"
|
||||
#endif
|
||||
|
||||
/** \class PIObject
|
||||
* \brief This is base class for any classes which use events -> handlers mechanism.
|
||||
@@ -585,7 +586,7 @@ void dumpApplication() {
|
||||
//printf("dump application done\n");
|
||||
}
|
||||
|
||||
|
||||
#ifndef FREERTOS
|
||||
bool dumpApplicationToFile(const PIString & path) {
|
||||
PIFile f(path + "_tmp");
|
||||
f.setName("__S__DumpFile");
|
||||
@@ -600,3 +601,4 @@ bool dumpApplicationToFile(const PIString & path) {
|
||||
PIFile::rename(path + "_tmp", path);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user