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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user