Added ROM build to CMake.
This commit is contained in:
parent
60622b9097
commit
ba617a5779
|
@ -1,3 +1,3 @@
|
|||
a.out
|
||||
|
||||
src/gpclk
|
||||
pidrive/*.o
|
||||
pidrive/*#062000
|
||||
pipico/build/
|
||||
|
|
|
@ -18,6 +18,9 @@ FetchContent_Declare(a2pico
|
|||
)
|
||||
FetchContent_MakeAvailable(a2pico)
|
||||
|
||||
add_dependencies(${PROJECT_NAME} rom)
|
||||
add_custom_target(rom make -C ../../pidrive)
|
||||
|
||||
target_sources(${PROJECT_NAME} PRIVATE
|
||||
main.c
|
||||
board.c
|
||||
|
|
Loading…
Reference in New Issue