forked from gotaproblem/ST_HD_Emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
executable file
·53 lines (44 loc) · 942 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
cmake_minimum_required ( VERSION 3.2 )
cmake_policy ( VERSION 3.24 )
include ( $ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake )
project ( ATARI_HDC_EMU )
pico_sdk_init ()
add_executable(
${PROJECT_NAME}
sdcard/sd_card.c
sdcard/sd_spi.c
sdcard/spi.c
emusdcard.c
emu.c
mountRAW.c
emurtc.c
emuinit.c
emuscsi.c
emucheckcards.c
shell/emushell.c
shell/uptime.c
shell/datetime.c
shell/cpuclock.c
shell/status.c
shell/emumount.c
shell/cpdisk.c
shell/debug.c
shell/sdtest.c
)
target_link_libraries(
${PROJECT_NAME}
pico_stdlib
pico_multicore
hardware_spi
hardware_rtc
hardware_clocks
hardware_pll
hardware_dma
)
pico_enable_stdio_usb ( ${PROJECT_NAME} 1 )
#pico_add_extra_outputs ( pio_try )
pico_add_extra_outputs(${PROJECT_NAME})
# stop the "Out of Memory" PANIC
add_compile_definitions ( PICO_MALLOC_PANIC=0 )
#pico_set_binary_type ( ${PROJECT_NAME} no_flash )
add_compile_options ( PICO_COPY_TO_RAM )