diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-13 15:29:23 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-13 15:29:23 +0100 |
commit | e9bebe253fdecee009414bdce7ccdfba83f980e6 (patch) | |
tree | 49330d7108869ddfbe8682fb6f20ff79794f57b5 /src/arch/esp8266 | |
parent | 22f2335259594569ba4a95544939ef72f3d1bb9d (diff) |
add simple cache benchmark application
Diffstat (limited to 'src/arch/esp8266')
-rw-r--r-- | src/arch/esp8266/Makefile.inc | 5 | ||||
-rw-r--r-- | src/arch/esp8266/driver/uptime.cc | 9 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index 3b1c8cb..0484985 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -46,4 +46,7 @@ arch_clean: rm -f ${OBJECTS} rm -f build/system.ar -.PHONY: arch_clean program +monitor: + screen /dev/ttyUSB0 115200 + +.PHONY: arch_clean monitor program diff --git a/src/arch/esp8266/driver/uptime.cc b/src/arch/esp8266/driver/uptime.cc index 51cc617..388edb6 100644 --- a/src/arch/esp8266/driver/uptime.cc +++ b/src/arch/esp8266/driver/uptime.cc @@ -1,12 +1,3 @@ #include "driver/uptime.h" -extern "C" { -#include "osapi.h" -#include "user_interface.h" -} - -uint32_t Uptime::get() -{ - return system_get_time(); -} Uptime uptime; |