Generic ST7789 spi device driver library for a st7789 based display.
The user will be responsible for defining some library callbacks e.g. a delay function see: user_defined_callbacks.h for the most up to date reference
Using make you can either build via this repos makefile and import into your own project. Or you can build this library inside your projects.
You must make sure the TOOLSET
make variable is consistent between this
library and your project. make TOOLSET=msp430-elf-
is an example on how
to set the variable. By default it’s set to arm-none-eabi-
. The gcc
toolset is then appended to this variable e.g. gcc, gdb etc.
There are also options to set your CPU/FPU flags too via CPUFLAGS
and
FPUFLAGS
. These must be set to override the STM32G4xx presets. Again, these
are set in the same way as the TOOLSET
example above.
The following tools are needed to build this project
- make
- gcc (for unit tests)