Skip to content

Commit

Permalink
[TEMPLATES] wrong indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbirccyn committed Nov 6, 2023
1 parent e247a43 commit ce5852f
Showing 1 changed file with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,59 +14,59 @@ IMPLEMENTATION stm32f303Coro {
CPU coroLabBoard{
LIBRARY spi {
PATH = "cortex/armv7em/stm32f303/coroLabBoard";
CHEADER = "spi.h";
CFILE = "spi.c";
CHEADER = "spi.h";
CFILE = "spi.c";
};

LIBRARY tftDriver { // low level driver - no text
NEEDS = spi;
PATH = "cortex/armv7em/stm32f303/coroLabBoard/tft/Adafruit-ST7735-Library";
CPPHEADER = "Adafruit_ST7735.h";
CPPHEADER = "Adafruit_ST77xx.h";
CPPFILE = "Adafruit_ST7735.cpp";
CPPFILE = "Adafruit_ST77xx.cpp";
CPPHEADER = "Adafruit_ST7735.h";
CPPHEADER = "Adafruit_ST77xx.h";
CPPFILE = "Adafruit_ST7735.cpp";
CPPFILE = "Adafruit_ST77xx.cpp";
};

LIBRARY coroPrint { //get high level 'print' functions from Arduino
PATH = "cortex/armv7em/stm32f303/coroLabBoard/tft/arduinoCore";
CPPHEADER = "Print.h";
CPPHEADER = "Printable.h";
CPPFILE = "Print.cpp";
CPPHEADER = "Print.h";
CPPHEADER = "Printable.h";
CPPFILE = "Print.cpp";
};

LIBRARY tftFontDriver { //font driver.
NEEDS = tftDriver;
NEEDS = coroPrint;
PATH = "cortex/armv7em/stm32f303/coroLabBoard/tft/Adafruit-GFX-Library";
CPPHEADER = "Adafruit_GFX.h";
CPPHEADER = "Adafruit_SPITFT.h";
CPPHEADER = "Adafruit_SPITFT_Macros.h";
CPPHEADER = "gfxfont.h";
CPPFILE = "Adafruit_GFX.cpp";
CPPFILE = "Adafruit_SPITFT.cpp";
CPPHEADER = "Adafruit_GFX.h";
CPPHEADER = "Adafruit_SPITFT.h";
CPPHEADER = "Adafruit_SPITFT_Macros.h";
CPPHEADER = "gfxfont.h";
CPPFILE = "Adafruit_GFX.cpp";
CPPFILE = "Adafruit_SPITFT.cpp";
};

LIBRARY tft { //all the tft stuff (low level, font, print and Tft object)
NEEDS = tftFontDriver;
PATH = "cortex/armv7em/stm32f303/coroLabBoard/tft";
CPPFILE = "tft.cpp";
CPPHEADER = "tft.h";
CPPFILE = "tft.cpp";
CPPHEADER = "tft.h";
};

LIBRARY IOExpander {
NEEDS = spi;
PATH = "cortex/armv7em/stm32f303/coroLabBoard";
CPPHEADER = "mcp23s17.h";
CPPFILE = "mcp23s17.cpp";
CPPHEADER = "mcp23s17.h";
CPPFILE = "mcp23s17.cpp";
};

// all the stuff for the coro lab board.
LIBRARY coroBoard {
NEEDS = tft;
NEEDS = IOExpander;
PATH = "cortex/armv7em/stm32f303/coroLabBoard";
CPPHEADER = "coroBoard.h";
CPPFILE = "coroBoard.cpp";
CPPHEADER = "coroBoard.h";
CPPFILE = "coroBoard.cpp";
};
};

0 comments on commit ce5852f

Please sign in to comment.