From f34c32a19e27f6c845160aed6433d3597322fee8 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Tue, 15 Jan 2019 20:37:31 -0800 Subject: [PATCH] add changes to CMakeLists.txt --- components/u8g2/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/u8g2/CMakeLists.txt b/components/u8g2/CMakeLists.txt index e0aece4..7126d0d 100644 --- a/components/u8g2/CMakeLists.txt +++ b/components/u8g2/CMakeLists.txt @@ -87,6 +87,8 @@ set(COMPONENT_SRCS "csrc/u8x8_setup.c" "csrc/u8x8_u16toa.c" "csrc/u8x8_d_a2printer.c" "csrc/u8x8_d_st7565.c") -set(COMPONENT_NAME ".") +set(COMPONENT_NAME "u8g2") -register_component() \ No newline at end of file +register_component() + +component_compile_options(PUBLIC -DU8X8_USE_PINS=1 -DU8X8_WITH_USER_PTR=1) \ No newline at end of file