diff options
Diffstat (limited to 'src/arch/esp8266/arch.cc')
-rw-r--r-- | src/arch/esp8266/arch.cc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/arch/esp8266/arch.cc b/src/arch/esp8266/arch.cc new file mode 100644 index 0000000..e7a26bb --- /dev/null +++ b/src/arch/esp8266/arch.cc @@ -0,0 +1,30 @@ +#include "arch.h" + +extern "C" { +#include "ets_sys.h" +#include "osapi.h" +#include "os_type.h" +#include "user_interface.h" +#include "gpio.h" +#include "mem.h" +} + +#define user_procTaskPrio 0 +#define user_procTaskQueueLen 1 + +extern int main(void); + +void Arch::setup(void) +{ +} + +void Arch::idle_loop(void) +{ +} + +extern "C" void user_init(void) +{ + main(); +} + +Arch arch; |