2024-02-27 13:37:12 +01:00
|
|
|
configure_file(config.h.in config.h @ONLY)
|
|
|
|
|
|
|
|
# Make sure TinyUSB can find tusb_config.h
|
2024-02-28 12:24:08 +01:00
|
|
|
target_include_directories(raspikeyer PUBLIC
|
2024-02-27 13:37:12 +01:00
|
|
|
${CMAKE_CURRENT_LIST_DIR}
|
|
|
|
)
|
|
|
|
|
|
|
|
# Make sure the compiler can find the
|
|
|
|
# generated config.h
|
2024-02-28 12:24:08 +01:00
|
|
|
target_include_directories(raspikeyer PUBLIC
|
2024-02-27 13:37:12 +01:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
|
2024-03-04 12:05:48 +01:00
|
|
|
pico_generate_pio_header(raspikeyer
|
|
|
|
${CMAKE_CURRENT_LIST_DIR}/tm1637.pio
|
|
|
|
)
|
|
|
|
|
2024-02-28 12:24:08 +01:00
|
|
|
target_sources(raspikeyer PRIVATE
|
|
|
|
raspikeyer.cpp
|
2024-02-09 11:10:06 +01:00
|
|
|
settings.cpp
|
2024-02-09 12:20:30 +01:00
|
|
|
keyer.cpp
|
2024-02-12 15:57:50 +01:00
|
|
|
sidetone.cpp
|
2024-02-23 08:58:48 +01:00
|
|
|
morse.cpp
|
2024-02-27 12:56:32 +01:00
|
|
|
winkeyer.cpp
|
|
|
|
utils.cpp
|
2024-03-04 12:05:48 +01:00
|
|
|
tm1637.cpp
|
2024-02-19 14:23:33 +01:00
|
|
|
usb_descriptors.c
|
2024-02-13 08:24:32 +01:00
|
|
|
)
|