blob: bba2886690d5ec35609028f267ad31c70d12070f (
plain)
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
|
# flashimg/vpu/CMakeLists.txt - Build script for auxiliary vpu.uf2 firmware file
#
# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
if (PICO_PLATFORM STREQUAL "rp2040")
add_executable(vpu
main.c
)
target_link_libraries(vpu
pico_runtime
pico_stdio
libpicosdk
)
pico_minimize_runtime(vpu
INCLUDE PANIC
)
pico_set_binary_type(vpu no_flash)
pico_add_extra_outputs(vpu) # create .map/.bin/.hex/.uf2 files in addition to .elf
pico_set_program_url(vpu "https://git.lukeshu.com/sbc-harness-firmware")
endif()
|