From 4682576976e4c904e644a0f29b004efba6f576f6 Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Fri, 16 Nov 2018 08:03:43 +0000 Subject: [PATCH] libraries --- Makefile | 5 ++--- apple1.ino | 14 -------------- io.cpp | 2 +- pia.cpp | 3 +-- 4 files changed, 4 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 17a8420..83d2b15 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ PROCESSOR_FAMILY := lm4f BOARD := lplm4f120h5qr -# watch the CPU execute -#CPPFLAGS := -DCPU_DEBUG -CPPFLAGS := -DHARDWARE_H=\"hw/lm4f-utft-sd.h\" +CPPFLAGS := -DDEBUGGING -DHARDWARE_H=\"hw/lm4f-utft-sd.h\" +LIBRARIES := UTFT SD include energia10.mk diff --git a/apple1.ino b/apple1.ino index 8c4d777..c38c448 100644 --- a/apple1.ino +++ b/apple1.ino @@ -2,20 +2,6 @@ #include #include -#if defined(USE_UTFT) -//#include -#elif defined(USE_ESPI) -#include -#endif - -#if defined(USE_SD) -#include -#elif defined(USE_SPIFFS) -#include -#include -#elif defined(ESP8266) -#include -#endif #if defined(SPIRAM_CS) #include diff --git a/io.cpp b/io.cpp index cc524d6..a85f29a 100644 --- a/io.cpp +++ b/io.cpp @@ -17,7 +17,7 @@ static unsigned r, c; static char screen[ROWS][COLS]; void io::reset() { - TFTDisplay::begin(TFT_BG, TFT_FG, reverse_landscape); + TFTDisplay::begin(TFT_BG, TFT_FG, landscape); clear(); _cy += 2; diff --git a/pia.cpp b/pia.cpp index c0154dd..a5e06fb 100644 --- a/pia.cpp +++ b/pia.cpp @@ -1,5 +1,4 @@ -#include -#include +#include #include #include "pia.h"