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