1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-15 19:22:45 +03:00

Tidy up backend code for esp8266 (malloc, free, yield)

This commit is contained in:
Ivan Grokhotkov
2014-11-21 19:15:40 +03:00
parent e199fc349c
commit e21371d6d0
7 changed files with 43 additions and 83 deletions

View File

@@ -17,20 +17,10 @@
*/
#include <stdlib.h>
extern "C"
{
#include "ets_sys.h"
}
extern "C" void __cxa_pure_virtual(void) __attribute__ ((__noreturn__));
extern "C" void __cxa_deleted_virtual(void) __attribute__ ((__noreturn__));
extern "C" void abort()
{
os_printf(" x_x ");
while(true){}
}
void __cxa_pure_virtual(void) {
// We might want to write some diagnostics to uart in this case
//std::terminate();