libraries

This commit is contained in:
Stephen Crane 2018-11-16 08:03:43 +00:00
parent b69674899c
commit 4682576976
4 changed files with 4 additions and 20 deletions

View File

@ -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

View File

@ -2,20 +2,6 @@
#include <r65emu.h>
#include <SPI.h>
#if defined(USE_UTFT)
//#include <UTFT.h>
#elif defined(USE_ESPI)
#include <TFT_eSPI.h>
#endif
#if defined(USE_SD)
#include <SD.h>
#elif defined(USE_SPIFFS)
#include <FS.h>
#include <SPIFFS.h>
#elif defined(ESP8266)
#include <FS.h>
#endif
#if defined(SPIRAM_CS)
#include <SpiRAM.h>

2
io.cpp
View File

@ -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;

View File

@ -1,5 +1,4 @@
#include <Stream.h>
#include <stdint.h>
#include <Arduino.h>
#include <memory.h>
#include "pia.h"