kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Inky 7.3: Rename driver to inky73.
rodzic
0067b101a0
commit
93979cb735
|
@ -41,4 +41,4 @@ add_subdirectory(pms5003)
|
|||
add_subdirectory(sh1107)
|
||||
add_subdirectory(st7567)
|
||||
add_subdirectory(psram_display)
|
||||
add_subdirectory(uc8159_inky7)
|
||||
add_subdirectory(inky73)
|
|
@ -0,0 +1 @@
|
|||
include(inky73.cmake)
|
|
@ -1,4 +1,4 @@
|
|||
set(DRIVER_NAME uc8159_inky7)
|
||||
set(DRIVER_NAME inky73)
|
||||
add_library(${DRIVER_NAME} INTERFACE)
|
||||
|
||||
target_sources(${DRIVER_NAME} INTERFACE
|
|
@ -1,4 +1,4 @@
|
|||
#include "uc8159_inky7.hpp"
|
||||
#include "inky73.hpp"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <math.h>
|
|
@ -1 +0,0 @@
|
|||
include(uc8159_inky7.cmake)
|
|
@ -6,7 +6,7 @@ add_executable(
|
|||
)
|
||||
|
||||
# Pull in pico libraries that we need
|
||||
target_link_libraries(${OUTPUT_NAME} pico_stdlib psram_display uc8159_inky7 inky_frame hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
|
||||
target_link_libraries(${OUTPUT_NAME} pico_stdlib psram_display inky73 inky_frame hardware_pwm hardware_spi hardware_i2c hardware_rtc fatfs sdcard pico_graphics)
|
||||
|
||||
pico_enable_stdio_usb(${OUTPUT_NAME} 0)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include "drivers/psram_display/psram_display.hpp"
|
||||
#include "drivers/uc8159_inky7/uc8159_inky7.hpp"
|
||||
#include "drivers/inky73/inky73.hpp"
|
||||
|
||||
using namespace pimoroni;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue