apple2pi/pipico/CMakeLists.txt
Oliver Schmidt 6951ff78d7 Added emulation of Apple2Pi card v6.x based on Raspberry Pi Pico - see https://github.com/a2retrosystems/A2retroNET
The Raspberry Pi Pico is connected to the Linux computer via its USB port, so every Linux computer with USB 1.1 ACM CDC virtual serial port (usually exposed as /dev/ttyACM0) support can be used.

For the Apple2Pi card v6.x see https://youtu.be/WHq4d5E-5p8?t=1083
2022-08-25 10:30:18 +02:00

28 lines
604 B
CMake

set(PROJECT_NAME Apple-II-Pi)
cmake_minimum_required(VERSION 3.12)
include(pico_sdk_import.cmake)
pico_sdk_init()
project(${PROJECT_NAME} C CXX ASM)
add_executable(${PROJECT_NAME})
pico_add_extra_outputs(${PROJECT_NAME})
pico_enable_stdio_uart(${PROJECT_NAME} 0)
pico_enable_stdio_usb(${PROJECT_NAME} 1)
pico_generate_pio_header(${PROJECT_NAME} ${CMAKE_CURRENT_LIST_DIR}/bus.pio)
target_sources(${PROJECT_NAME} PRIVATE
main.c
board.c
incbin.S
)
target_link_libraries(${PROJECT_NAME} PRIVATE
pico_stdlib
pico_multicore
hardware_pio
)