mirror of
https://github.com/dschmenk/apple2pi.git
synced 2024-11-27 17:51:42 +00:00
6951ff78d7
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
28 lines
604 B
CMake
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
|
|
)
|