summary refs log tree commit diff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2025-05-28 17:58:20 -0500
committerMaxwell Beck <max@rastertail.net>2025-05-28 17:58:20 -0500
commit5660f7984f5aee21dd248bb721987bacde290bc8 (patch)
tree146f9aa2c6b5270b6c6c588f17cac0683048f82d /CMakeLists.txt
parentd48c0668da0f319b57b1fb47f93843a851d49339 (diff)
WIP: USB MSC interface
Real quick and dirty at the moment... but working!
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fdff714..41b1cc6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,11 @@ include(pico_sdk_import.cmake)
 project(pico1541 VERSION 0.1.0)
 pico_sdk_init()
 
-add_executable(pico1541 src/pico1541.c src/6502.c src/6522.c src/drive.c testbin/1541.o testbin/memento_mori.o)
+add_executable(pico1541
+  src/pico1541.c src/6502.c src/6522.c src/drive.c src/usb_descriptors.c
+  src/ff/ff.c src/ff/ffsystem.c
+)
 pico_set_binary_type(pico1541 copy_to_ram)
-target_link_libraries(pico1541 pico_runtime pico_multicore hardware_timer)
-pico_add_extra_outputs(pico1541)
\ No newline at end of file
+target_include_directories(pico1541 PRIVATE src)
+target_link_libraries(pico1541 pico_runtime pico_multicore hardware_timer hardware_flash tinyusb_device tinyusb_board pico_stdlib)
+pico_add_extra_outputs(pico1541)