Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# For lsp
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")

set(CMAKE_C_FLAGS_DEBUG "-O0 -g")
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG")

set(NAME st7735_driver)

Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ add_library(${NAME} STATIC
"core/lcd_base.c"
"core/lucida_console_10pt.c"
"core/m3x6_16pt.c"
"core/m5x7_16pt.c"
"st7735/lcd_st7735.c"
)

4 changes: 4 additions & 0 deletions src/core/m3x6_16pt.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0

// This is a rasterized version of the m3x6 font.
// The m3x6 font is created by Daniel Linssen and is free to use with attribution.
// The original TTF font can be found at https://managore.itch.io/m3x6

#ifndef M3X6_16PT_H_
#define M3X6_16PT_H_

Expand Down
Loading