Merged i2c-helper in Main
This commit is contained in:
19
motor-control/core-xy-firmware/cmake/tmc2209.cmake
Normal file
19
motor-control/core-xy-firmware/cmake/tmc2209.cmake
Normal file
@@ -0,0 +1,19 @@
|
||||
add_library(tmc2209_driver STATIC
|
||||
src/tmc2209/step.cpp
|
||||
src/tmc2209/uart_interface.cpp
|
||||
src/tmc2209/uart_registers.cpp
|
||||
)
|
||||
|
||||
target_include_directories(tmc2209_driver PUBLIC
|
||||
include/tmc2209/
|
||||
build/
|
||||
./
|
||||
)
|
||||
|
||||
target_link_libraries(tmc2209_driver
|
||||
pico_stdlib
|
||||
hardware_uart
|
||||
hardware_pio
|
||||
FreeRTOS-Kernel-Heap4
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user